212 lines
12 KiB
Markdown
212 lines
12 KiB
Markdown
# BETFUN ARENA – USER FLOW + ULTRA-DETAILED MOBILE WIREFRAMES (iPhone 15 Pro – 393×852px)
|
||
|
||
Dark mode only | Font: Inter + PP Mori (headings) | Primary: #A020F0 (purple) | Yes: #39FF14 (neon green) | No: #FF2D55 (red)
|
||
|
||
## 1. Landing → Wallet Connect (/page.tsx)
|
||
|
||
```
|
||
┌────────────────────────────────────────┐
|
||
│ │ 56px safe top
|
||
│ ⚔️ BETFUN ARENA │ PP Mori 32px bold, center
|
||
│ Live Prediction Battles on Solana │ Inter 16px, #888
|
||
│ │
|
||
│ [ CONNECT WALLET ] │ 56px height, #A020F0 bg, white text, 24px bold
|
||
│ │ 32px vertical padding
|
||
│ 42,069 arenas live · $420,690 vol │ Inter 14px, #666
|
||
│ │
|
||
│ Trending today │ Inter 18px bold
|
||
│ ┌───────────────────────────────┐ │
|
||
│ │ Will Trump tweet today? │ │ Inter 16px
|
||
│ │ Yes 72% ███████████░░ No 28% │ │ LivePotBar 12px height
|
||
│ │ 👥 12.3k · 💰 4,206 SOL │ │
|
||
│ └───────────────────────────────┘ │
|
||
└────────────────────────────────────────┘
|
||
After connect → bottom tab bar appears (always fixed)
|
||
│ 🏠 Home ⚔️ + 🏆 Rank 👤 Me │ 64px height, blur bg
|
||
```
|
||
|
||
## 2. Main Feed – /feed
|
||
|
||
```
|
||
┌────────────────────────────────────────┐
|
||
│ 🔍 Search arenas… Trending ▼ │ 56px header
|
||
├────────────────────────────────────────┤
|
||
│ Will $WIF hit $10 EOY? │ 20px card margin
|
||
│ ┌────────────────────────────────────┐ │
|
||
│ │ [image thumbnail 100% width] │ │
|
||
│ │ Yes 68.4% ██████████░░░ No 31.6% │ │ LivePotBar 16px height, rounded
|
||
│ │ 👥 69,420 players 💰 13,370 SOL │ │
|
||
│ │ Ends in 3d 21h │ │
|
||
│ │ crypto · memes · Tokenized 🚀 │ │ small badges
|
||
│ │ │
|
||
│ │ [ JOIN BATTLE ] [ WATCH LIVE ] │ │ purple + outline buttons
|
||
│ └────────────────────────────────────┘ │
|
||
│ (infinite scroll, 8px card spacing) │
|
||
└────────────────────────────────────────┘
|
||
Floating Action Button (bottom-right, above tab bar)
|
||
│ ⚔️ + │ 64×64px circle, #A020F0, shadow, +48px from bottom
|
||
```
|
||
|
||
## 3. Create Arena – /create
|
||
|
||
```
|
||
┌────────────────────────────────────────┐
|
||
│ ← Create Arena ⚔️ │
|
||
├────────────────────────────────────────┤
|
||
│ Title │
|
||
│ ┌────────────────────────────────────┐ │ Inter 18px
|
||
│ │ Will $WIF hit $10 EOY? │ │
|
||
│ └────────────────────────────────────┘ │
|
||
│ Description (optional) │
|
||
│ ┌────────────────────────────────────┐ │
|
||
│ │ The ultimate dog coin showdown... │ │ multiline
|
||
│ └────────────────────────────────────┘ │
|
||
│ Outcomes │
|
||
│ ┌──────────┐ ┌──────────┐ + Add │
|
||
│ │ Yes ✅ │ │ No ❌ │ │ 48px height chips
|
||
│ └──────────┘ └──────────┘ │
|
||
│ Entry Fee │
|
||
│ 0.42 SOL ────────●───────────────── │ slider, 0.01 to 10 SOL
|
||
│ Resolve by │
|
||
│ Dec 31, 2025 23:59 [📅 picker] │
|
||
│ [ ] Manual resolve by creator │
|
||
│ │
|
||
│ [x] Launch as Tokenized Arena 🚀 │ toggle → expands
|
||
│ You earn 5% of all fees forever │
|
||
│ ┌──────────────────────────────┐ │ mini bonding curve chart
|
||
│ │ ↗ 69,420 SOL raised │ │
|
||
│ └──────────────────────────────┘ │
|
||
│ │
|
||
│ [ CREATE ARENA ] │ 56px height, #39FF14 bg, black text
|
||
└────────────────────────────────────────┘
|
||
```
|
||
|
||
## 4. Arena Detail – /arena/[arenaId]
|
||
|
||
```
|
||
┌────────────────────────────────────────┐
|
||
│ ← Will Trump tweet a dog pic today? │ title 20px bold
|
||
│ @degenlord · 69k views ↗ Share│
|
||
├────────────────────────────────────────┤
|
||
│ Yes 72.3% ████████████░░░ No 27.7% │ 24px height LivePotBar
|
||
│ 💰 Total volume 6,942 SOL │
|
||
│ 👥 18,420 players Ends in 4h 20m │
|
||
├────────────────────────────────────────┤
|
||
│ Tabs: Battle 🔥 Info My Position Comments
|
||
│ │
|
||
│ [ BET YES ] [ BET NO ] │ 64px height full-width buttons
|
||
│ │
|
||
│ My position: 5 SOL on YES → +12.4 SOL │ if already bet
|
||
└────────────────────────────────────────┘
|
||
```
|
||
|
||
## 5. Live Battle – /arena/[arenaId]/battle (the money screen)
|
||
|
||
```
|
||
┌────────────────────────────────────────┐
|
||
│ Will $WIF pump 100x? 2d 4h left │ 56px translucent top bar
|
||
│ Pot: 42,069 SOL ↑420 SOL │
|
||
├────────────────────────────────────────┤
|
||
│ │
|
||
│ [MODDIO IFRAME 100%] │
|
||
│ Yes avatars (green) dominating left │
|
||
│ No avatars (red) getting pushed │
|
||
│ Emoji rain 🔥🐳 when whale bets │
|
||
│ Live chat bubbles floating │
|
||
│ │
|
||
├────────────────────────────────────────┤
|
||
│ [Power-Up] [Meta-Bet] [Share ↗] │ bottom 64px translucent bar
|
||
└────────────────────────────────────────┘
|
||
Overlays on big events:
|
||
- WHALE BET 50 SOL ON YES! (center flash)
|
||
- Confetti + camera shake
|
||
```
|
||
|
||
## 6. Resolve Screen (creator only)
|
||
|
||
```
|
||
┌────────────────────────────────────────┐
|
||
│ ← Resolve Market │
|
||
├────────────────────────────────────────┤
|
||
│ Will Trump tweet a dog pic today? │
|
||
│ Current odds: Yes 92% · No 8% │
|
||
│ │
|
||
│ Winning outcome: │
|
||
│ ○ Yes (92% of pot) │
|
||
│ ○ No (8% of pot) │
|
||
│ │
|
||
│ Reason (optional) │
|
||
│ ┌────────────────────────────────────┐ │
|
||
│ │ He just posted Shiba #69! │ │
|
||
│ └────────────────────────────────────┘ │
|
||
│ │
|
||
│ [ RESOLVE & PAY OUT ] │ red 56px button
|
||
└────────────────────────────────────────┘
|
||
```
|
||
|
||
## 7. Victory Screen (auto after resolution)
|
||
|
||
```
|
||
┌────────────────────────────────────────┐
|
||
│ │ full-screen confetti canvas
|
||
│ 🎉 YES WON! 🎉 │ 48px bold, green
|
||
│ │
|
||
│ You bet 10 SOL on YES │
|
||
│ → Won 42.0 SOL (+320%) 💰 │ 32px bold
|
||
│ │
|
||
│ 🏆 Trophy #1337 Minted! │ big cNFT image center
|
||
│ │
|
||
│ SOL + meme coins raining down │ animation
|
||
│ │
|
||
│ [ View Trophy ] [ Share Win ↗ ] │ two buttons
|
||
│ [ Play Again ] │ purple button
|
||
└────────────────────────────────────────┘
|
||
```
|
||
|
||
## 8. Leaderboard – /leaderboard
|
||
|
||
```
|
||
┌────────────────────────────────────────┐
|
||
│ 🏆 Leaderboard Weekly ▼ │
|
||
├────────────────────────────────────────┤
|
||
│ 1 👑 @whale_king 158,420 SOL │ gold crown
|
||
│ 2 🥈 @betfun_maxi 69,420 SOL │
|
||
│ 3 🥉 @paperhands 42,069 SOL │
|
||
│ ... │
|
||
│ 69 🎯 @you 4,206 SOL ↑420│ your row highlighted purple
|
||
│ │
|
||
│ Your stats │ card
|
||
│ Rank #69 Accuracy 78% Streak 🔥7 │
|
||
└────────────────────────────────────────┘
|
||
```
|
||
|
||
## 9. Profile – /profile
|
||
|
||
```
|
||
┌────────────────────────────────────────┐
|
||
│ @degenlord Edit 👤 │
|
||
│ Total won: 69,420 SOL (+420%) │ big numbers
|
||
│ Accuracy: 82% Arenas: 42 │
|
||
├────────────────────────────────────────┤
|
||
│ 🏆 Trophy Gallery │ 3× grid of cNFTs
|
||
├────────────────────────────────────────┤
|
||
│ Tokenized Arenas (3) │
|
||
│ ┌──────────────────────┐ │
|
||
│ │ $WIFPUMP ↑420% │ → indie.fun │
|
||
│ └──────────────────────┘ │
|
||
└────────────────────────────────────────┘
|
||
```
|
||
|
||
## Fixed Bottom Navigation (always visible after connect)
|
||
|
||
```
|
||
┌────────────────────────────────────────┐
|
||
│ 🏠 Home ⚔️ + 🏆 Rank 👤 Me │ 64px height, blur bg, active icon purple
|
||
└────────────────────────────────────────┘
|
||
```
|
||
|
||
---
|
||
|
||
**Cursor: These are the FINAL pixel-perfect wireframes. Every margin, font size, color, and micro-interaction is specified. Generate all components and pages EXACTLY like this. No creativity allowed — only perfection.**
|
||
|