How davidmariolc/portafolio works
Project Type Analysis
This is a Next.js-based personal portfolio website with React components, featuring a modern frontend architecture. It's a static site with some dynamic features like email functionality and dark mode support.
Main Components
A. Client-Side Layer:
• Sub-components:
• Pages (Home, API routes)
• Component Library
• Styling System
• Context API (for Dark Mode)
B. Next.js Framework Layer:
• Static Site Generation (SSG)
• File-based Routing
• API Routes
C. External Services:
• Email Service Integration
┌─────────────────────────────────────┐
• Client Layer │
• ┌─────────────┐ ┌─────────────┐ │
• Pages │ │ Components │ │
• ┘ └─────────────┘ │
• ┌─────────────┐ ┌─────────────┐ │
• Styles │ │ Context │ │
• ┘ └─────────────┘ │
• ┘
• ↑
┌─────────────────────────────────────┐
• Next.js Framework Layer │
• ┘
• ↑
┌─────────────────────────────────────┐
• External Services Layer │
• ┘
Component Organization
Components
• Layout Components
• Header
• Footer
• Wrapper
• Feature Components
• Hero
• About
• Projects
• Technologies
• Contact
• UI Components
• Title
• ProjectCard
• SliderProjects
• Shared Components
• Decoration
• Socials
Data Flow Indicators
• User interaction flows
• Component composition
• Data flow through Context API
• API route communications