mirror of
https://github.com/bartvdbraak/hellob.art.git
synced 2025-06-29 07:49:10 +00:00
feat: add hamburger menu navigation
This commit is contained in:
parent
3fbf85db06
commit
8b87aefb7f
4 changed files with 40 additions and 20 deletions
|
@ -2,7 +2,7 @@
|
|||
import '../theme.postcss';
|
||||
import '@skeletonlabs/skeleton/styles/skeleton.css';
|
||||
import '../app.postcss';
|
||||
import { AppShell } from '@skeletonlabs/skeleton';
|
||||
import { AppShell, Drawer, drawerStore } from '@skeletonlabs/skeleton';
|
||||
import Footer from '../lib/components/Footer.svelte';
|
||||
import Navigation from '../lib/components/Navigation.svelte';
|
||||
import Header from '$lib/components/Header.svelte';
|
||||
|
@ -15,7 +15,11 @@
|
|||
];
|
||||
</script>
|
||||
|
||||
<AppShell>
|
||||
<Drawer>
|
||||
<Navigation {routes} />
|
||||
</Drawer>
|
||||
|
||||
<AppShell slotSidebarLeft="w-0 md:w-52">
|
||||
<svelte:fragment slot="header">
|
||||
<Header />
|
||||
</svelte:fragment>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue