change slugs

This commit is contained in:
ordinarthur 2026-04-05 17:34:55 +02:00
parent 20e0b569e9
commit 7942ba3ddd
4 changed files with 4 additions and 4 deletions

View File

@ -64,7 +64,7 @@ const date = new Date(project.date).toLocaleDateString('fr-FR', { year: 'numeric
<!-- Nav -->
<section class="pnav">
<div class="wrap">
<a href="/creations-evenement" class="pnav__link">
<a href="/creations-evenement/" class="pnav__link">
<svg width="14" height="14" viewBox="0 0 16 16" fill="none">
<path d="M13 8H3M3 8L7 4M3 8L7 12" stroke="currentColor" stroke-width="1"/>
</svg>

View File

@ -15,7 +15,7 @@ const projects = getMockProjects('event');
<div class="listing__grid">
{projects.map((project, i) => {
const href = `/creations-evenement/${project.slug.current}`;
const href = `/creations-evenement/${project.slug.current}/`;
// Every 3rd item is full-width
const isFull = i % 3 === 0;
return (

View File

@ -59,7 +59,7 @@ const date = new Date(project.date).toLocaleDateString('fr-FR', { year: 'numeric
<section class="pnav">
<div class="wrap">
<a href="/realisations-perennes" class="pnav__link">
<a href="/realisations-perennes/" class="pnav__link">
<svg width="14" height="14" viewBox="0 0 16 16" fill="none">
<path d="M13 8H3M3 8L7 4M3 8L7 12" stroke="currentColor" stroke-width="1"/>
</svg>

View File

@ -15,7 +15,7 @@ const projects = getMockProjects('perenne');
<div class="listing__grid">
{projects.map((project, i) => {
const href = `/realisations-perennes/${project.slug.current}`;
const href = `/realisations-perennes/${project.slug.current}/`;
return (
<a
href={href}