How developer-pritam/portfolio-pritam works
Main Components
A. Client-Side Layer:
• Next.js App Router (app directory structure)
• Component Layer
• Theme Provider
• Animation System (Framer Motion)
B. Server-Side Layer:
• Next.js Server Components
• API Integration (Google Forms)
C. Static Assets:
• Public Resources
• Content Management
Component Relationships
┌─────────────────────────────────────────────┐
• Client Layer │
• ┤
• Server Layer │
• ┤
• Static Assets │
• ┘
Detailed Component Breakdown
• Home (/)
• About (/about)
• Education (/education)
• Experience (/experience)
• Projects (/projects)
• UI Components hierarchy:
• Layout Components (Header, Footer, Navbar)
• Page Components (Hero, About, Projects, etc.)
• UI Components (buttons, inputs, textarea)
• Theme Provider System:
• Dark/Light Mode Controller
• Global Styles
• Next.js Server Components
• API Routes
• Google Forms Integration
• SEO Optimization Layer
• Public Directory Structure
• Content Management System (lib/content.ts)
• Image Assets
• Fonts
Data Flow Indicators
• User interaction flow
• Theme switching mechanism
• Form submission process
• Content rendering pipeline
Technical Details
• Build tools (Next.js, TypeScript)
• Styling tools (Tailwind CSS, Shadcn UI)
• Animation library (Framer Motion)
• Content management (lib/content.ts)
Optimization Features
Highlight:
• Static page generation
• Image optimization
• CSS optimization
• Performance optimization points
• Rectangles: Components and pages
• Rounded rectangles: Services and utilities
• Hexagons: External services (Google Forms)
Remember to include version numbers for major dependencies (Next.js 14, etc.) and add notes about the responsive design implementation and dark mode functionality.