|
10 | 10 | import { PUBLIC_GOOGLE_SITE_TAG } from '$env/static/public'; |
11 | 11 | import type { LayoutData } from './$types'; |
12 | 12 | import { TolgeeProvider } from '@tolgee/svelte'; |
13 | | - import { initializeStores, AppShell, Modal, storePopup, Drawer, Toast } from '@skeletonlabs/skeleton'; |
| 13 | + import { initializeStores, Modal, storePopup, Drawer, Toast } from '@skeletonlabs/skeleton'; |
14 | 14 | import TopBar from '$lib/components/general/TopBar.svelte'; |
15 | 15 | import './_global.postcss'; |
16 | 16 | import { computePosition, autoUpdate, offset, shift, flip, arrow } from '@floating-ui/dom'; |
|
120 | 120 | <Sidebar bind:accessibility /> |
121 | 121 | </Drawer> |
122 | 122 |
|
123 | | - <AppShell> |
124 | | - <svelte:fragment slot="header"> |
| 123 | + <div class="grid grid-rows-[auto_1fr_auto]"> |
| 124 | + <header class="sticky top-0 z-10"> |
125 | 125 | <TopBar /> |
126 | | - </svelte:fragment> |
127 | | - |
128 | | - <svelte:fragment slot="sidebarLeft"> |
129 | | - <aside class="hidden h-full xl:block"> |
| 126 | + </header> |
| 127 | + <div class="grid grid-cols-1 md:grid-cols-[auto_1fr]"> |
| 128 | + <aside class="sticky top-[calc(72px)] col-span-1 hidden h-[calc(100vh-72px)] xl:block"> |
130 | 129 | <Sidebar bind:accessibility /> |
131 | 130 | </aside> |
132 | | - </svelte:fragment> |
133 | | - |
134 | | - <svelte:fragment slot="pageHeader"> |
135 | | - <AnnouncementHeader /> |
136 | | - </svelte:fragment> |
137 | | - |
138 | | - <div class="app-content w-full overflow-auto"> |
139 | | - <main class="main-content min-h-100% xl:py-6 xl:pr-3"> |
| 131 | + <main class="space-y-4 p-4"> |
| 132 | + <AnnouncementHeader /> |
140 | 133 | <slot /> |
141 | 134 | </main> |
142 | 135 | </div> |
143 | | - </AppShell> |
| 136 | + </div> |
144 | 137 |
|
145 | 138 | <LoginDialog /> |
146 | 139 | </TolgeeProvider> |
0 commit comments