From d431564aacb69331fc8c31b06b64626405ac8f46 Mon Sep 17 00:00:00 2001 From: Maulana Sodiqin Date: Sun, 30 Nov 2025 00:02:02 +0700 Subject: [PATCH] fix(dashboard): show single team card full width MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - User can only have one team, no need for list/grid - Display team card full width with larger styling - Bigger logo, title, and description area 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- apps/hackathon/src/app/dashboard/page.tsx | 36 +++++++++++------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/apps/hackathon/src/app/dashboard/page.tsx b/apps/hackathon/src/app/dashboard/page.tsx index e07863a..27a597e 100644 --- a/apps/hackathon/src/app/dashboard/page.tsx +++ b/apps/hackathon/src/app/dashboard/page.tsx @@ -130,14 +130,14 @@ const DashboardPage: FC = (): ReactElement => { )} {myTeams.length > 0 ? ( -
-

- My Team -

-
- {myTeams.map((team: any) => ( + (() => { + const team = myTeams[0] as any; + return ( +
+

+ My Team +

@@ -146,24 +146,24 @@ const DashboardPage: FC = (): ReactElement => { alt={team.name} className="w-full aspect-3/1 object-cover" /> -
-
+
+
{team.logo ? ( {team.name} ) : ( -
- +
+
)}
-

+

{team.name}

-
+
{team.has_submission && ( @@ -184,15 +184,15 @@ const DashboardPage: FC = (): ReactElement => {
{team.description && ( -

+

{team.description}

)}
- ))} -
-
+
+ ); + })() ) : (