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'