Structure & Relationship
- App Pages: Thin wrappers in
apps/web/src/app/dashboard/*
that route to features. - Feature Components: Main logic/UI in
features/dashboard/*
. - Pattern: Clean separation for maintainability and reusability.
Dashboard Landing Page
- Purpose: Entry point after login; links to all major features.
- Highlights: Features grid, tech stack, quick start, and welcome hero.
- Example:
Shared Layout & Navigation
- Dashboard Layout: Auth check, navbar, and main content area.
- DashboardNavbar: Sticky header with logo, main nav, and user menu.
- MainNav: Links to Profile, Todos, AI, Payments, Subscription.
- UserNav: User dropdown for profile, settings, and logout.
Settings Subpages
- Account: Manage user account details.
- Payment: Manage payment methods and billing.
- Subscription: Manage SaaS plans (Polar/Stripe).
- Success: Confirmation after payment/subscription changes.
Dashboard Features
- AIPage: AI chat interface for user queries.
- TodosPage: CRUD todo list for personal tasks.
- ProfilePage: User profile and subscription info.
- UserAccountsCard: Linked auth accounts and tokens.
- UserSessionsCard: List of active user sessions/devices.
- UserProfileCard: Editable user profile card.