diff --git a/apps/hackathon/src/app/teams/[teamId]/page.tsx b/apps/hackathon/src/app/teams/[teamId]/page.tsx index 4eb04d8..3885672 100644 --- a/apps/hackathon/src/app/teams/[teamId]/page.tsx +++ b/apps/hackathon/src/app/teams/[teamId]/page.tsx @@ -491,6 +491,23 @@ const TeamDashboardPage: FC = (): ReactElement => { )} + {/* Warning for single member teams */} + {members.length === 1 && !team.has_submission && isMember && ( +
+
+ ⚠️ +
+

+ Team Needs More Members +

+

+ Your team needs at least 2 members to submit a project. Invite someone or wait for join requests! +

+
+
+
+ )} + {/* Submission Status - Only show to members */} {team.has_submission && isMember && (
diff --git a/apps/hackathon/src/app/teams/browse/page.tsx b/apps/hackathon/src/app/teams/browse/page.tsx index 8fef126..6803a89 100644 --- a/apps/hackathon/src/app/teams/browse/page.tsx +++ b/apps/hackathon/src/app/teams/browse/page.tsx @@ -225,6 +225,14 @@ const BrowseTeamsPage: FC = (): ReactElement => {

{team.description}

+ {(team.member_count || 0) === 1 && !team.has_submission && ( +
+

+ + This team needs at least 2 members to submit +

+
+ )}
{isMyTeam(team.id) ? (