diff --git a/frontend/src/app.html b/frontend/src/app.html index 4d9426c2..eb5e0e1f 100644 --- a/frontend/src/app.html +++ b/frontend/src/app.html @@ -23,9 +23,53 @@ } })(); + + %sveltekit.head% +
+
+
%sveltekit.body%
diff --git a/frontend/src/routes/+layout.svelte b/frontend/src/routes/+layout.svelte index 7f037227..68c3b8c5 100644 --- a/frontend/src/routes/+layout.svelte +++ b/frontend/src/routes/+layout.svelte @@ -21,6 +21,11 @@ let ready = $state(false); onMount(async () => { + // The instant HTML boot splash has done its job — the app is mounted, so + // the route (login renders immediately; protected routes show their own + // loading state) is already in the DOM behind it. + document.getElementById('app-splash')?.remove(); + // Redirect old `#/...` bookmarks to the new path before anything else. if (typeof location !== 'undefined' && location.hash.startsWith('#/')) { const mapped = hashUrlToPath(location.hash);