How khalidmuse45/colorstack-umn-website works
This repository contains two Next.js products: the ColorStack UMN chapter website, including a join-signup flow, and Wunderbar, a practice and mentoring workspace. The main site presents chapter information and routes prospective members to the signup form; Wunderbar provides workspace and practice interfaces backed by API routes and Supabase configuration. Several Wunderbar route implementations and most site sections were not excerpted, so relationships to them are omitted rather than inferred.
Main entry points: page.tsx Chapter homepage · server.ts Server client · join.ts Signup handler · practice-room.tsx Practice room
Components 26
ColorStack Website
- Chapter homepage
web/app/(site)/page.tsx - Landing content
web/lib/landing.ts - Homepage hero
web/components/hero/Hero.tsx - Community sections
web/components/sections - Photo cards
web/components/whimsy/FloatingCards.tsx
Signup Flow
- Join information
web/app/join-form/page.tsx - Signup form
web/components/join/JoinHero.tsx - Signup handler
web/functions/api/join.ts - Signup records
Wunderbar Experience
- Wunderbar home
wunderbar/app/page.tsx - Login
wunderbar/app/login/page.tsx - Practice page
wunderbar/app/practice/page.tsx - Workspace UI
wunderbar/components/workspace.tsx - Practice room
wunderbar/components/practice-room.tsx - Workspace forms
wunderbar/components/forms.tsx
Practice Domain
- Practice questions
wunderbar/content/questions.ts - Workspace model
wunderbar/lib/model.ts
Wunderbar Backend
- Workspace API
wunderbar/app/api/workspace/route.ts - Reminder API
wunderbar/app/api/reminders/route.ts - Auth confirmation
wunderbar/app/auth/confirm/route.ts - Server client
wunderbar/lib/supabase/server.ts - Backend config
wunderbar/lib/supabase/config.ts
Other components
- Site visitor
- Resend email
- Wunderbar user
- Supabase
Connections 22
- Site visitor → Chapter homepage: visits
- Chapter homepage → Landing content: loads
web/app/(site)/page.tsx - Chapter homepage → Homepage hero: renders
web/app/(site)/page.tsx - Chapter homepage → Community sections: renders
web/app/(site)/page.tsx - Chapter homepage → Photo cards: renders
web/app/(site)/page.tsx - Join information → Signup form: renders
web/app/join-form/page.tsx - Signup form → Signup handler: posts signup
README.md - Signup handler → Signup records: stores signup
README.md - Signup handler → Resend email: notifies
README.md - Wunderbar user → Wunderbar home: visits
- Workspace UI → Workspace API: fetches
wunderbar/components/workspace.tsx - Practice room → Practice questions: uses questions
wunderbar/components/practice-room.tsx - Practice room → Workspace model: uses types
wunderbar/components/practice-room.tsx - Workspace forms → Practice questions: uses question data
wunderbar/components/forms.tsx - Workspace forms → Workspace model: uses schemas
wunderbar/components/forms.tsx - Server client → Backend config: loads config
wunderbar/lib/supabase/server.ts - Wunderbar home → Workspace UI: renders
- Login → Auth confirmation: confirms auth
- Workspace API → Server client: uses client
- Reminder API → Server client: uses client
- Auth confirmation → Server client: uses client
- Server client → Supabase: connects