From 2f88f9a201a3dd3914ee50cb11ecedb441bf191b Mon Sep 17 00:00:00 2001 From: Jalil Arfaoui Date: Mon, 11 Aug 2025 19:31:56 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20restructure=20la=20page=20=C3=A9v=C3=A9?= =?UTF-8?q?nement=20avec=20un=20nouveau=20layout=20et=20am=C3=A9liore=20le?= =?UTF-8?q?s=20styles=20pour=20une=20meilleure=20lisibilit=C3=A9=20et=20ad?= =?UTF-8?q?aptabilit=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/evenements/[slug].astro | 225 ++++++++++++++++++++++-------- 1 file changed, 167 insertions(+), 58 deletions(-) diff --git a/src/pages/evenements/[slug].astro b/src/pages/evenements/[slug].astro index 0d11bce..0dfc8e4 100644 --- a/src/pages/evenements/[slug].astro +++ b/src/pages/evenements/[slug].astro @@ -35,32 +35,49 @@ const Wrapper = lieuUrl ? 'a' : 'div' )} -

{nom}

-
- {affiche && `Affiche} -
- -
+
+

{nom}

+
+ {date ? new Date(date as string).toLocaleDateString("fr-FR") : ""} + {lieu && ( + à {lieu} -
- { - description &&
- } - - - {album && ( -
-
- -
+ + )} +
+
+ +
+
+ {affiche && ( +
+ `Affiche
)} + +
+ {description && ( +
+

Le spectacle

+
+
+ )} + + {album && ( + + )} +
@@ -92,42 +109,110 @@ const Wrapper = lieuUrl ? 'a' : 'div'