offline warning

This commit is contained in:
Danny Morabito 2025-07-17 18:14:47 +02:00
parent ec693b9c3f
commit e2c5eab08b
Signed by: dannym
GPG key ID: 7CC8056A5A04557E
3 changed files with 99 additions and 1 deletions

View file

@ -94,7 +94,9 @@
</svelte:head>
<div class="retro-shader">
{#if showInstallPrompt && deferredPrompt}
{#if !$online}
<Offline />
{:else if showInstallPrompt && deferredPrompt}
<InstallPrompt onInstall={handleInstallClick} />
{:else if showSplash}
<SplashScreen closing={closingSplash} />