diff --git a/packages/web-client/src/app.html b/packages/web-client/src/app.html index 0d93d5317..7b138bcce 100644 --- a/packages/web-client/src/app.html +++ b/packages/web-client/src/app.html @@ -1,4 +1,4 @@ - + @@ -20,6 +20,15 @@ data-sveltekit-preload-data="hover" style="overflow: hidden; background-color: black" class="h-screen"> + + + + + + + +
%sveltekit.body%
diff --git a/packages/web-client/src/components/layout/SplashScreen.svelte b/packages/web-client/src/components/layout/SplashScreen.svelte index 5d57f45be..dcae977d7 100644 --- a/packages/web-client/src/components/layout/SplashScreen.svelte +++ b/packages/web-client/src/components/layout/SplashScreen.svelte @@ -1,19 +1,8 @@ - -{#if $splashScreenPopup.show} - - - - -{/if} diff --git a/packages/web-client/src/stores/popups.ts b/packages/web-client/src/stores/popups.ts index fa43e2523..9db29b0f4 100644 --- a/packages/web-client/src/stores/popups.ts +++ b/packages/web-client/src/stores/popups.ts @@ -23,6 +23,10 @@ export function hideSplashScreen(timeoutMs: number = 2000) { if (get(splashScreenPopup).shown) return if (splashScreenTimeOut) clearTimeout(splashScreenTimeOut) splashScreenTimeOut = setTimeout(() => { + const el = document.getElementsByTagName('splash-screen') + if (el && el[0]) { + el[0].remove() + } splashScreenPopup.set({ show: false, shown: true }) }, timeoutMs) }