Skip to content

Commit

Permalink
Website static build
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed Apr 1, 2024
1 parent cf634d6 commit 7957ca7
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
10 changes: 10 additions & 0 deletions website/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/adapter-static": "^3.0.1",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"@types/ua-parser-js": "^0.7.36",
Expand Down
1 change: 1 addition & 0 deletions website/src/routes/+layout.server.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const prerender = true
4 changes: 2 additions & 2 deletions website/src/routes/header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
<nav class="flex flex-wrap items-center justify-center text-base md:ml-auto md:mr-auto">
<a href="/" class="mr-5 text-2xl duration-200 ease-in hover:text-gray-300">Home</a>

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

<a href="#downloads" class="mr-5 text-2xl duration-200 ease-in hover:text-gray-300">
<a href="/#downloads" class="mr-5 text-2xl duration-200 ease-in hover:text-gray-300">
Downloads
</a>
</nav>
Expand Down
2 changes: 1 addition & 1 deletion website/svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import adapter from "@sveltejs/adapter-auto"
import adapter from "@sveltejs/adapter-static"
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte"
import { fileURLToPath } from "url"
import { dirname, resolve } from "path"
Expand Down

0 comments on commit 7957ca7

Please sign in to comment.