diff --git a/src/components/navigation/Header.svelte b/src/components/navigation/Header.svelte index 30c6083..7ef1bc5 100644 --- a/src/components/navigation/Header.svelte +++ b/src/components/navigation/Header.svelte @@ -6,37 +6,79 @@ } from '$env/static/public'; import ThemeSwitcher from '$lib/ThemeSwitch/ThemeSwitcher.svelte'; + import MobileMenu from './MobileMenu.svelte'; + + let isMobileMenuOpen = false; + let headerLinks = null; if (PUBLIC_NAV_BAR_LINKS) { headerLinks = JSON.parse(PUBLIC_NAV_BAR_LINKS); } + + function toggleNavbar() { + isMobileMenuOpen = !isMobileMenuOpen; + }