aboutsummaryrefslogtreecommitdiff
path: root/src/routes
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/+layout.svelte24
1 files changed, 13 insertions, 11 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index 059d1e60..4709a975 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -140,17 +140,19 @@
<p />
<Notifications item={Notification} zIndex={5000}>
- {#if $userIdentity.id !== -1}
- <Root {data} {way}><slot /></Root>
- {:else if data.url === '/settings'}
- <Skeleton />
- {:else if data.url === '/tools'}
- <Skeleton count={1} height="75vh" />
- {:else if data.url === '/schedule'}
- <Skeleton grid={true} width="50%" count={2} height="25vh" />
- {:else}
- <Skeleton grid={true} width="50%" count={2} height="25vh" />
- {/if}
+ <Root {data} {way}>
+ {#if $userIdentity.id !== -1}
+ <slot />
+ {:else if data.url === '/settings'}
+ <Skeleton />
+ {:else if data.url === '/tools'}
+ <Skeleton count={1} height="75vh" />
+ {:else if data.url === '/schedule'}
+ <Skeleton grid={true} width="50%" count={2} height="25vh" />
+ {:else}
+ <Skeleton grid={true} width="50%" count={2} height="25vh" />
+ {/if}
+ </Root>
</Notifications>
</div>