# usis051620/portafolio-programacion architecture

> Architecture diagram of the GitHub repository usis051620/portafolio-programacion, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-06). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/usis051620/portafolio-programacion
- Repository: https://github.com/usis051620/portafolio-programacion

## Overview

This is a personal programming portfolio: visitors can browse the portfolio in Spanish or English, view certificates and project collections, and submit a contact form. The visible internal layer is browser-side interaction: menu and scroll effects, language redirection, and form submission. The HTML pages and project directories are listed but not sampled, so their contents and links are uncertain; relationships among those pages are omitted.

Main entry points: [`index.html`](https://github.com/usis051620/portafolio-programacion/blob/main/index.html) (Home (Spanish)), [`js/main.js`](https://github.com/usis051620/portafolio-programacion/blob/main/js/main.js) (Menu and scroll behavior), [`js/traducir.js`](https://github.com/usis051620/portafolio-programacion/blob/main/js/traducir.js) (Language redirect), [`js/contacto.js`](https://github.com/usis051620/portafolio-programacion/blob/main/js/contacto.js) (Contact handler)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_pages["Portfolio pages"]
  node_home_es["Home &#40;Spanish&#41;<br/>[index.html]"]
  node_home_en["Home &#40;English&#41;<br/>[index-ingles.html]"]
  node_cert_es["Certificates &#40;Spanish&#41;<br/>[certificados.html]"]
  node_cert_en["Certificates &#40;English&#41;"]
  node_projects_es["Projects &#40;Spanish&#41;<br/>[proyectosPro.html]"]
  node_projects_en["Projects &#40;English&#41;"]
  node_projects_followup_es["More projects &#40;Spanish&#41;<br/>[proyectosSegu.html]"]
  node_projects_followup_en["More projects &#40;English&#41;"]
end

subgraph group_projects["Project collections"]
  node_project_dirs["Project implementations"]
end

subgraph group_interaction["Browser interactions"]
  node_contact_ui["Contact handler<br/>[contacto.js]"]
  node_ui_behavior["Menu and scroll behavior<br/>[main.js]"]
  node_language_redirect["Language redirect<br/>[traducir.js]"]
end

node_visitor(("Visitor"))
node_form_service["Form endpoint"]
node_scroll_reveal["ScrollReveal library"]

node_visitor -.->|"visits"| node_home_es
node_visitor -.->|"visits"| node_home_en
node_visitor -->|"submits form"| node_contact_ui
node_contact_ui -->|"sends form"| node_form_service
node_language_redirect -->|"redirects to"| node_home_en
node_language_redirect -->|"redirects to"| node_home_es
node_ui_behavior -->|"updates interface"| node_home_es
node_ui_behavior -->|"calls"| node_scroll_reveal

click node_home_es "https://github.com/usis051620/portafolio-programacion/blob/main/index.html"
click node_home_en "https://github.com/usis051620/portafolio-programacion/blob/main/index-ingles.html"
click node_cert_es "https://github.com/usis051620/portafolio-programacion/blob/main/certificados.html"
click node_cert_en "https://github.com/usis051620/portafolio-programacion/blob/main/certificados-ingles.html"
click node_projects_es "https://github.com/usis051620/portafolio-programacion/blob/main/proyectosPro.html"
click node_projects_en "https://github.com/usis051620/portafolio-programacion/blob/main/proyectosPro-ingles.html"
click node_projects_followup_es "https://github.com/usis051620/portafolio-programacion/blob/main/proyectosSegu.html"
click node_projects_followup_en "https://github.com/usis051620/portafolio-programacion/blob/main/proyectosSegu-ingles.html"
click node_project_dirs "https://github.com/usis051620/portafolio-programacion/tree/main/proyectos"
click node_contact_ui "https://github.com/usis051620/portafolio-programacion/blob/main/js/contacto.js"
click node_ui_behavior "https://github.com/usis051620/portafolio-programacion/blob/main/js/main.js"
click node_language_redirect "https://github.com/usis051620/portafolio-programacion/blob/main/js/traducir.js"

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_home_es,node_home_en,node_cert_es,node_cert_en,node_projects_es,node_projects_en,node_projects_followup_es,node_projects_followup_en toneBlue
class node_project_dirs toneAmber
class node_contact_ui,node_ui_behavior,node_language_redirect toneMint
class node_visitor,node_form_service,node_scroll_reveal toneIndigo
```

## Components

### Portfolio pages

- [Home (Spanish)](https://github.com/usis051620/portafolio-programacion/blob/main/index.html): `index.html`
- [Home (English)](https://github.com/usis051620/portafolio-programacion/blob/main/index-ingles.html): `index-ingles.html`
- [Certificates (Spanish)](https://github.com/usis051620/portafolio-programacion/blob/main/certificados.html): `certificados.html`
- [Certificates (English)](https://github.com/usis051620/portafolio-programacion/blob/main/certificados-ingles.html): `certificados-ingles.html`
- [Projects (Spanish)](https://github.com/usis051620/portafolio-programacion/blob/main/proyectosPro.html): `proyectosPro.html`
- [Projects (English)](https://github.com/usis051620/portafolio-programacion/blob/main/proyectosPro-ingles.html): `proyectosPro-ingles.html`
- [More projects (Spanish)](https://github.com/usis051620/portafolio-programacion/blob/main/proyectosSegu.html): `proyectosSegu.html`
- [More projects (English)](https://github.com/usis051620/portafolio-programacion/blob/main/proyectosSegu-ingles.html): `proyectosSegu-ingles.html`

### Project collections

- [Project implementations](https://github.com/usis051620/portafolio-programacion/tree/main/proyectos): `proyectos`

### Browser interactions

- [Contact handler](https://github.com/usis051620/portafolio-programacion/blob/main/js/contacto.js): `js/contacto.js`
- [Menu and scroll behavior](https://github.com/usis051620/portafolio-programacion/blob/main/js/main.js): `js/main.js`
- [Language redirect](https://github.com/usis051620/portafolio-programacion/blob/main/js/traducir.js): `js/traducir.js`

### Other components

- **Visitor**
- **Form endpoint**
- **ScrollReveal library**

## Connections

- Visitor → Home (Spanish): visits
- Visitor → Home (English): visits
- Visitor → Contact handler: submits form (evidence: `js/contacto.js`)
- Contact handler → Form endpoint: sends form (evidence: `js/contacto.js`)
- Language redirect → Home (English): redirects to (evidence: `js/traducir.js`)
- Language redirect → Home (Spanish): redirects to (evidence: `js/traducir.js`)
- Menu and scroll behavior → Home (Spanish): updates interface (evidence: `js/main.js`)
- Menu and scroll behavior → ScrollReveal library: calls (evidence: `js/main.js`)
