Skip to content

Commit 7957ca7

Browse files
committed
Website static build
1 parent cf634d6 commit 7957ca7

File tree

5 files changed

+15
-3
lines changed

5 files changed

+15
-3
lines changed

website/package-lock.json

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
},
1414
"devDependencies": {
1515
"@sveltejs/adapter-auto": "^3.0.0",
16+
"@sveltejs/adapter-static": "^3.0.1",
1617
"@sveltejs/kit": "^2.0.0",
1718
"@sveltejs/vite-plugin-svelte": "^3.0.0",
1819
"@types/ua-parser-js": "^0.7.36",
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export const prerender = true

website/src/routes/header.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
<nav class="flex flex-wrap items-center justify-center text-base md:ml-auto md:mr-auto">
1414
<a href="/" class="mr-5 text-2xl duration-200 ease-in hover:text-gray-300">Home</a>
1515

16-
<a href="#features" class="mr-5 text-2xl duration-200 ease-in hover:text-gray-300">Features</a
16+
<a href="/#features" class="mr-5 text-2xl duration-200 ease-in hover:text-gray-300">Features</a
1717
>
1818

19-
<a href="#downloads" class="mr-5 text-2xl duration-200 ease-in hover:text-gray-300">
19+
<a href="/#downloads" class="mr-5 text-2xl duration-200 ease-in hover:text-gray-300">
2020
Downloads
2121
</a>
2222
</nav>

website/svelte.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import adapter from "@sveltejs/adapter-auto"
1+
import adapter from "@sveltejs/adapter-static"
22
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte"
33
import { fileURLToPath } from "url"
44
import { dirname, resolve } from "path"

0 commit comments

Comments
 (0)