From 101da328ff9776e12e8f48a40b37e8d646c53991 Mon Sep 17 00:00:00 2001 From: Jordan Shatford Date: Wed, 27 Sep 2023 14:58:08 +1000 Subject: [PATCH] feat(web): improved loading screen when setting up session Signed-off-by: Jordan Shatford --- apps/web/src/lib/components/Loading.svelte | 16 +++------ apps/web/src/routes/+layout.svelte | 40 ++++++++++++---------- 2 files changed, 26 insertions(+), 30 deletions(-) diff --git a/apps/web/src/lib/components/Loading.svelte b/apps/web/src/lib/components/Loading.svelte index 8084e3cf..54c86a60 100644 --- a/apps/web/src/lib/components/Loading.svelte +++ b/apps/web/src/lib/components/Loading.svelte @@ -2,15 +2,9 @@ import { Icon, LoaderIcon } from '@yd/ui'; -
-
-
-
-
- - Logo -
-
-
-
+
+ +
Setting up session...
diff --git a/apps/web/src/routes/+layout.svelte b/apps/web/src/routes/+layout.svelte index e6674308..b07471f2 100644 --- a/apps/web/src/routes/+layout.svelte +++ b/apps/web/src/routes/+layout.svelte @@ -7,9 +7,9 @@ + + {config.about.title} + +
- {#if $session} -
- - - - -
+
+ + + + +
+ {#if $session} -
-
- {:else} - - {/if} + {:else} + + {/if} +
+