change slugs
This commit is contained in:
parent
20e0b569e9
commit
7942ba3ddd
@ -64,7 +64,7 @@ const date = new Date(project.date).toLocaleDateString('fr-FR', { year: 'numeric
|
|||||||
<!-- Nav -->
|
<!-- Nav -->
|
||||||
<section class="pnav">
|
<section class="pnav">
|
||||||
<div class="wrap">
|
<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">
|
<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"/>
|
<path d="M13 8H3M3 8L7 4M3 8L7 12" stroke="currentColor" stroke-width="1"/>
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
@ -15,7 +15,7 @@ const projects = getMockProjects('event');
|
|||||||
|
|
||||||
<div class="listing__grid">
|
<div class="listing__grid">
|
||||||
{projects.map((project, i) => {
|
{projects.map((project, i) => {
|
||||||
const href = `/creations-evenement/${project.slug.current}`;
|
const href = `/creations-evenement/${project.slug.current}/`;
|
||||||
// Every 3rd item is full-width
|
// Every 3rd item is full-width
|
||||||
const isFull = i % 3 === 0;
|
const isFull = i % 3 === 0;
|
||||||
return (
|
return (
|
||||||
|
|||||||
@ -59,7 +59,7 @@ const date = new Date(project.date).toLocaleDateString('fr-FR', { year: 'numeric
|
|||||||
|
|
||||||
<section class="pnav">
|
<section class="pnav">
|
||||||
<div class="wrap">
|
<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">
|
<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"/>
|
<path d="M13 8H3M3 8L7 4M3 8L7 12" stroke="currentColor" stroke-width="1"/>
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
@ -15,7 +15,7 @@ const projects = getMockProjects('perenne');
|
|||||||
|
|
||||||
<div class="listing__grid">
|
<div class="listing__grid">
|
||||||
{projects.map((project, i) => {
|
{projects.map((project, i) => {
|
||||||
const href = `/realisations-perennes/${project.slug.current}`;
|
const href = `/realisations-perennes/${project.slug.current}/`;
|
||||||
return (
|
return (
|
||||||
<a
|
<a
|
||||||
href={href}
|
href={href}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user