summaryrefslogtreecommitdiff
path: root/hi-ui/src/routes/+layout.svelte
diff options
context:
space:
mode:
authorKit La Touche <kit@transneptune.net>2024-10-08 22:58:17 -0400
committerKit La Touche <kit@transneptune.net>2024-10-08 22:58:17 -0400
commitdd62b823e01934a0f841256fdb17b551091896bf (patch)
treeb8494b134cc32d62b431eb97be19e23fd90635e0 /hi-ui/src/routes/+layout.svelte
parent7f0ce0c639e936db0f5f3fabcbe2d279261d0c0b (diff)
All kinds of styling
Diffstat (limited to 'hi-ui/src/routes/+layout.svelte')
-rw-r--r--hi-ui/src/routes/+layout.svelte14
1 files changed, 13 insertions, 1 deletions
diff --git a/hi-ui/src/routes/+layout.svelte b/hi-ui/src/routes/+layout.svelte
index f54f3bf..28ae4ec 100644
--- a/hi-ui/src/routes/+layout.svelte
+++ b/hi-ui/src/routes/+layout.svelte
@@ -1,9 +1,21 @@
<script>
+ import { AppBar } from '@skeletonlabs/skeleton';
import "../app.css";
+
+ import { currentUser } from '../store';
+ import LogOut from '../lib/LogOut.svelte';
</script>
<div id="app">
- <h1>hi</h1>
+ <AppBar>
+ <svelte:fragment slot="lead">🌳</svelte:fragment>
+ understory
+ <svelte:fragment slot="trail">
+ {#if $currentUser}
+ <LogOut />
+ {/if}
+ </svelte:fragment>
+ </AppBar>
<slot />
</div>