From 6e6c361eb8ea91e1e1a61ddb1db05e71ddc2f5b6 Mon Sep 17 00:00:00 2001 From: Maulana Sodiqin Date: Wed, 26 Nov 2025 16:06:23 +0700 Subject: [PATCH] feat(hackathon): enhance dark mode, city select, and auth-aware navbar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Apply rose-pine dark theme across all pages for darker appearance - Update Button component with dark mode variants - Replace basic city select with searchable CitySelect on create team page - Show Dashboard button in navbar when user is authenticated - Apply dark mode styling to onboarding, team pages, and user profile 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../src/app/onboarding/user/page.tsx | 30 +++---- apps/hackathon/src/app/page.tsx | 74 +++++++++++------ .../src/app/teams/[teamId]/chat/page.tsx | 28 +++---- .../src/app/teams/[teamId]/edit/page.tsx | 58 +++++++------- .../src/app/teams/[teamId]/members/page.tsx | 76 +++++++++--------- .../app/teams/[teamId]/submission/page.tsx | 70 ++++++++-------- .../src/app/teams/[teamId]/submit/page.tsx | 56 ++++++------- apps/hackathon/src/app/teams/create/page.tsx | 79 ++++++++----------- .../hackathon/src/app/users/[userId]/page.tsx | 68 ++++++++-------- apps/hackathon/src/index.css | 12 +-- libs/ui/src/atoms/button/button.tsx | 8 +- 11 files changed, 288 insertions(+), 271 deletions(-) diff --git a/apps/hackathon/src/app/onboarding/user/page.tsx b/apps/hackathon/src/app/onboarding/user/page.tsx index f349283..a8b7f3e 100644 --- a/apps/hackathon/src/app/onboarding/user/page.tsx +++ b/apps/hackathon/src/app/onboarding/user/page.tsx @@ -109,13 +109,13 @@ const UserOnboardingPage: FC = (): ReactElement => { }); return ( -
-
+
+
-

+

Complete Your Profile

-

+

Tell us more about yourself to get started

@@ -128,17 +128,17 @@ const UserOnboardingPage: FC = (): ReactElement => { Avatar preview ) : ( -
- 👤 +
+ 👤
)}
-

+

Optional, but highly recommended

@@ -165,7 +165,7 @@ const UserOnboardingPage: FC = (): ReactElement => { {/* City */}
-
)} diff --git a/apps/hackathon/src/app/teams/[teamId]/chat/page.tsx b/apps/hackathon/src/app/teams/[teamId]/chat/page.tsx index ed58337..3b9c638 100644 --- a/apps/hackathon/src/app/teams/[teamId]/chat/page.tsx +++ b/apps/hackathon/src/app/teams/[teamId]/chat/page.tsx @@ -63,14 +63,14 @@ const TeamChatPage: FC = (): ReactElement => { }; return ( -
+
{/* Header */} -
+
-

Team Chat

-

{team?.name}

+

Team Chat

+

{team?.name}

{/* Message Input */} -
+
{ value={message} onChange={(e) => setMessage(e.target.value)} placeholder="Type your message..." - className="flex-1 px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent" + className="flex-1 px-4 py-3 border border-gray-300 dark:border-neutral-600 dark:bg-neutral-800 dark:text-white dark:placeholder-neutral-500 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 dark:focus:ring-primary-500 focus:border-transparent" disabled={isSending} />
); @@ -114,20 +114,20 @@ const EditTeamPage: FC = (): ReactElement => { }); return ( -
-
+
+
-

Edit Team Info

-

Update your team details

+

Edit Team Info

+

Update your team details

-
+
{/* Banner Upload */}
-
) : ( -