Detailed view of a specific creator event showing all matches, participants, and allowing users to join and make predictions.
Required Features
-
Event Header:
- Event title and description
- Creator address with copy button
- Event status badge
- Participant count (X / Max)
- Created date
- Invite code display (if user is creator)
-
Tabs:
- Matches — list all matches with:
- Team A vs Team B
- Match time
- Result status (Pending, Completed)
- Winning team (if resolved)
- "Predict" button (if user joined and match not started)
- Participants — list all joined users with:
- Wallet address
- Join date
- Current score (correct predictions / total matches)
- Leaderboard — show winners (users with perfect predictions):
- Rank
- User address
- Score
- Completion time
-
Action Buttons (conditional):
- Not Joined: "Join Event" button (requires invite code input if not in URL)
- Joined: "Make Predictions" button
- Creator Only: "Add Match", "Cancel Event" buttons
- All Matches Resolved: "Verify Winners" button (anyone can call)
-
Event Stats Card:
- Total matches
- Matches resolved
- Total predictions submitted
- Winners verified (yes/no)
Files to create:
frontend/src/app/(authenticated)/creator-events/[id]/page.tsx
frontend/src/component/creator-events/EventHeader.tsx
frontend/src/component/creator-events/MatchList.tsx
frontend/src/component/creator-events/ParticipantList.tsx
frontend/src/component/creator-events/EventLeaderboard.tsx
Detailed view of a specific creator event showing all matches, participants, and allowing users to join and make predictions.
Required Features
Event Header:
Tabs:
Action Buttons (conditional):
Event Stats Card:
Files to create:
frontend/src/app/(authenticated)/creator-events/[id]/page.tsxfrontend/src/component/creator-events/EventHeader.tsxfrontend/src/component/creator-events/MatchList.tsxfrontend/src/component/creator-events/ParticipantList.tsxfrontend/src/component/creator-events/EventLeaderboard.tsx