diff --git a/apps/hackathon/public/images/banner-imphnen.png b/apps/hackathon/public/images/banner-imphnen.png deleted file mode 100644 index b6a6cf8..0000000 Binary files a/apps/hackathon/public/images/banner-imphnen.png and /dev/null differ diff --git a/apps/hackathon/public/images/banner-imphnen.webp b/apps/hackathon/public/images/banner-imphnen.webp new file mode 100644 index 0000000..30b0554 Binary files /dev/null and b/apps/hackathon/public/images/banner-imphnen.webp differ diff --git a/apps/hackathon/src/app/dashboard/layout.tsx b/apps/hackathon/src/app/dashboard/layout.tsx index f8f3525..7bd34ef 100644 --- a/apps/hackathon/src/app/dashboard/layout.tsx +++ b/apps/hackathon/src/app/dashboard/layout.tsx @@ -9,18 +9,30 @@ const DashboardLayout: FC = (): ReactElement => {
setSidebarOpen(false)} /> -
+
{/* Mobile Header with Hamburger */} -
+
-

Hackathon

+

+ Hackathon +

diff --git a/apps/hackathon/src/app/dashboard/page.tsx b/apps/hackathon/src/app/dashboard/page.tsx index dfea38d..58c4548 100644 --- a/apps/hackathon/src/app/dashboard/page.tsx +++ b/apps/hackathon/src/app/dashboard/page.tsx @@ -8,6 +8,7 @@ import { } from '@imphnen-frontend-service/service'; import { toast } from 'sonner'; import { Button } from '@imphnen-frontend-service/ui/atoms'; +import { Icon } from '@iconify/react'; const DashboardPage: FC = (): ReactElement => { const { session } = useAuthStore(); @@ -40,31 +41,52 @@ const DashboardPage: FC = (): ReactElement => { }; return ( -
+

Welcome, {user?.fullname || user?.email?.split('@')[0] || 'User'}!

{user?.location && ( -

Location: {user.location}

+

+ + {user.location} +

)}
{invitations.length > 0 && ( -
+

Team Invitations ({invitations.length})

-
+
{invitations.map((invitation) => ( -
+
-

{invitation.team.name}

-

Invited by {invitation.inviter.fullname}

+

+ {invitation.team.name} +

+

+ Invited by {invitation.inviter.fullname} +

- - + +
))} @@ -74,20 +96,44 @@ const DashboardPage: FC = (): ReactElement => { {myTeams.length > 0 ? (
-

My Team

+

+ My Team +

{myTeams.map((team) => ( - - {team.banner && {team.name}} + + {team.banner && ( + {team.name} + )}
- {team.logo && {team.name}} + {team.logo && ( + {team.name} + )}
-

{team.name}

-

City: {team.city}

+

+ {team.name} +

+

+ City: {team.city} +

-

{team.description}

+

+ {team.description} +

))} @@ -97,56 +143,103 @@ const DashboardPage: FC = (): ReactElement => {
👋
-

You are not in a team yet

-

Use the sidebar to browse teams or create your own

+

+ You are not in a team yet +

+

+ Use the sidebar to browse teams or create your own +

)} -
-
+
+
{user?.avatar ? ( - {user.fullname + {user.fullname ) : (
- User + + U +
)}
-

{user?.fullname || user?.email?.split('@')[0] || 'Unnamed User'}

+

+ {user?.fullname || + user?.email?.split('@')[0] || + 'Unnamed User'} +

+ {user?.location ? ( -

{user.location}

+

+ {user.location} +

) : ( - Complete your profile + + Complete your profile + + )}
{user?.location && ( - Edit Profile + + Edit Profile + )}
{user?.bio && (
-

About

-

{user.bio}

+

+ About +

+

+ {user.bio} +

)}
-

Contact

+

+ Contact +

- {user?.email} + + {user?.email} +
{user?.skills && user.skills.length > 0 && (
-

Skills

-
+

+ Skills +

+
{user.skills.map((skill: string) => ( - {skill} + + {skill} + ))}
diff --git a/apps/hackathon/src/app/onboarding/user/page.tsx b/apps/hackathon/src/app/onboarding/user/page.tsx index 0a7cb6d..4f0b6c0 100644 --- a/apps/hackathon/src/app/onboarding/user/page.tsx +++ b/apps/hackathon/src/app/onboarding/user/page.tsx @@ -15,6 +15,7 @@ import { zodResolver } from '@hookform/resolvers/zod'; import { toast } from 'sonner'; import { CitySelect } from '../../../components/city-select'; +import { Icon } from '@iconify/react'; const ROLE_OPTIONS = [ 'Frontend Developer', @@ -95,7 +96,9 @@ const UserOnboardingPage: FC = (): ReactElement => { globalThis.location.href = '/dashboard'; } catch (error) { toast.error( - error instanceof Error ? error.message : 'Onboarding failed. Please try again.' + error instanceof Error + ? error.message + : 'Onboarding failed. Please try again.' ); } }); @@ -107,7 +110,7 @@ const UserOnboardingPage: FC = (): ReactElement => {

Complete Your Profile

-

+

Tell us more about yourself to get started

@@ -124,13 +127,18 @@ const UserOnboardingPage: FC = (): ReactElement => { /> ) : (
- 👤 +
)}
-
+