chore: ported over basics

This commit is contained in:
Youwes09
2026-03-18 23:05:32 -05:00
parent 697116b630
commit 73b73e85d7
11 changed files with 2086 additions and 35 deletions
+3 -3
View File
@@ -14,7 +14,7 @@
import Settings from "./components/settings/Settings.svelte";
import TitleBar from "./components/layout/TitleBar.svelte";
import Toaster from "./components/layout/Toaster.svelte";
import SplashScreen, { EXIT_MS } from "./components/layout/SplashScreen.svelte";
import SplashScreen from "./components/layout/SplashScreen.svelte";
const MAX_ATTEMPTS = 30;
@@ -128,7 +128,7 @@
{#if devSplash}
<SplashScreen mode="idle" showFps showCards={$settings.splashCards ?? true}
onDismiss={() => setTimeout(() => devSplash = false, EXIT_MS + 20)} />
onDismiss={() => setTimeout(() => devSplash = false, 340)} />
{:else if !appReady}
<SplashScreen mode="loading" ringFull={serverProbeOk} {failed}
showCards={$settings.splashCards ?? true}
@@ -138,7 +138,7 @@
<div class="root">
{#if idle && !$activeChapter}
<SplashScreen mode="idle" showCards={$settings.splashCards ?? true}
onDismiss={() => setTimeout(() => idle = false, EXIT_MS + 20)} />
onDismiss={() => setTimeout(() => idle = false, 340)} />
{/if}
{#if !$activeChapter}<TitleBar />{/if}
<div class="content">