How gnasamx/portfolio works
Main Components
A. Client-Side Components
• Pages/Routes Layer (app directory structure)
• Component Layer (shared components)
• Theme System (theme-provider + styles)
• Analytics Integration
B. Server-Side Components
• Next.js Server Runtime
• API Routes Layer
• File-based Routing System
• Static Asset Handling
C. Build/Development Infrastructure
• TypeScript Compilation
• Tailwind CSS Processing
• ESLint Configuration
• Next.js Application |
• Client Layer Server Layer Build System
• [Components] [API Routes] [Configuration]
• Theme Provider - /api/hello - TypeScript
• Analytics - Static Assets - Tailwind CSS
• Pages - Server Components - ESLint
• [Routing Layer] [Next.js Runtime] [Build Process]
Important Relationships
A. Client-Server Interaction
• How the app directory structure maps to routes
• API route connections
• Demonstrate static asset serving
B. Build Process Flow
• TypeScript compilation pipeline
• CSS/Tailwind processing
• Static optimization
Implementation Details
• File-based routing structure (/app directory)
• API routes implementation (/api directory)
• Static file serving (public directory)
• Style management (Tailwind + custom CSS)
• TypeScript integration
• Development tooling