How shahariar50/personal-portfolio works
Main Components Structure
a. Client Layer
• Browser/User Interface
• Next.js Runtime Environment
b. Application Layer
• Pages/Routing Structure
• Component Architecture
• Asset Management
• Styling System
Detailed Component Breakdown
a. Core Application Structure
• Layout System (layout.tsx)
• Page Components (page.tsx)
• Global Styles (globals.css)
b. Component Architecture (Create a hierarchical structure):
• Layout Components
• Header
• Container
• Page Components
• Home Page Sections
• Banner Section
• About Section
• Technology Section
• Common Components
• Buttons
• Cards
c. Asset Management
• Public Assets
• Images
Data Flow and State Management
• Component Data Flow (data.ts files → respective components)
• Type Definitions (Show how types are shared across components)
Build & Optimization Layer
A section showing:
• Next.js Configuration
• PostCSS/Tailwind Processing
• TypeScript Compilation
• ESLint Validation
Use these specific styling guidelines:
• Blue tones for Next.js/React components
• Green for static assets and public files
• Purple for configuration files
• Orange for data flow paths
• Rectangles for components
• Hexagons for configuration elements
Build Configuration Layer (Bottom)
Important Considerations:
App router architecture as this is a Next.js 13+ project
2. Component hierarchy clearly, especially the relationship between layout and page components
3. Separation of concerns between common components and page-specific components
Additional Notes:
• Annotations for key architectural decisions
• Relationship between TypeScript types and their implementing components
• Build and deployment pipeline
Remember to maintain a balance between showing the Next.js framework conventions and the custom application architecture specific to this project.