diff options
| author | Fuwn <[email protected]> | 2024-01-26 06:12:23 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-01-26 06:12:23 -0800 |
| commit | 3a0c9fb3a75f37d92f076d37f0a8196f6516e407 (patch) | |
| tree | e13e03f11355a2aaac6ce6652bed93279f1d2540 /src/routes | |
| parent | feat(landing): preview images (diff) | |
| download | due.moe-3a0c9fb3a75f37d92f076d37f0a8196f6516e407.tar.xz due.moe-3a0c9fb3a75f37d92f076d37f0a8196f6516e407.zip | |
feat(layout): panel loading if not settings
Diffstat (limited to 'src/routes')
| -rw-r--r-- | src/routes/+layout.svelte | 4 |
1 files changed, 3 insertions, 1 deletions
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> |