diff --git a/frontend/.npmrc b/frontend/.npmrc deleted file mode 100644 index 0c05da4..0000000 --- a/frontend/.npmrc +++ /dev/null @@ -1,2 +0,0 @@ -engine-strict=true -resolution-mode=highest diff --git a/frontend/src/lib/components/Splash.svelte b/frontend/src/lib/components/Splash.svelte index 282e5b4..ba83e7c 100644 --- a/frontend/src/lib/components/Splash.svelte +++ b/frontend/src/lib/components/Splash.svelte @@ -3,10 +3,9 @@ import { fade } from 'svelte/transition'; let visible = true; - let time = 0; + let time = 1000; onMount(() => { - time = 1000; setTimeout(() => { visible = false; }, time); @@ -14,15 +13,31 @@ {#if visible} - splash + splash +
+ +
{/if} diff --git a/frontend/src/routes/+layout.server.ts b/frontend/src/routes/+layout.server.ts index 52892c8..5b66645 100644 --- a/frontend/src/routes/+layout.server.ts +++ b/frontend/src/routes/+layout.server.ts @@ -1,3 +1,3 @@ -export const prerender = false; -export const ssr = false; +export const prerender = true; +export const ssr = true; export const csr = true; diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index a07631e..8a14c39 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -17,6 +17,12 @@ const config = { precompress: false, }) }, + server: { + fs: { + // Allow serving files from one level up to the project root + allow: ['..'], + }, + }, }; export default config;