Clickable, mobile-first prototype for Seekho Mission Mode built with Next.js App Router + TypeScript + Tailwind.
Prerequisites:
- Node.js 20+
- npm 10+
Commands:
npm install
npm run devOpen:
- Missions, steps, clusters, levels: local static data in
src/lib/mockData.ts - Login: single mock action (
Continue with Phone) updates local state only - Trial: local state boolean (
hasTrial) - Video playback: placeholder card + simulated actions
- Preview step: 60-second countdown simulation
- Plans/pricing: static mock plan cards on paywall
Two options:
- In-app reset:
- Open
Logsbutton (top-right) - Click
Reset Prototype
- Manual localStorage reset:
- Remove
seekho_app_state_v1 - Remove
seekho_event_log_v1
This restores first-install behavior and clears analytics panel logs.
/root gate/mission/entryMission entry takeover (A)/mission/levelLevel select (B)/mission/generatingAI generating state (C)/mission/revealMission reveal (D)/mission/playerMission player + preview lock sheet (E, F)/mission/paywallTrial paywall (G)/mission/completeMission completion (H)/homeMission-first home (I)
Primary path:
- Mission entry -> level select -> generating -> reveal
- Start mission (login if needed)
- Complete step 1 and 2
- Step 3 preview countdown (60s)
- Lock sheet -> paywall -> start trial
- Finish remaining steps -> mission complete
- Choose next mission
Stored in localStorage (seekho_app_state_v1):
hasSeenMissionEntryisLoggedInhasTrialactiveMissionIdactiveStepIndexcompletedStepsstreakCountlastActiveDateselectedMissionIdselectedLevel
track(eventName, payload) is implemented in src/lib/analytics.ts.
Events logged to:
- Browser console
- On-screen Event Log drawer
Implemented events:
Mission_SelectedMission_GeneratedMission_StartedStep_CompletedPreview_ViewedPaywall_ShownTrial_StartedMission_CompletedStreak_Incremented
- No backend integration
- No real auth/session/token handling
- No real video playback/progress tracking
- No responsive tablet-specific layout tuning (optimized for mobile shell)
- Event logging is local and non-networked