How wouter173/website works
Main Components
A. Client-Side Layer:
• Next.js App Router (src/app directory structure)
• React Components (src/components)
• UI Components (src/components/ui)
• Client-side Utils (src/lib)
• Static Assets (public directory)
• WebGL Shaders (src/shaders)
B. Server-Side Layer:
• Server Components/Actions (src/server)
• API Integrations (GitHub, Twitter/X)
• MDX Content Processing (work/posts)
C. External Services:
• GitHub API
• Twitter/X API
• Vercel Deployment Platform
┌─────────────────────────────────────────────────────────────┐
• Client Layer │
• ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
• App Router │ │ UI/UX │ │ WebGL │ │
• (Pages) │ │ Components │ │ Shaders │ │
• ┘ └─────────────┘ └─────────────┘ │
• ▲ ▲ ▲ │
• ┼────────────┼────────────────┼────────────────┘
┌─────────────┼────────────┼────────────────┼────────────────┐
• ▼ ▼ ▼ │
• Server Layer │
• ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
• MDX │ │ Server │ │ API │ │
• Processing │ │ Components │ │ Routes │ │
• ┘ └─────────────┘ └─────────────┘ │
• ▲ ▲ ▲ │
• ┼────────────┼────────────────┼────────────────┘
┌─────────────┼────────────┼────────────────┼────────────────┐
• ▼ ▼ ▼ │
• External Services │
• ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
• GitHub │ │ Twitter/X │ │ Vercel │ │
• API │ │ API │ │ Deployment │ │
• ┘ └─────────────┘ └─────────────┘ │
• ┘
Key Architectural Patterns to Highlight
A. Next.js App Router Architecture:
• Hierarchy of routes under src/app
• Separation between (home) and work routes
• Server and client components
B. Component Architecture:
• Relationship between UI components and pages
• Integration of MDX content with the component system
• Shared components structure
C. Data Flow:
• Flow from external APIs through server components to the client
• How contact form data moves through the system
• Demonstrate the content rendering pipeline for MDX posts
Implementation Notes
• Maintain consistent spacing and alignment
• Annotations for key architectural decisions
• Creating separate detailed views for complex subsystems