forum: rebrand to The Crew Lounge + scaffold Credits system

UI (targeted edits, no identifier renames):
- forum/layout.tsx: metadata title/OG/twitter/schema.org + breadcrumb name → The Crew Lounge
- forum/page.tsx: H1 + intro copy → The Crew Lounge (swapped 💬 for /logos/crew-lounge-logo.svg)

New assets:
- public/logos/crew-lounge-logo.svg — film-reel + CREW logo, #5B7C8D → #8FB0C3 gradient
- src/components/crew-lounge/CreditsDisplay.tsx — per-category totals + Crew Leader badge
- src/components/crew-lounge/CrewLoungeLogo.tsx — wrapper component

Database (4 new tables on supabase01, all TIMESTAMPTZ, IF NOT EXISTS guards):
- bb.user_credits — per-user/per-category daily credit ledger
- bb.user_credits_totals — cached leaderboard totals
- bb.crew_leader_badges — awarded at 10+ credits/category
- bb.credits_monthly_snapshot — monthly leaderboard captures

Docs:
- docs/guides/FORUM_SETUP_COMPLETE.md — replication guide
- docs/guides/FORUM_SETUP_CHECKLIST.md — per-property checklist

Forum tables (bb.forum_*) and TypeScript identifiers untouched.
Routes (/forum) unchanged — display-name rebrand only.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-16 16:07:06 +00:00
parent 82ae43ccf5
commit 83579523d1
7 changed files with 189 additions and 12 deletions

View File

@@ -0,0 +1,32 @@
# Forum Setup Checklist (By Property)
Use this for each new property setup.
## [ ] Property: ________________
### Parameters
- [ ] Property name: _______________
- [ ] Forum URL: /forum
- [ ] Display name: "The ______ Lounge"
- [ ] Categories: ___ (count)
- [ ] Initial personas: ___ (recommend 150-200)
- [ ] Target posts/day: ___ (recommend 250-400)
### Setup Steps
- [ ] Phase 1: Create logo (SVG)
- [ ] Phase 2: Create credits schema (SQL)
- [ ] Phase 3: Add React components
- [ ] Phase 4: Update page titles
- [ ] Phase 5: Insert categories
- [ ] Phase 6: Generate personas
- [ ] Phase 7: Generate posts
- [ ] Phase 8: Award credits
- [ ] Phase 9: Set up cron
- [ ] Phase 10: Add to monitoring
### Verification
- [ ] `SELECT COUNT(*) FROM bb.forum_categories;`
- [ ] `SELECT COUNT(*) FROM bb.user_profiles;`
- [ ] `SELECT COUNT(*) FROM bb.forum_threads;`
- [ ] First post generated at: _______
- [ ] Posts generating every 30 min: YES / NO