How jaival/jigna-saija works
Main System Components
a. Frontend Layer:
• Next.js Application (Core)
• Client-side Components
• Server-side Components
• Static Pages
• Dynamic Routes
b. API Layer:
• Contact Form API
• Email Service Integration
c. Static Assets:
• Image Management System
• Public Resources
Component Organization
A. Application Core (Top Level):
• Next.js App Router structure
• Main layout component (app/layout.tsx)
• To global styling (globals.css)
B. Page Components (Second Level):
• Main routes: Home, Projects, Contact
• Dynamic routing for projects ([id])
• Loading and error states
C. Component Layer (Third Level):
• UI Components (components/ui/*)
• Feature Components (hero, projects, contactMe, etc.)
• Provider Components
D. Data Management (Fourth Level):
• Static Data Files (data/*)
• Type Definitions (lib/types/*)
• Utility Functions (lib/utils.ts)
E. External Services (Fifth Level):
• Email Service Integration
• API Routes
Connection Flows
• Client-side navigation paths
• API request/response flows
• Data flow between components
• Email service integration
Detailed Component Breakdown
• UI Component Library structure
• Gallery Component system
• Contact form flow
• Project display system