diff --git a/src/routes/(app)/_components/layout/navbar.stories.ts b/src/routes/(app)/_components/layout/navbar.stories.ts index 0824646..70d37e5 100644 --- a/src/routes/(app)/_components/layout/navbar.stories.ts +++ b/src/routes/(app)/_components/layout/navbar.stories.ts @@ -4,8 +4,17 @@ export default { title: 'Molecules/Layout/Navbar', component: Navbar, parameters: { - layout: 'fullscreen' + layout: 'fullscreen', + sveltekit_experimental: { + stores: { + page: { + url: { + pathname: '/contacts' + } + } + } + } } }; -export const DesktopNavbar = {}; +export const DesktopNavbar = {}; \ No newline at end of file diff --git a/src/routes/(app)/_components/layout/navbar.svelte b/src/routes/(app)/_components/layout/navbar.svelte index 336777d..4e00cbb 100644 --- a/src/routes/(app)/_components/layout/navbar.svelte +++ b/src/routes/(app)/_components/layout/navbar.svelte @@ -1,3 +1,17 @@ + + - Equipa - Projetos - Eventos - Contactos + {#each links as { href, label, pageComp }} + + {label} + + {/each} + +
{label}