src/pages/
Docusaurus page routes.
OVERVIEW
Route definitions for homepage, showcase, download, playground, tutorial, MVP, video, and community features.
WHERE TO LOOK
Public Pages
| Route | File | Purpose |
|---|---|---|
/ | index.tsx | Homepage with hero, features |
/showcase | showcase.tsx | Component showcase with design tokens |
/download | download.tsx | Download page |
/playground | playground.tsx | Interactive playground |
/tutorial | tutorial.tsx | Tutorial listing |
/mvp | mvp.tsx | MVP showcase |
/video | video.tsx | Video content |
/debug-auth | debug-auth.tsx | Auth debugging (dev only) |
Community Subdirectory
src/pages/community/ contains authenticated features:
auth.tsx- Login/signup pagequick-login.tsx- Magic link authenticationforgot-password.tsx/reset-password.tsx- Password recoverylevel-progress.tsx- User level trackingcontributions.tsx/contribution-detail.tsx- Contribution listing/detailleaderboard.tsx- Community rankingsredemptions.tsx- Points redemption storegifts.tsx- Gift catalognew-contribution.tsx- Submit new contributionsadmin.tsx- Community admin panel
CONVENTIONS
- PascalCase components
- Docusaurus page plugin for route generation
- Define routes in
navigation.config.tsfirst
ANTI-PATTERNS
- DO NOT add links not in
navigation.config.ts - DO NOT hardcode navigation in components