# prakeeth07/portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/prakeeth07/portfolio
- Repository: https://github.com/prakeeth07/portfolio

## Overview

This is a static personal portfolio: visitors can browse project listings, view project details, switch appearance, and prepare a contact email. The sampled JavaScript shows project loading with fallback data, filtering and modal behavior, form validation, site navigation/theme controls, and an animated particle background. The HTML pages and styling are present in the tree, but their wiring and capabilities were not sampled; relationships involving them are therefore omitted rather than inferred.

Main entry points: [`js/portfolio.js`](https://github.com/prakeeth07/portfolio/blob/main/js/portfolio.js) (Project browser), [`js/contact.js`](https://github.com/prakeeth07/portfolio/blob/main/js/contact.js) (Contact validation), [`data/projects.json`](https://github.com/prakeeth07/portfolio/blob/main/data/projects.json) (Project records)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_pages["Portfolio Pages"]
  node_home["Home page<br/>[index.html]"]
  node_portfolio["Portfolio page<br/>[portfolio.html]"]
  node_contact["Contact page<br/>[contact.html]"]
end

subgraph group_features["Interactive Features"]
  node_site_controls["Navigation and theme<br/>[main.js]"]
  node_particle_background["Particle background<br/>[particles.js]"]
  node_project_browser["Project browser<br/>[portfolio.js]"]
  node_contact_form["Contact validation<br/>[contact.js]"]
end

subgraph group_content["Portfolio Content"]
  node_project_data["Project records<br/>[projects.json]"]
  node_site_styles["Site styling<br/>[style.css]"]
end

node_visitor(("Visitor"))
node_mail_app["Visitor mail app"]

node_project_browser -->|"fetches"| node_project_data
node_contact_form -->|"opens draft"| node_mail_app

click node_home "https://github.com/prakeeth07/portfolio/blob/main/index.html"
click node_portfolio "https://github.com/prakeeth07/portfolio/blob/main/portfolio.html"
click node_contact "https://github.com/prakeeth07/portfolio/blob/main/contact.html"
click node_site_controls "https://github.com/prakeeth07/portfolio/blob/main/js/main.js"
click node_particle_background "https://github.com/prakeeth07/portfolio/blob/main/js/particles.js"
click node_project_browser "https://github.com/prakeeth07/portfolio/blob/main/js/portfolio.js"
click node_contact_form "https://github.com/prakeeth07/portfolio/blob/main/js/contact.js"
click node_project_data "https://github.com/prakeeth07/portfolio/blob/main/data/projects.json"
click node_site_styles "https://github.com/prakeeth07/portfolio/blob/main/css/style.css"

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_portfolio,node_contact toneBlue
class node_site_controls,node_particle_background,node_project_browser,node_contact_form toneAmber
class node_project_data,node_site_styles toneMint
class node_visitor,node_mail_app toneIndigo
```

## Components

### Portfolio Pages

- [Home page](https://github.com/prakeeth07/portfolio/blob/main/index.html): `index.html`
- [Portfolio page](https://github.com/prakeeth07/portfolio/blob/main/portfolio.html): `portfolio.html`
- [Contact page](https://github.com/prakeeth07/portfolio/blob/main/contact.html): `contact.html`

### Interactive Features

- [Navigation and theme](https://github.com/prakeeth07/portfolio/blob/main/js/main.js): `js/main.js`
- [Particle background](https://github.com/prakeeth07/portfolio/blob/main/js/particles.js): `js/particles.js`
- [Project browser](https://github.com/prakeeth07/portfolio/blob/main/js/portfolio.js): `js/portfolio.js`
- [Contact validation](https://github.com/prakeeth07/portfolio/blob/main/js/contact.js): `js/contact.js`

### Portfolio Content

- [Project records](https://github.com/prakeeth07/portfolio/blob/main/data/projects.json): `data/projects.json`
- [Site styling](https://github.com/prakeeth07/portfolio/blob/main/css/style.css): `css/style.css`

### Other components

- **Visitor**
- **Visitor mail app**

## Connections

- Project browser → Project records: fetches (evidence: `js/portfolio.js`)
- Contact validation → Visitor mail app: opens draft (evidence: `js/contact.js`)
