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