# cuevaserik-dev/portafolio_cuevaserik-dev architecture

> Architecture diagram of the GitHub repository cuevaserik-dev/portafolio_cuevaserik-dev, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/cuevaserik-dev/portafolio_cuevaserik-dev
- Repository: https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev

## Overview

This is a React/TypeScript personal portfolio. A visitor loads the app, which renders navigation, an introduction, projects, skills, contact information, and a footer; the introduction also offers a CV download and GitHub link. The graph preserves the listed portfolio sections and their data/UI components. Source excerpts show the main composition and several component dependencies; contact and footer internals are less fully sampled, so no unsupported behavior is inferred.

Main entry points: [`src/App.tsx`](https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/App.tsx) (Portfolio App), [`src/components/sections/Hero.tsx`](https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/components/sections/Hero.tsx) (Introduction), [`src/components/layout/Navbar.tsx`](https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/components/layout/Navbar.tsx) (Navigation), [`src/components/sections/ProjectSection.tsx`](https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/components/sections/ProjectSection.tsx) (Projects Section)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application"]
  node_entry["React Entry<br/>[main.tsx]"]
  node_app_root["Portfolio App<br/>[App.tsx]"]
end

subgraph group_content["Portfolio Content"]
  node_navbar["Navigation<br/>[Navbar.tsx]"]
  node_hero["Introduction<br/>[Hero.tsx]"]
  node_projects_section["Projects Section<br/>[ProjectSection.tsx]"]
  node_skills_section["Skills Section<br/>[Skills.tsx]"]
  node_contact["Contact Section<br/>[Contact.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
  node_download["CV Downloader<br/>[downolad.ts]"]
end

subgraph group_presentation["UI Components"]
  node_button["Action Button<br/>[Button.tsx]"]
  node_theme_button["Theme Control<br/>[ButtonTheme.tsx]"]
  node_project_card["Project Card<br/>[CardProject.tsx]"]
  node_logo["Portfolio Logo<br/>[Logo.tsx]"]
end

subgraph group_data["Portfolio Data"]
  node_bio_data["Bio Data<br/>[bio.ts]"]
  node_project_data["Project Data<br/>[projects.ts]"]
  node_skill_data["Skills Data<br/>[skills.ts]"]
end

node_visitor(("Visitor"))
node_cv_file["CV PDF"]
node_github(("GitHub Profile"))

node_entry -->|"renders"| node_app_root
node_app_root -->|"renders"| node_navbar
node_app_root -->|"renders"| node_hero
node_app_root -->|"renders"| node_projects_section
node_app_root -->|"renders"| node_skills_section
node_app_root -->|"renders"| node_contact
node_app_root -->|"renders"| node_footer
node_navbar -->|"renders"| node_logo
node_navbar -->|"renders"| node_theme_button
node_footer -->|"renders"| node_logo
node_hero -->|"reads"| node_bio_data
node_hero -->|"renders"| node_button
node_hero -->|"calls"| node_download
node_download -.->|"downloads"| node_cv_file
node_hero -->|"opens profile"| node_github
node_projects_section -->|"reads"| node_project_data
node_projects_section -->|"renders"| node_project_card
node_skills_section -->|"reads"| node_skill_data
node_visitor -.->|"opens portfolio"| node_entry

click node_entry "https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/main.tsx"
click node_app_root "https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/App.tsx"
click node_navbar "https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/components/layout/Navbar.tsx"
click node_hero "https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/components/sections/Hero.tsx"
click node_projects_section "https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/components/sections/ProjectSection.tsx"
click node_skills_section "https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/components/sections/Skills.tsx"
click node_contact "https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/components/sections/Contact.tsx"
click node_footer "https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/components/layout/Footer.tsx"
click node_bio_data "https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/data/bio.ts"
click node_project_data "https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/data/projects.ts"
click node_skill_data "https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/data/skills.ts"
click node_download "https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/utils/downolad.ts"
click node_cv_file "https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/public/documents/CV-Erik_Israel_Cuevas_Hernandez.pdf"
click node_button "https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/components/ui/Button.tsx"
click node_theme_button "https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/components/ui/ButtonTheme.tsx"
click node_project_card "https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/components/ui/CardProject.tsx"
click node_logo "https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/components/ui/Logo.tsx"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_entry,node_app_root toneBlue
class node_navbar,node_hero,node_projects_section,node_skills_section,node_contact,node_footer,node_download toneAmber
class node_button,node_theme_button,node_project_card,node_logo toneMint
class node_bio_data,node_project_data,node_skill_data toneRose
class node_visitor,node_github toneIndigo
class node_cv_file toneTeal
```

## Components

### Application

- [React Entry](https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/main.tsx): `src/main.tsx`
- [Portfolio App](https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/App.tsx): `src/App.tsx`

### Portfolio Content

- [Navigation](https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/components/layout/Navbar.tsx): `src/components/layout/Navbar.tsx`
- [Introduction](https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/components/sections/Hero.tsx): `src/components/sections/Hero.tsx`
- [Projects Section](https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/components/sections/ProjectSection.tsx): `src/components/sections/ProjectSection.tsx`
- [Skills Section](https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/components/sections/Skills.tsx): `src/components/sections/Skills.tsx`
- [Contact Section](https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/components/sections/Contact.tsx): `src/components/sections/Contact.tsx`
- [Footer](https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/components/layout/Footer.tsx): `src/components/layout/Footer.tsx`
- [CV Downloader](https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/utils/downolad.ts): `src/utils/downolad.ts`

### UI Components

- [Action Button](https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/components/ui/Button.tsx): `src/components/ui/Button.tsx`
- [Theme Control](https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/components/ui/ButtonTheme.tsx): `src/components/ui/ButtonTheme.tsx`
- [Project Card](https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/components/ui/CardProject.tsx): `src/components/ui/CardProject.tsx`
- [Portfolio Logo](https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/components/ui/Logo.tsx): `src/components/ui/Logo.tsx`

### Portfolio Data

- [Bio Data](https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/data/bio.ts): `src/data/bio.ts`
- [Project Data](https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/data/projects.ts): `src/data/projects.ts`
- [Skills Data](https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/src/data/skills.ts): `src/data/skills.ts`

### Other components

- **Visitor**
- [CV PDF](https://github.com/cuevaserik-dev/portafolio_cuevaserik-dev/blob/main/public/documents/CV-Erik_Israel_Cuevas_Hernandez.pdf): `public/documents/CV-Erik_Israel_Cuevas_Hernandez.pdf`
- **GitHub Profile**

## Connections

- React Entry → Portfolio App: renders (evidence: `src/main.tsx`)
- Portfolio App → Navigation: renders (evidence: `src/App.tsx`)
- Portfolio App → Introduction: renders (evidence: `src/App.tsx`)
- Portfolio App → Projects Section: renders (evidence: `src/App.tsx`)
- Portfolio App → Skills Section: renders (evidence: `src/App.tsx`)
- Portfolio App → Contact Section: renders (evidence: `src/App.tsx`)
- Portfolio App → Footer: renders (evidence: `src/App.tsx`)
- Navigation → Portfolio Logo: renders (evidence: `src/components/layout/Navbar.tsx`)
- Navigation → Theme Control: renders (evidence: `src/components/layout/Navbar.tsx`)
- Footer → Portfolio Logo: renders (evidence: `src/components/layout/Footer.tsx`)
- Introduction → Bio Data: reads (evidence: `src/components/sections/Hero.tsx`)
- Introduction → Action Button: renders (evidence: `src/components/sections/Hero.tsx`)
- Introduction → CV Downloader: calls (evidence: `src/components/sections/Hero.tsx`)
- CV Downloader → CV PDF: downloads
- Introduction → GitHub Profile: opens profile (evidence: `src/components/sections/Hero.tsx`)
- Projects Section → Project Data: reads (evidence: `src/components/sections/ProjectSection.tsx`)
- Projects Section → Project Card: renders (evidence: `src/components/sections/ProjectSection.tsx`)
- Skills Section → Skills Data: reads (evidence: `src/components/sections/Skills.tsx`)
- Visitor → React Entry: opens portfolio
