# saksh-verma/verma-portfolio architecture

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

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

## Overview

This repository is a React portfolio site. A browser loads the app, which presents a timed loading screen and then a single-page portfolio with Home, About, Projects, and Contact sections; visitors can navigate sections and submit a message through EmailJS. The component excerpts support the main rendering and contact flow. Other section components are preserved as product capabilities; the graph does not infer backend behavior or inspect unsampled files.

Main entry points: [`src/App.jsx`](https://github.com/saksh-verma/verma-portfolio/blob/main/src/App.jsx) (App shell), [`src/components/RevealOnScroll.jsx`](https://github.com/saksh-verma/verma-portfolio/blob/main/src/components/RevealOnScroll.jsx) (Scroll reveal), [`src/components/sections/Contact.jsx`](https://github.com/saksh-verma/verma-portfolio/blob/main/src/components/sections/Contact.jsx) (Contact section), [`src/main.jsx`](https://github.com/saksh-verma/verma-portfolio/blob/main/src/main.jsx) (React entry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App shell"]
  node_entry["React entry<br/>[main.jsx]"]
  node_app_root["App shell<br/>[App.jsx]"]
  node_loading["Loading screen<br/>[LoadingScreen.jsx]"]
end

subgraph group_navigation["Navigation"]
  node_navbar["Navbar<br/>[Navbar.jsx]"]
  node_mobile_menu["Mobile menu<br/>[MobileMenu.jsx]"]
end

subgraph group_portfolio["Portfolio content"]
  node_home["Home section<br/>[Home.jsx]"]
  node_about["About section<br/>[About.jsx]"]
  node_projects["Projects section<br/>[Projects.jsx]"]
  node_reveal["Scroll reveal<br/>[RevealOnScroll.jsx]"]
end

subgraph group_contact["Contact"]
  node_contact["Contact section<br/>[Contact.jsx]"]
end

node_visitor(("Visitor"))
node_browser(("Browser"))
node_emailjs["EmailJS service"]

node_visitor -->|"uses"| node_browser
node_browser -.->|"loads app"| node_entry
node_entry -->|"renders"| node_app_root
node_app_root -->|"renders"| node_loading
node_loading -->|"signals completion"| node_app_root
node_app_root -->|"renders"| node_navbar
node_app_root -->|"renders"| node_mobile_menu
node_app_root -->|"renders"| node_home
node_app_root -->|"renders"| node_about
node_app_root -->|"renders"| node_projects
node_app_root -->|"renders"| node_contact
node_app_root -->|"passes menu state"| node_navbar
node_app_root -->|"passes menu state"| node_mobile_menu
node_home -->|"renders within"| node_reveal
node_about -->|"renders within"| node_reveal
node_projects -->|"renders within"| node_reveal
node_contact -->|"renders within"| node_reveal
node_contact -->|"sends form"| node_emailjs

click node_entry "https://github.com/saksh-verma/verma-portfolio/blob/main/src/main.jsx"
click node_app_root "https://github.com/saksh-verma/verma-portfolio/blob/main/src/App.jsx"
click node_loading "https://github.com/saksh-verma/verma-portfolio/blob/main/src/components/LoadingScreen.jsx"
click node_navbar "https://github.com/saksh-verma/verma-portfolio/blob/main/src/components/Navbar.jsx"
click node_mobile_menu "https://github.com/saksh-verma/verma-portfolio/blob/main/src/components/MobileMenu.jsx"
click node_home "https://github.com/saksh-verma/verma-portfolio/blob/main/src/components/sections/Home.jsx"
click node_about "https://github.com/saksh-verma/verma-portfolio/blob/main/src/components/sections/About.jsx"
click node_projects "https://github.com/saksh-verma/verma-portfolio/blob/main/src/components/sections/Projects.jsx"
click node_reveal "https://github.com/saksh-verma/verma-portfolio/blob/main/src/components/RevealOnScroll.jsx"
click node_contact "https://github.com/saksh-verma/verma-portfolio/blob/main/src/components/sections/Contact.jsx"

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,node_loading,node_browser toneBlue
class node_navbar,node_mobile_menu toneAmber
class node_home,node_about,node_projects,node_reveal toneMint
class node_contact toneRose
class node_visitor,node_emailjs toneIndigo
```

## Components

### App shell

- [React entry](https://github.com/saksh-verma/verma-portfolio/blob/main/src/main.jsx): `src/main.jsx`
- [App shell](https://github.com/saksh-verma/verma-portfolio/blob/main/src/App.jsx): `src/App.jsx`
- [Loading screen](https://github.com/saksh-verma/verma-portfolio/blob/main/src/components/LoadingScreen.jsx): `src/components/LoadingScreen.jsx`

### Navigation

- [Navbar](https://github.com/saksh-verma/verma-portfolio/blob/main/src/components/Navbar.jsx): `src/components/Navbar.jsx`
- [Mobile menu](https://github.com/saksh-verma/verma-portfolio/blob/main/src/components/MobileMenu.jsx): `src/components/MobileMenu.jsx`

### Portfolio content

- [Home section](https://github.com/saksh-verma/verma-portfolio/blob/main/src/components/sections/Home.jsx): `src/components/sections/Home.jsx`
- [About section](https://github.com/saksh-verma/verma-portfolio/blob/main/src/components/sections/About.jsx): `src/components/sections/About.jsx`
- [Projects section](https://github.com/saksh-verma/verma-portfolio/blob/main/src/components/sections/Projects.jsx): `src/components/sections/Projects.jsx`
- [Scroll reveal](https://github.com/saksh-verma/verma-portfolio/blob/main/src/components/RevealOnScroll.jsx): `src/components/RevealOnScroll.jsx`

### Contact

- [Contact section](https://github.com/saksh-verma/verma-portfolio/blob/main/src/components/sections/Contact.jsx): `src/components/sections/Contact.jsx`

### Other components

- **Visitor**
- **Browser**
- **EmailJS service**

## Connections

- Visitor → Browser: uses
- Browser → React entry: loads app
- React entry → App shell: renders (evidence: `src/main.jsx`)
- App shell → Loading screen: renders (evidence: `src/App.jsx`)
- Loading screen → App shell: signals completion (evidence: `src/components/LoadingScreen.jsx`)
- App shell → Navbar: renders (evidence: `src/App.jsx`)
- App shell → Mobile menu: renders (evidence: `src/App.jsx`)
- App shell → Home section: renders (evidence: `src/App.jsx`)
- App shell → About section: renders (evidence: `src/App.jsx`)
- App shell → Projects section: renders (evidence: `src/App.jsx`)
- App shell → Contact section: renders (evidence: `src/App.jsx`)
- App shell → Navbar: passes menu state (evidence: `src/App.jsx`)
- App shell → Mobile menu: passes menu state (evidence: `src/App.jsx`)
- Home section → Scroll reveal: renders within (evidence: `src/components/sections/Home.jsx`)
- About section → Scroll reveal: renders within (evidence: `src/components/sections/About.jsx`)
- Projects section → Scroll reveal: renders within (evidence: `src/components/sections/Projects.jsx`)
- Contact section → Scroll reveal: renders within (evidence: `src/components/sections/Contact.jsx`)
- Contact section → EmailJS service: sends form (evidence: `src/components/sections/Contact.jsx`)
