diff --git a/components/EventsPageSection.tsx b/components/EventsPageSection.tsx index 63605a3..ca0c994 100644 --- a/components/EventsPageSection.tsx +++ b/components/EventsPageSection.tsx @@ -324,6 +324,11 @@ export default function EventsPageSection({ return (
{ + if (hasEvents && dayEvents.length > 0) { + setSelectedEvent(dayEvents[0]); + } + }} className={`aspect-square border rounded flex flex-col items-center justify-center relative ${ isToday ? "bg-pixel-gold/30 border-pixel-gold/70 border-2" @@ -338,6 +343,10 @@ export default function EventsPageSection({ : hasUpcoming ? "ring-green-500/50" : "" + } ${ + hasEvents + ? "cursor-pointer hover:opacity-80 transition-opacity" + : "" }`} >
+ {/*

Restez informé de nos derniers événements et annonces

-
+
*/}
{/* Event Modal */} diff --git a/components/Navigation.tsx b/components/Navigation.tsx index 3c78b80..2a9106b 100644 --- a/components/Navigation.tsx +++ b/components/Navigation.tsx @@ -44,7 +44,10 @@ export default function Navigation({