# prabhu120607-ops/portfolio-v2 architecture

> Architecture diagram of the GitHub repository prabhu120607-ops/portfolio-v2, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/prabhu120607-ops/portfolio-v2
- Repository: https://github.com/prabhu120607-ops/portfolio-v2

## Overview

This is a static personal portfolio: visitors browse the home, about, skills, projects, and contact sections, with interactive navigation and project details; the contact API can send submitted messages through Resend. The README documents a resume download, represented by the CV asset. Source excerpts show navigation, project interactions, contact validation, and API email handling; they do not show the HTML wiring the pages to scripts or the contact form to the API, so those links are omitted.

Main entry points: [`api/contact.js`](https://github.com/prabhu120607-ops/portfolio-v2/blob/main/api/contact.js) (Contact Endpoint), [`index.html`](https://github.com/prabhu120607-ops/portfolio-v2/blob/main/index.html) (Home), [`about.html`](https://github.com/prabhu120607-ops/portfolio-v2/blob/main/about.html) (About), [`skills.html`](https://github.com/prabhu120607-ops/portfolio-v2/blob/main/skills.html) (Skills)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Portfolio Pages"]
  node_home["Home<br/>[index.html]"]
  node_about["About<br/>[about.html]"]
  node_skills["Skills<br/>[skills.html]"]
  node_projects["Projects<br/>[projects.html]"]
  node_contact_page["Contact Page<br/>[contact.html]"]
  node_resume["Resume File<br/>[cv120607.docx]"]
end

subgraph group_interactions["Browser Interactions"]
  node_navigation["Navigation<br/>[main.js]"]
  node_project_interactions["Project Filtering and Modal<br/>[projects.js]"]
end

subgraph group_contact["Contact Delivery"]
  node_contact_validation["Form Validation<br/>[contact.js]"]
  node_contact_endpoint["Contact Endpoint<br/>[contact.js]"]
  node_resend["Resend Email Service"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_home
node_visitor -->|"browses"| node_about
node_visitor -->|"browses"| node_skills
node_visitor -->|"browses"| node_projects
node_visitor -->|"browses"| node_contact_page
node_visitor -->|"downloads"| node_resume
node_contact_endpoint -->|"sends email"| node_resend

click node_home "https://github.com/prabhu120607-ops/portfolio-v2/blob/main/index.html"
click node_about "https://github.com/prabhu120607-ops/portfolio-v2/blob/main/about.html"
click node_skills "https://github.com/prabhu120607-ops/portfolio-v2/blob/main/skills.html"
click node_projects "https://github.com/prabhu120607-ops/portfolio-v2/blob/main/projects.html"
click node_contact_page "https://github.com/prabhu120607-ops/portfolio-v2/blob/main/contact.html"
click node_resume "https://github.com/prabhu120607-ops/portfolio-v2/blob/main/asserts/CV/cv120607.docx"
click node_navigation "https://github.com/prabhu120607-ops/portfolio-v2/blob/main/js/main.js"
click node_project_interactions "https://github.com/prabhu120607-ops/portfolio-v2/blob/main/js/projects.js"
click node_contact_validation "https://github.com/prabhu120607-ops/portfolio-v2/blob/main/js/contact.js"
click node_contact_endpoint "https://github.com/prabhu120607-ops/portfolio-v2/blob/main/api/contact.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,node_about,node_skills,node_projects,node_contact_page,node_resume toneBlue
class node_navigation,node_project_interactions toneAmber
class node_contact_validation,node_contact_endpoint,node_resend toneMint
class node_visitor toneIndigo
```

## Components

### Portfolio Pages

- [Home](https://github.com/prabhu120607-ops/portfolio-v2/blob/main/index.html): `index.html`
- [About](https://github.com/prabhu120607-ops/portfolio-v2/blob/main/about.html): `about.html`
- [Skills](https://github.com/prabhu120607-ops/portfolio-v2/blob/main/skills.html): `skills.html`
- [Projects](https://github.com/prabhu120607-ops/portfolio-v2/blob/main/projects.html): `projects.html`
- [Contact Page](https://github.com/prabhu120607-ops/portfolio-v2/blob/main/contact.html): `contact.html`
- [Resume File](https://github.com/prabhu120607-ops/portfolio-v2/blob/main/asserts/CV/cv120607.docx): `asserts/CV/cv120607.docx`

### Browser Interactions

- [Navigation](https://github.com/prabhu120607-ops/portfolio-v2/blob/main/js/main.js): `js/main.js`
- [Project Filtering and Modal](https://github.com/prabhu120607-ops/portfolio-v2/blob/main/js/projects.js): `js/projects.js`

### Contact Delivery

- [Form Validation](https://github.com/prabhu120607-ops/portfolio-v2/blob/main/js/contact.js): `js/contact.js`
- [Contact Endpoint](https://github.com/prabhu120607-ops/portfolio-v2/blob/main/api/contact.js): `api/contact.js`
- **Resend Email Service**

### Other components

- **Visitor**

## Connections

- Visitor → Home: opens (evidence: `README.md`)
- Visitor → About: browses (evidence: `README.md`)
- Visitor → Skills: browses (evidence: `README.md`)
- Visitor → Projects: browses (evidence: `README.md`)
- Visitor → Contact Page: browses (evidence: `README.md`)
- Visitor → Resume File: downloads (evidence: `README.md`)
- Contact Endpoint → Resend Email Service: sends email (evidence: `api/contact.js`)
