diff --git a/src/components/Header.astro b/src/components/Header.astro index 4e5829a..7b5001c 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -2,10 +2,10 @@ const currentPath = Astro.url.pathname; const isHome = false; // hero is now white bg, no dark variant needed const nav = [ - { label: 'événement', href: '/creations-evenement' }, - { label: 'pérenne', href: '/realisations-perennes' }, - { label: 'processus', href: '/processus' }, - { label: 'contact', href: '/contact' }, + { label: 'événement', href: '/creations-evenement/' }, + { label: 'pérenne', href: '/realisations-perennes/' }, + { label: 'processus', href: '/processus/' }, + { label: 'contact', href: '/contact/' }, ]; --- diff --git a/src/pages/index.astro b/src/pages/index.astro index 2617f48..77a03b1 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -62,7 +62,7 @@ const allPerennes = getMockProjects('perenne'); const base = project!.category === 'perenne' ? '/realisations-perennes' : '/creations-evenement'; return ( @@ -89,7 +89,7 @@ const allPerennes = getMockProjects('perenne');
{allEvents.map((p, i) => { - const href = `/creations-evenement/${p.slug.current}`; + const href = `/creations-evenement/${p.slug.current}/`; return ( {allPerennes.map((p, i) => { - const href = `/realisations-perennes/${p.slug.current}`; + const href = `/realisations-perennes/${p.slug.current}/`; return ( - + découvrir le processus