From 229f020746f7cc373bd6a360cd56d55fa88fcb46 Mon Sep 17 00:00:00 2001 From: Ruben Olano Date: Thu, 21 Nov 2024 19:40:51 -0600 Subject: [PATCH] Finally get cards to be full width --- src/app/events/eventView.tsx | 2 +- src/components/events/EventCard.tsx | 41 ++++++++++++++--------------- 2 files changed, 21 insertions(+), 22 deletions(-) diff --git a/src/app/events/eventView.tsx b/src/app/events/eventView.tsx index d305f63..d8c3942 100644 --- a/src/app/events/eventView.tsx +++ b/src/app/events/eventView.tsx @@ -28,7 +28,7 @@ const EventView = ({ children, searchParams }: Props) => {
{ const session = await getServerAuthSession(); return ( -
-
-
- event image -
-
+
+
+ event image +
-
-
-

{event.name}

-

+
+
+

{event.name}

+

{event.club.name} - {' '} - • + + {format(event.startTime, 'E, MMM d, p')} {isSameDay(event.startTime, event.endTime) ? ( @@ -53,16 +52,16 @@ const HorizontalCard = async ({ )}

-

+

{event.description}

-
+
{session && ( )} @@ -140,7 +139,7 @@ const VerticalCard = async ({ const EventCard = ({ event }: EventCardProps) => { return ( -
+