How sherryjutt932/caps-ai works
Main System Components
a) Frontend Architecture (Primary Focus)
• Client-Side Components
• Server-Side Components (Next.js App Router)
• Static Assets
• Routing Layer
Component Organization
Layer 1: Application Routes
• Marketing Routes ((marketing) folder)
• Authentication Routes (auth folder)
• Root Layout
Layer 2: Core Components
• Sections (Marketing, Auth)
• UI Components
• Content Components
• Header Components
Layer 3: Supporting Infrastructure
• Utilities
• Configuration
• Styles
• Public Assets
┌─ Next.js App Router ─────────────────────┐
• ┌─ Routes ──────────────────────────┐ │
• Marketing (/) │ │
• Auth (/login, /register) │ │
• ┘ │
• ┌─ Components ───────────────────────┐ │
• ┌─ Sections ┐ ┌─ Contents ┐ │ │
• Home │ │ - Hero │ │ │
• Login │ │ - Features│ │ │
• Register│ │ - Pricing │ │ │
• ┘ └──────────-┘ │ │
• ┌─ UI ─────┐ ┌─ Header ─┐ │ │
• Button │ │ - Navbar │ │ │
• Input │ │ - Menu │ │ │
• ┘ └─────────-┘ │ │
• ┘ │
• ┌─ Infrastructure ─────────────────┐ │
• Utils │ │
• Config │ │
• Constants │ │
• Styles (Tailwind) │ │
• ┘ │
• ┘
Important Relationships to Highlight
• How the App Router manages different routes
• Component composition flow
• Demonstrate how UI components are shared across sections
• Integration with Tailwind CSS and shadcn UI
• Animation flow with Framer Motion
Technical Details
Annotations for:
• Next.js 13+ App Router architecture
• Server Components vs. Client Components
• Tailwind CSS styling system
• shadcn UI component integration
• Framer Motion animation system