diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-13 09:38:16 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-13 09:38:16 +0200 |
| commit | 007384be67559e1848ee0a8a1726c6b0fa39a221 (patch) | |
| tree | 6b11cc43bd00967564c5bc74aed60168331f225b /src/routes/+layout.svelte | |
| parent | b30150a8feb960c0667eaff6cb105dcc55b65744 (diff) | |
feat(auth): add persistent family login
Diffstat (limited to 'src/routes/+layout.svelte')
| -rw-r--r-- | src/routes/+layout.svelte | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index a168c65..b2803cc 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,5 +1,6 @@ <script> import '../app.css'; + import { page } from '$app/stores'; import Nav from '$lib/components/Nav.svelte'; let { children } = $props(); @@ -10,7 +11,9 @@ </svelte:head> <div class="app"> - <Nav /> + {#if $page.url.pathname !== '/login'} + <Nav /> + {/if} {@render children()} </div> |
