# vanshsuri07/portfolio architecture

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

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

## Overview

This repository is a React portfolio website. Visitors browse its landing, biography, work, experience, contact, and footer sections; the work section lets them switch projects and inspect each in a 3D computer scene. The README also documents responsive styling, animation, 3D content, and EmailJS message sending. The sampled entry point and Projects implementation establish the main rendering and preview flow; some other section internals were not sampled, so their undocumented interactions are not inferred.

Main entry points: [`src/App.jsx`](https://github.com/vanshsuri07/portfolio/blob/main/src/App.jsx) (Page composition), [`src/sections/Projects.jsx`](https://github.com/vanshsuri07/portfolio/blob/main/src/sections/Projects.jsx) (Project gallery), [`src/sections/Hero.jsx`](https://github.com/vanshsuri07/portfolio/blob/main/src/sections/Hero.jsx) (Hero section), [`src/main.jsx`](https://github.com/vanshsuri07/portfolio/blob/main/src/main.jsx) (React entry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_page["Portfolio page"]
  node_entry["React entry<br/>[main.jsx]"]
  node_app["Page composition<br/>[App.jsx]"]
  node_navbar["Navigation<br/>[Navbar.jsx]"]
  node_hero["Hero section<br/>[Hero.jsx]"]
  node_about["About section<br/>[About.jsx]"]
  node_projects["Project gallery<br/>[Projects.jsx]"]
  node_experience["Experience section<br/>[Experience.jsx]"]
  node_contact["Contact section<br/>[Contact.jsx]"]
  node_footer["Footer<br/>[Footer.jsx]"]
end

subgraph group_visual["Interactive visuals"]
  node_computer["3D computer preview<br/>[DemoComputer.jsx]"]
  node_loader["Canvas loader<br/>[CanvasLoader.jsx]"]
  node_ether["Liquid animation<br/>[LiquidEther.jsx]"]
  node_type["Typed text<br/>[TextType.jsx]"]
  node_gooey["Gooey navigation<br/>[GooeyNav.jsx]"]
end

subgraph group_content["Portfolio content"]
  node_clients["Client testimonials<br/>[Clients.jsx]"]
  node_contentdata["Portfolio data<br/>[index.js]"]
end

subgraph group_shared["Shared presentation"]
  node_sectionwrap["Section wrapper<br/>[SectionWrapper.jsx]"]
  node_motion["Motion variants<br/>[motion.js]"]
end

node_visitor(("Site visitor"))
node_emailjs["EmailJS service"]

node_visitor -->|"opens site"| node_entry
node_entry -->|"renders"| node_app
node_app -->|"renders"| node_navbar
node_app -->|"renders"| node_hero
node_app -->|"renders"| node_about
node_app -->|"renders"| node_projects
node_app -->|"renders"| node_experience
node_app -->|"renders"| node_contact
node_app -->|"renders"| node_footer
node_navbar -->|"uses"| node_gooey
node_hero -->|"renders"| node_ether
node_hero -->|"renders"| node_type
node_projects -->|"reads projects"| node_contentdata
node_projects -->|"renders preview"| node_computer
node_projects -->|"uses fallback"| node_loader
node_clients -->|"reads reviews"| node_contentdata
node_sectionwrap -->|"uses variants"| node_motion
node_contact -.->|"sends messages"| node_emailjs

click node_entry "https://github.com/vanshsuri07/portfolio/blob/main/src/main.jsx"
click node_app "https://github.com/vanshsuri07/portfolio/blob/main/src/App.jsx"
click node_navbar "https://github.com/vanshsuri07/portfolio/blob/main/src/sections/Navbar.jsx"
click node_hero "https://github.com/vanshsuri07/portfolio/blob/main/src/sections/Hero.jsx"
click node_about "https://github.com/vanshsuri07/portfolio/blob/main/src/sections/About.jsx"
click node_projects "https://github.com/vanshsuri07/portfolio/blob/main/src/sections/Projects.jsx"
click node_experience "https://github.com/vanshsuri07/portfolio/blob/main/src/sections/Experience.jsx"
click node_contact "https://github.com/vanshsuri07/portfolio/blob/main/src/sections/Contact.jsx"
click node_footer "https://github.com/vanshsuri07/portfolio/blob/main/src/sections/Footer.jsx"
click node_clients "https://github.com/vanshsuri07/portfolio/blob/main/src/sections/Clients.jsx"
click node_contentdata "https://github.com/vanshsuri07/portfolio/blob/main/src/constants/index.js"
click node_computer "https://github.com/vanshsuri07/portfolio/blob/main/src/components/DemoComputer.jsx"
click node_loader "https://github.com/vanshsuri07/portfolio/blob/main/src/components/CanvasLoader.jsx"
click node_ether "https://github.com/vanshsuri07/portfolio/blob/main/src/components/LiquidEther.jsx"
click node_type "https://github.com/vanshsuri07/portfolio/blob/main/src/components/TextType.jsx"
click node_gooey "https://github.com/vanshsuri07/portfolio/blob/main/src/components/GooeyNav.jsx"
click node_sectionwrap "https://github.com/vanshsuri07/portfolio/blob/main/src/hoc/SectionWrapper.jsx"
click node_motion "https://github.com/vanshsuri07/portfolio/blob/main/src/utils/motion.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_entry,node_app,node_navbar,node_hero,node_about,node_projects,node_experience,node_contact,node_footer toneBlue
class node_computer,node_loader,node_ether,node_type,node_gooey toneAmber
class node_clients,node_contentdata toneMint
class node_sectionwrap,node_motion toneRose
class node_visitor,node_emailjs toneIndigo
```

## Components

### Portfolio page

- [React entry](https://github.com/vanshsuri07/portfolio/blob/main/src/main.jsx): `src/main.jsx`
- [Page composition](https://github.com/vanshsuri07/portfolio/blob/main/src/App.jsx): `src/App.jsx`
- [Navigation](https://github.com/vanshsuri07/portfolio/blob/main/src/sections/Navbar.jsx): `src/sections/Navbar.jsx`
- [Hero section](https://github.com/vanshsuri07/portfolio/blob/main/src/sections/Hero.jsx): `src/sections/Hero.jsx`
- [About section](https://github.com/vanshsuri07/portfolio/blob/main/src/sections/About.jsx): `src/sections/About.jsx`
- [Project gallery](https://github.com/vanshsuri07/portfolio/blob/main/src/sections/Projects.jsx): `src/sections/Projects.jsx`
- [Experience section](https://github.com/vanshsuri07/portfolio/blob/main/src/sections/Experience.jsx): `src/sections/Experience.jsx`
- [Contact section](https://github.com/vanshsuri07/portfolio/blob/main/src/sections/Contact.jsx): `src/sections/Contact.jsx`
- [Footer](https://github.com/vanshsuri07/portfolio/blob/main/src/sections/Footer.jsx): `src/sections/Footer.jsx`

### Interactive visuals

- [3D computer preview](https://github.com/vanshsuri07/portfolio/blob/main/src/components/DemoComputer.jsx): `src/components/DemoComputer.jsx`
- [Canvas loader](https://github.com/vanshsuri07/portfolio/blob/main/src/components/CanvasLoader.jsx): `src/components/CanvasLoader.jsx`
- [Liquid animation](https://github.com/vanshsuri07/portfolio/blob/main/src/components/LiquidEther.jsx): `src/components/LiquidEther.jsx`
- [Typed text](https://github.com/vanshsuri07/portfolio/blob/main/src/components/TextType.jsx): `src/components/TextType.jsx`
- [Gooey navigation](https://github.com/vanshsuri07/portfolio/blob/main/src/components/GooeyNav.jsx): `src/components/GooeyNav.jsx`

### Portfolio content

- [Client testimonials](https://github.com/vanshsuri07/portfolio/blob/main/src/sections/Clients.jsx): `src/sections/Clients.jsx`
- [Portfolio data](https://github.com/vanshsuri07/portfolio/blob/main/src/constants/index.js): `src/constants/index.js`

### Shared presentation

- [Section wrapper](https://github.com/vanshsuri07/portfolio/blob/main/src/hoc/SectionWrapper.jsx): `src/hoc/SectionWrapper.jsx`
- [Motion variants](https://github.com/vanshsuri07/portfolio/blob/main/src/utils/motion.js): `src/utils/motion.js`

### Other components

- **Site visitor**
- **EmailJS service**

## Connections

- Site visitor → React entry: opens site (evidence: `src/main.jsx`)
- React entry → Page composition: renders (evidence: `src/main.jsx`)
- Page composition → Navigation: renders (evidence: `src/App.jsx`)
- Page composition → Hero section: renders (evidence: `src/App.jsx`)
- Page composition → About section: renders (evidence: `src/App.jsx`)
- Page composition → Project gallery: renders (evidence: `src/App.jsx`)
- Page composition → Experience section: renders (evidence: `src/App.jsx`)
- Page composition → Contact section: renders (evidence: `src/App.jsx`)
- Page composition → Footer: renders (evidence: `src/App.jsx`)
- Navigation → Gooey navigation: uses (evidence: `src/sections/Navbar.jsx`)
- Hero section → Liquid animation: renders (evidence: `src/sections/Hero.jsx`)
- Hero section → Typed text: renders (evidence: `src/sections/Hero.jsx`)
- Project gallery → Portfolio data: reads projects (evidence: `src/sections/Projects.jsx`)
- Project gallery → 3D computer preview: renders preview (evidence: `src/sections/Projects.jsx`)
- Project gallery → Canvas loader: uses fallback (evidence: `src/sections/Projects.jsx`)
- Client testimonials → Portfolio data: reads reviews (evidence: `src/sections/Clients.jsx`)
- Section wrapper → Motion variants: uses variants (evidence: `src/hoc/SectionWrapper.jsx`)
- Contact section → EmailJS service: sends messages (evidence: `README.md`)
