From 3a0c9fb3a75f37d92f076d37f0a8196f6516e407 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Fri, 26 Jan 2024 06:12:23 -0800
Subject: feat(layout): panel loading if not settings

---
 src/routes/+layout.svelte | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'src/routes/+layout.svelte')

diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index 21cb38e3..48ee42b9 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -115,8 +115,10 @@
 	<Notifications item={Notification} zIndex={5000}>
 		{#if $userIdentity.id !== -1}
 			<Root {data} {way}><slot /></Root>
-		{:else}
+		{:else if data.url === '/settings'}
 			<Skeleton />
+		{:else}
+			<Skeleton grid={true} width="50%" count={2} height="25vh" />
 		{/if}
 	</Notifications>
 </div>
-- 
cgit v1.2.3

