How eronred/widget-based-portfolio-nextjs-tailwind works
Main Components Structure
A. Application Layer
• Next.js App Router Structure
• Global Layout and Styling
• Page Components
B. Component Layer
• Widgets System
• Applications System
• Core UI Components
C. Supporting Layer
• Hooks
• Libraries
• Utils
• Static Assets
Detailed Component Breakdown
[Application Layer]
• App Router (app/)
• Layout (layout.tsx)
• Home Page (page.tsx)
• Global Styles (globals.css)
[Component Layer]
• Widget System
• Interactive Widgets
• (Calendar, CD Player, Github Heatmap, etc.)
• Display Widgets
• (Quote, Social Media, Product Launch, etc.)
• Applications System
• App Components
• (Arc Browser, Figma, VSCode, etc.)
• Core UI
• Layout Components
• Interactive Elements
[Supporting Layer]
• Custom Hooks
• Animation Library
• Utility Functions
• Static Assets
Key Relationships to Highlight
a. Component Hierarchy:
• How widgets are composed and rendered within the main layout
• How applications are integrated into the widget system
• The relationship between core UI components and specialized widgets
b. Data Flow:
• How hooks provide data and functionality to components
• How animation utilities integrate with components
• How static assets are utilized by different components
Technical Stack Indicators
A technical stack section showing:
• Next.js
• Tailwind CSS
• Framer Motion
• TypeScript