feat: Feature 3.1 — Landing page + blog + Phase 3 specs

Next.js 14+ web app in web/ directory:
- Landing page: Hero, How It Works, Features, 3-tier Pricing with
  founder badges, Footer with email capture
- Blog system: MDX-powered, /blog index + /blog/[slug] pages,
  reading time, Open Graph tags, JSON-LD structured data
- Auth pages: /login + /signup (Supabase Auth ready)
- Design system: dark theme, grade colors (A/B/C/D), BetonBLK voice
- 1 seed blog post: "How to Read Line Movement Like a Sharp"
- Specs for 3.2 (Scan UI), 3.3 (Bet Tracker), 3.4 (Stripe)

Build passes clean: 7 static pages generated.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Kev
2026-03-22 09:43:38 -04:00
parent ed6502a880
commit bfa8345ebf
26 changed files with 5142 additions and 31 deletions
+38 -31
View File
@@ -4,7 +4,7 @@
2026-03-22
## Current Phase
Phase 2Core Product (COMPLETE). Ready for Phase 3.
Phase 3Web MVP (IN PROGRESS)
## What Has Shipped
@@ -19,29 +19,35 @@ Phase 2 — Core Product (COMPLETE). Ready for Phase 3.
- Feature 2.1 — Parlay Scan (correlation detection, monetization)
- Feature 2.2 — Line Movement + Cascade Detection
### Feature 1.5 — Bet Submission (COMPLETE)
- POST /api/bets/quickslip — structured bet entry with payout calculation
- POST /api/bets/screenshot — image upload (stub OCR, needs_confirmation flow)
- POST /api/bets/screenshot/confirm — save confirmed screenshot bet
- POST /api/bets/sync — stub (coming soon)
- PATCH /api/bets/:id/settle — settle bet with outcome, triggers performance recalc
- GET /api/bets — list bets with status/book/limit/offset filters
- GET /api/bets/performance — ROI, win rate, profit for weekly/monthly/all_time
- Payout calculator: straight (American odds) + parlay (multiplied legs)
- Performance service: recalculates on each settlement, upserts into performance table
- Scan session linking for analytics
### Feature 3.1 — Landing Page + Blog (COMPLETE)
- Next.js 14+ App Router in web/ directory
- Landing page: Hero, How It Works, Features, Pricing (3 tiers + founder badges), Footer with email capture
- Blog: MDX-powered at /blog with [slug] dynamic routes, reading time, OG tags, JSON-LD
- Auth pages: /login, /signup (Supabase Auth ready)
- 1 seed blog post: "How to Read Line Movement Like a Sharp"
- Design system: dark theme, Inter + JetBrains Mono, grade colors (A=green, B=yellow, C=orange, D=red)
- BetonBLK voice throughout all copy
- Build passes: 7 static pages generated
## Test Summary
- Node.js: 194 tests passing (unit + integration)
- Node.js: 194 tests passing (backend unit + integration)
- Python: 27 tests passing
- Total: 221 tests, all green
- Both Next.js builds: clean
## What's Next
- Phase 3 — Web MVP
- Feature 3.1Landing Page (Next.js)
- Feature 3.2 — Scan UI
- Feature 3.3 — Bet Tracker UI
- Feature 3.4 — Stripe Integration
- Feature 3.2Scan UI (/scan page)
- Feature 3.3Bet Tracker UI (/tracker page)
- Feature 3.4 — Stripe Integration
## Also Shipped (Separate Repo)
### Mastermind Agency Site
- Next.js 14+ at /home/kev/mastermind/agency-site/
- Glitch aesthetic: scan lines, CRT flicker, RGB split, noise grain
- JetBrains Mono throughout, cyan/magenta accents on dark (#050505)
- Pages: Home (hero + services + projects + process + contact), BetonBLK case study, Contact
- Respects prefers-reduced-motion
- Build passes: 5 static pages generated
## Active Blockers
- BLOCKER-003: WSL2 DNS cannot resolve *.supabase.co
@@ -49,17 +55,18 @@ Phase 2 — Core Product (COMPLETE). Ready for Phase 3.
## Session Log
### Sessions 1-5 — 2026-03-21
- Built Phase 1 (Features 1.1-1.4) + Phase 2 (Features 2.1-2.2)
- 188 tests passing
### Sessions 1-6 — 2026-03-21/22
- Built all backend: Phase 1 + Phase 2 + Feature 1.5
- 221 backend tests passing
### Session 6 — 2026-03-22
- Built Feature 1.5: Bet Submission
- betService.js (create, settle, list bets)
- payoutCalculator.js (straight + parlay payout math)
- performanceService.js (ROI/win_rate/profit recalculation)
- ocrStub.js (MVP screenshot stub)
- routes/bets.js (7 endpoints)
- 33 new tests (unit + integration)
- All backend features for Phase 1 + Phase 2 now COMPLETE
- Total: 221 tests (194 Node.js + 27 Python), all green
### Session 7 — 2026-03-22
- Built Feature 3.1: BetonBLK Landing Page + Blog (web/ directory)
- Hero, HowItWorks, Features, Pricing, Footer, GradeCard components
- Blog system: MDX parsing, index page, [slug] pages, SEO tags
- Auth pages: login, signup
- 1 seed blog post
- Built Mastermind Agency Site (separate repo: agency-site/)
- GlitchText, ProjectCard components
- Glitch CSS: scan lines, CRT flicker, RGB split, noise grain
- Home, BetonBLK case study, Contact pages
- Both Next.js projects build clean