How nicolasd09/nextjs_portfolio works
Main System Components
a) Frontend Layer (Next.js Application)
• Client-side Components
• Server-side Components (Next.js 13+ App Router)
• Static Pages
• Dynamic Routes
b) Content Management
• Contentful Integration (evident from contentfulTypes.d.ts and generateContentfulTypes.js)
c) API Layer
• Internal API Routes
• External Services Integration
Component Organization
a) Page Structure
• Main sections: Experiences, Projects, Skills, About, Contact
• Dynamic routing patterns ([slug] routes)
• Layout hierarchy
b) Component Architecture
• Shared Components (UI, Navigation, etc.)
• Page-specific Components
• Reusable Elements
Data Flow Representation
Following interactions:
[Contentful CMS] <---> [Next.js Backend] <---> [Next.js Frontend] <---> [User Interface]
Specific Implementation Details
Key architectural elements:
a) Route Structure
• App Router organization (/src/app structure)
• API routes (/src/api)
• Dynamic routes for experiences, projects, and skills
b) Component Hierarchy
• Layout components
• Page components
• Shared UI components
• Feature-specific components
• Client Layer |
• (Browser/Next.js) |
• ↕
• Application Layer |
• (Next.js App Router) |
• ↕
• Data Layer |
• (Contentful) |