refactor: re-implment navbar and logo

This commit is contained in:
Bart van der Braak 2023-11-20 04:24:11 +01:00
parent 2d7bc6793e
commit 50b54a37d5
6 changed files with 41 additions and 26 deletions

View file

@ -5,6 +5,7 @@
import Footer from '../lib/components/Footer.svelte';
import Navigation from '../lib/components/Navigation.svelte';
import Header from '$lib/components/Header.svelte';
import { fade } from 'svelte/transition';
export let data;
@ -40,9 +41,8 @@
}
</script>
<Drawer width="w-[280px] md:w-[200px]" position="right" bgDrawer="bg-black/30 backdrop-blur">
<div class="p-5 w-full mx-auto">
<h2 class="text-3xl font-bold mb-12 z-10 text-center">Pages</h2>
<Drawer width="w-full" position="top" bgDrawer="bg-black/20 backdrop-blur">
<div class="p-5 w-full align-center">
<Navigation {routes} />
</div>
</Drawer>