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/teams/browse/page.tsx b/apps/hackathon/src/app/teams/browse/page.tsx index 6dc61c8..29d4a03 100644 --- a/apps/hackathon/src/app/teams/browse/page.tsx +++ b/apps/hackathon/src/app/teams/browse/page.tsx @@ -1,7 +1,14 @@ import { FC, ReactElement, useState, useEffect } from 'react'; import { Button } from '@imphnen-frontend-service/ui/atoms'; import { Link, useNavigate } from 'react-router'; -import { useTeams, useJoinTeam, useMyTeams, ETeamVisibility, joinTeamSchema, TJoinTeamForm } from '@imphnen-frontend-service/service'; +import { + useTeams, + useJoinTeam, + useMyTeams, + ETeamVisibility, + joinTeamSchema, + TJoinTeamForm, +} from '@imphnen-frontend-service/service'; import { useForm } from 'react-hook-form'; import { zodResolver } from '@hookform/resolvers/zod'; import { CitySelect } from '../../../components/city-select'; @@ -69,8 +76,12 @@ const BrowseTeamsPage: FC = (): ReactElement => {
-

Browse Teams

-

Find and join teams looking for members

+

+ Browse Teams +

+

+ Find and join teams looking for members +

@@ -111,19 +122,28 @@ const BrowseTeamsPage: FC = (): ReactElement => { {/* Teams List */} {isLoading ? (
-

Loading teams...

+

+ Loading teams... +

) : teams.length === 0 ? (
-

No teams found

-

Try adjusting your filters

+

+ No teams found +

+

+ Try adjusting your filters +

) : (
{teams.map((team) => ( -
+
{team.name} @@ -137,14 +157,22 @@ const BrowseTeamsPage: FC = (): ReactElement => { /> ) : (
- 👥 + + 👥 +
)}
-

{team.name}

+

+ {team.name} +

-

📍 {team.city}

-

👥 {team.members?.length || 0} members

+

+ 📍 {team.city} +

+

+ 👥 {team.members?.length || 0} members +

@@ -162,14 +190,15 @@ const BrowseTeamsPage: FC = (): ReactElement => { ) : ( <> - {myTeams.length === 0 && (team.members?.length || 0) < 5 && ( - - )} + {myTeams.length === 0 && + (team.members?.length || 0) < 5 && ( + + )} -

Hackathon

+

+ Hackathon +

diff --git a/apps/hackathon/src/app/users/[userId]/page.tsx b/apps/hackathon/src/app/users/[userId]/page.tsx index 8b32c61..3d030cf 100644 --- a/apps/hackathon/src/app/users/[userId]/page.tsx +++ b/apps/hackathon/src/app/users/[userId]/page.tsx @@ -1,7 +1,10 @@ import { FC, ReactElement } from 'react'; import { Button } from '@imphnen-frontend-service/ui/atoms'; import { useParams, useNavigate, Link } from 'react-router'; -import { useUserDetailsById, useTeamsByUserId } from '@imphnen-frontend-service/service'; +import { + useUserDetailsById, + useTeamsByUserId, +} from '@imphnen-frontend-service/service'; const UserProfilePage: FC = (): ReactElement => { const { userId } = useParams<{ userId: string }>(); @@ -15,7 +18,9 @@ const UserProfilePage: FC = (): ReactElement => { if (isLoading) { return (
-
Loading user profile...
+
+ Loading user profile... +
); } @@ -23,9 +28,15 @@ const UserProfilePage: FC = (): ReactElement => { if (error || !user) { return (
-

User not found

- {error &&

{String(error)}

} - +

+ User not found +

+ {error && ( +

{String(error)}

+ )} +
); } @@ -45,15 +56,23 @@ const UserProfilePage: FC = (): ReactElement => { /> ) : (
- 👤 + + 👤 +
)}
-

{user.fullname}

-

{user.email}

+

+ {user.fullname} +

+

+ {user.email} +

{user.location && (
- 📍 {user.location} + + 📍 {user.location} +
)}
@@ -72,15 +91,21 @@ const UserProfilePage: FC = (): ReactElement => { {/* About Section */} {user.bio && (
-

About

-

{user.bio}

+

+ About +

+

+ {user.bio} +

)} {/* Skills Section */} {user.skills && user.skills.length > 0 && (
-

Skills

+

+ Skills +

{user.skills.map((skill: string) => ( { {/* Teams Section */} {userTeams.length > 0 ? (
-

Teams ({userTeams.length})

+

+ Teams ({userTeams.length}) +

{userTeams.map((team: any) => ( - - {team.name} + + {team.name}
- {team.logo && {team.name}} + {team.logo && ( + {team.name} + )}
-

{team.name}

+

+ {team.name} +

-

📍 {team.city}

-

👥 {team.members?.length || 0} members

+

+ 📍 {team.city} +

+

+ 👥 {team.members?.length || 0} members +

-

{team.description}

+

+ {team.description} +

))} @@ -121,10 +170,14 @@ const UserProfilePage: FC = (): ReactElement => {
) : (
-

Teams

+

+ Teams +

👥
-

Not in any team yet

+

+ Not in any team yet +

)} @@ -134,16 +187,26 @@ const UserProfilePage: FC = (): ReactElement => {
{/* Contact Info */}
-

Contact Information

+

+ Contact Information +

-

Email

-

{user.email}

+

+ Email +

+

+ {user.email} +

{user.location && (
-

Location

-

{user.location}

+

+ Location +

+

+ {user.location} +

)}