How sulemanahmedrajput/personal-portfolio works
Main System Components
a) Frontend Layer
• Next.js Application (Client & Server Components)
• UI Components Library
• Theme System
• Content Management Integration (Sanity)
b) API Layer
• Contact API Route
• Blog API Integration
c) External Services
• Sanity CMS Integration
• Email Service (for contact form)
┌─────────────────────────────────────────────┐
• Next.js Application │
• ┬─────────────┬──────────────┤
• Page Router │ Components │ API Layer │
• ┴─────────────┴──────────────┘
Specific Elements
a) Page Structure:
• Root Layout (app/layout.js)
• Home Page (app/page.js)
• Blog Pages (app/blog/*)
• Dynamic Routes
b) Component Categories:
• Custom Components:
• Interactive Components (Hero, Contact)
• Content Components (AboutMe, Skills)
• Layout Components (Navbar, Template)
• UI Components:
• Form Elements
• Interactive Elements
• Layout Elements
c) Integration Points:
• Sanity CMS Connection
• Contact Form API
• Theme System
Important Architectural Patterns to Highlight
• Server Components vs Client Components
• API Route Implementation
• Theme Provider Pattern
• Component Composition
• Data Fetching Strategy