How ar-rashik/bblock-site works
Main Architecture Components
a) Client-Side Layer:
• Next.js App Router (src/app/*)
• Components Layer (src/components/*)
• UI Components (src/components/ui/*)
• Shared Components (src/components/shared/*)
• Section Components (src/components/sections/*)
b) Core Infrastructure:
• Configuration Layer (src/config/*)
• Utilities Layer (src/lib/*)
• Type Definitions (src/types/*)
• Static Assets (public/*)
Component Relationships
[Client Browser]
• ↕
[Next.js App Router]
• ↕
[Page Components] ←→ [Section Components]
• ↕ ↕
[Shared Components] ←→ [UI Components]
• ↕
[Utilities/Config/Types]
Specific Implementation Details
• Blue Rectangles: Page components (src/app/*)
• Green Rectangles: Reusable UI components (src/components/ui/*)
• Yellow Rectangles: Section components (src/components/sections/*)
• Purple Rectangles: Shared components (src/components/shared/*)
• Gray Rectangles: Configuration and utilities (src/lib/*, src/config/*)
Key Features to Highlight
• The app router structure showing main routes (/blog, /privacy-policy)
• Component hierarchy and reusability
• Integration with shadcn/ui components
• Static asset management (public/images/*)
• Utility functions and configurations
Technical Stack Indicators
Integration points for:
• TypeScript
• Tailwind CSS
• shadcn/ui components
• Environment variables
• Next.js configuration
Data Flow
• User interactions → Components
• Component → Component communications
• Static asset loading
• Configuration injection
This will provide a clear understanding of how the different parts of the application work together while maintaining the modern Next.js 14+ architecture patterns.