correct url
This commit is contained in:
parent
8481d32dd0
commit
20e0b569e9
@ -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/' },
|
||||
];
|
||||
---
|
||||
|
||||
|
||||
@ -62,7 +62,7 @@ const allPerennes = getMockProjects('perenne');
|
||||
const base = project!.category === 'perenne' ? '/realisations-perennes' : '/creations-evenement';
|
||||
return (
|
||||
<a
|
||||
href={`${base}/${project!.slug.current}`}
|
||||
href={`${base}/${project!.slug.current}/`}
|
||||
class="feat__item rv"
|
||||
style={`--d:${i + 1}`}
|
||||
>
|
||||
@ -89,7 +89,7 @@ const allPerennes = getMockProjects('perenne');
|
||||
|
||||
<div class="idx__list" id="project-index">
|
||||
{allEvents.map((p, i) => {
|
||||
const href = `/creations-evenement/${p.slug.current}`;
|
||||
const href = `/creations-evenement/${p.slug.current}/`;
|
||||
return (
|
||||
<a
|
||||
href={href}
|
||||
@ -110,7 +110,7 @@ const allPerennes = getMockProjects('perenne');
|
||||
|
||||
<div class="idx__list">
|
||||
{allPerennes.map((p, i) => {
|
||||
const href = `/realisations-perennes/${p.slug.current}`;
|
||||
const href = `/realisations-perennes/${p.slug.current}/`;
|
||||
return (
|
||||
<a
|
||||
href={href}
|
||||
@ -137,7 +137,7 @@ const allPerennes = getMockProjects('perenne');
|
||||
Du siège social au lancement produit,
|
||||
chaque projet naît d'une écoute attentive et se construit dans le souci du détail.
|
||||
</p>
|
||||
<a href="/processus" class="about__link">
|
||||
<a href="/processus/" class="about__link">
|
||||
découvrir le processus
|
||||
<svg width="14" height="14" viewBox="0 0 16 16" fill="none">
|
||||
<path d="M3 8H13M13 8L9 4M13 8L9 12" stroke="currentColor" stroke-width="1"/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user