From ed6b03626efffb7f7e3bcb0e78887b3b821d9741 Mon Sep 17 00:00:00 2001 From: Ninad-S <144244166+Ninad-S@users.noreply.github.com> Date: Tue, 19 Nov 2024 19:31:26 -0600 Subject: [PATCH] Update HorizontalClubCard.tsx --- src/components/club/HorizontalClubCard.tsx | 26 +++++++++++++--------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/src/components/club/HorizontalClubCard.tsx b/src/components/club/HorizontalClubCard.tsx index 636dd4b..27ed6ec 100644 --- a/src/components/club/HorizontalClubCard.tsx +++ b/src/components/club/HorizontalClubCard.tsx @@ -10,19 +10,16 @@ interface HorizontalClubCardProps { session: Session | null; } -const HorizontalClubCard: React.FC = ({ - club, - session, -}) => { +const HorizontalClubCard: React.FC = ({ club, session }) => { const desc = club.description.length > 50 ? club.description.slice(0, 150) + '...' : club.description; - const name = - club.name.length > 20 ? club.name.slice(0, 30) + '...' : club.name; + const name = club.name.length > 20 ? club.name.slice(0, 30) + '...' : club.name; return ( -
+
+
= ({ layout="fill" />
-
-
+ + +
+ +

{name}

Learn More
-

{desc}

+ + +

+ {desc} +

);