Rework navigation

This commit is contained in:
Jon Staab
2024-08-16 11:12:14 -07:00
parent bd8fcd3264
commit 6796f1c107
18 changed files with 182 additions and 166 deletions
+1 -5
View File
@@ -8,7 +8,6 @@
import Toast from "@app/components/Toast.svelte"
import Landing from "@app/components/Landing.svelte"
import PrimaryNav from "@app/components/PrimaryNav.svelte"
import SecondaryNav from "@app/components/SecondaryNav.svelte"
import {modals, clearModal} from "@app/modal"
import {theme} from "@app/theme"
import {session, sessions, pk, repository} from "@app/base"
@@ -65,10 +64,7 @@
<div data-theme={$theme}>
<div class="flex h-screen">
<PrimaryNav />
<SecondaryNav />
<div class="max-h-screen flex-grow overflow-auto bg-base-200">
<slot />
</div>
<slot />
</div>
<dialog bind:this={dialog} class="modal modal-bottom !z-modal sm:modal-middle">
{#if prev}