# pmastan/mastan.portfolio architecture

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

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

## Overview

This is a React portfolio website presenting Mastan Vali’s profile, skills, projects, and contact options. A visitor enters through the browser-mounted app; the app renders shared navigation and footer around route-selected pages, while the home page also highlights projects and directs visitors to project or contact pages. Project listings support category filtering and link to demos or source repositories. The sampled source confirms the app’s route composition and key page behaviors; external links are shown as page content, not as integrations with inspected services.

Main entry points: [`src/App.jsx`](https://github.com/pmastan/mastan.portfolio/blob/main/src/App.jsx) (Portfolio App), [`src/main.jsx`](https://github.com/pmastan/mastan.portfolio/blob/main/src/main.jsx) (React Entry), [`src/components/Navbar.jsx`](https://github.com/pmastan/mastan.portfolio/blob/main/src/components/Navbar.jsx) (Navigation), [`src/components/Hero.jsx`](https://github.com/pmastan/mastan.portfolio/blob/main/src/components/Hero.jsx) (Home and Highlights)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Application Shell"]
  node_app["Portfolio App<br/>[App.jsx]"]
  node_entry["React Entry<br/>[main.jsx]"]
end

subgraph group_portfolio["Portfolio Pages"]
  node_hero["Home and Highlights<br/>[Hero.jsx]"]
  node_about["About Profile<br/>[About.jsx]"]
  node_skills["Skills Catalog<br/>[Skills.jsx]"]
  node_projects["Project Catalog<br/>[Projects.jsx]"]
end

subgraph group_engagement["Contact and Resume"]
  node_navbar["Navigation<br/>[Navbar.jsx]"]
  node_contact["Contact Options<br/>[Contact.jsx]"]
  node_footer["Footer<br/>[Footer.jsx]"]
  node_resume["Resume PDF<br/>[mastanResume.pdf]"]
end

node_visitor(("Visitor"))

node_visitor -.->|"visits"| node_entry
node_entry -->|"mounts"| node_app
node_app -->|"renders"| node_navbar
node_app -->|"routes to"| node_hero
node_app -->|"routes to"| node_about
node_app -->|"routes to"| node_skills
node_app -->|"routes to"| node_projects
node_app -->|"routes to"| node_contact
node_app -->|"renders"| node_footer
node_navbar -->|"links to"| node_resume

click node_app "https://github.com/pmastan/mastan.portfolio/blob/main/src/App.jsx"
click node_entry "https://github.com/pmastan/mastan.portfolio/blob/main/src/main.jsx"
click node_navbar "https://github.com/pmastan/mastan.portfolio/blob/main/src/components/Navbar.jsx"
click node_hero "https://github.com/pmastan/mastan.portfolio/blob/main/src/components/Hero.jsx"
click node_about "https://github.com/pmastan/mastan.portfolio/blob/main/src/components/About.jsx"
click node_skills "https://github.com/pmastan/mastan.portfolio/blob/main/src/components/Skills.jsx"
click node_projects "https://github.com/pmastan/mastan.portfolio/blob/main/src/components/Projects.jsx"
click node_contact "https://github.com/pmastan/mastan.portfolio/blob/main/src/components/Contact.jsx"
click node_footer "https://github.com/pmastan/mastan.portfolio/blob/main/src/components/Footer.jsx"
click node_resume "https://github.com/pmastan/mastan.portfolio/blob/main/public/mastanResume.pdf"

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_app,node_entry toneBlue
class node_hero,node_about,node_skills,node_projects toneAmber
class node_navbar,node_contact,node_footer,node_resume toneMint
class node_visitor toneIndigo
```

## Components

### Application Shell

- [Portfolio App](https://github.com/pmastan/mastan.portfolio/blob/main/src/App.jsx): `src/App.jsx`
- [React Entry](https://github.com/pmastan/mastan.portfolio/blob/main/src/main.jsx): `src/main.jsx`

### Portfolio Pages

- [Home and Highlights](https://github.com/pmastan/mastan.portfolio/blob/main/src/components/Hero.jsx): `src/components/Hero.jsx`
- [About Profile](https://github.com/pmastan/mastan.portfolio/blob/main/src/components/About.jsx): `src/components/About.jsx`
- [Skills Catalog](https://github.com/pmastan/mastan.portfolio/blob/main/src/components/Skills.jsx): `src/components/Skills.jsx`
- [Project Catalog](https://github.com/pmastan/mastan.portfolio/blob/main/src/components/Projects.jsx): `src/components/Projects.jsx`

### Contact and Resume

- [Navigation](https://github.com/pmastan/mastan.portfolio/blob/main/src/components/Navbar.jsx): `src/components/Navbar.jsx`
- [Contact Options](https://github.com/pmastan/mastan.portfolio/blob/main/src/components/Contact.jsx): `src/components/Contact.jsx`
- [Footer](https://github.com/pmastan/mastan.portfolio/blob/main/src/components/Footer.jsx): `src/components/Footer.jsx`
- [Resume PDF](https://github.com/pmastan/mastan.portfolio/blob/main/public/mastanResume.pdf): `public/mastanResume.pdf`

### Other components

- **Visitor**

## Connections

- Visitor → React Entry: visits
- React Entry → Portfolio App: mounts (evidence: `src/main.jsx`)
- Portfolio App → Navigation: renders (evidence: `src/App.jsx`)
- Portfolio App → Home and Highlights: routes to (evidence: `src/App.jsx`)
- Portfolio App → About Profile: routes to (evidence: `src/App.jsx`)
- Portfolio App → Skills Catalog: routes to (evidence: `src/App.jsx`)
- Portfolio App → Project Catalog: routes to (evidence: `src/App.jsx`)
- Portfolio App → Contact Options: routes to (evidence: `src/App.jsx`)
- Portfolio App → Footer: renders (evidence: `src/App.jsx`)
- Navigation → Resume PDF: links to (evidence: `src/components/Navbar.jsx`)
