From fe539d4f4ab75e6ae3bcc49dc42cefddb882e111 Mon Sep 17 00:00:00 2001 From: Jalil Arfaoui Date: Mon, 9 Mar 2026 22:24:28 +0100 Subject: [PATCH] =?UTF-8?q?Revoir=20le=20layout=20mobile=20de=20l'agenda?= =?UTF-8?q?=20:=20date=20et=20lieu=20lisibles,=20affiche=20en=20rep=C3=A8r?= =?UTF-8?q?e=20visuel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/agenda/index.astro | 152 ++++++++++++++++++++++++----------- 1 file changed, 104 insertions(+), 48 deletions(-) diff --git a/src/pages/agenda/index.astro b/src/pages/agenda/index.astro index e8e3da6..fc32b07 100644 --- a/src/pages/agenda/index.astro +++ b/src/pages/agenda/index.astro @@ -32,64 +32,120 @@ const now = new Date(); return (
- -
- - {dateObj.toLocaleString('fr-FR', { month: 'short' })} - - - {dateObj.getDate()} - - - {dateObj.getFullYear()} - -
- - -
-
- {isPast && Passé} + {/* Mobile */} +
+ {/* Date — info principale */} +
+ + {dateObj.toLocaleString('fr-FR', { month: 'short' })} + + + {dateObj.getDate()} + + + {dateObj.getFullYear()} +
-

{spectacle?.title}

-
- - {event.location} -
-
- - {event.bookingLink && ( - - )} + )} +
- - {spectacle?.affiche && ( - - {`Affiche - - )} + {/* Desktop: ligne horizontale */} +
); })}