# gauravgkb99/portfolio-website architecture

> Architecture diagram of the GitHub repository gauravgkb99/portfolio-website, 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/gauravgkb99/portfolio-website
- Repository: https://github.com/gauravgkb99/portfolio-website

## Overview

This is a React portfolio site presenting Gaurav Kumar’s profile, work history, skills, education, and ways to connect. A visitor reaches the page, the React entry point mounts the portfolio, and the App component renders its sections; navigation and the hero’s contact action scroll to relevant sections. The portfolio also links to a hosted resume and external social profiles. Relationships between the entry point and sections are evidenced by App.jsx; component interactions are limited to those visible in the excerpts.

Main entry points: [`client/src/App.jsx`](https://github.com/gauravgkb99/portfolio-website/blob/main/client/src/App.jsx) (Portfolio App), [`client/src/components/Navbar.jsx`](https://github.com/gauravgkb99/portfolio-website/blob/main/client/src/components/Navbar.jsx) (Navigation), [`client/src/components/Contact.jsx`](https://github.com/gauravgkb99/portfolio-website/blob/main/client/src/components/Contact.jsx) (Contact Details), [`client/src/components/Hero3D.jsx`](https://github.com/gauravgkb99/portfolio-website/blob/main/client/src/components/Hero3D.jsx) (3D Hero)

## Diagram (Mermaid)

```mermaid
flowchart TD

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

subgraph group_profile["Portfolio Sections"]
  node_hero["3D Hero<br/>[Hero3D.jsx]"]
  node_about["About and Resume<br/>[About.jsx]"]
  node_experience["Experience<br/>[Experience.jsx]"]
  node_skills["Skills<br/>[Skills.jsx]"]
  node_education["Education<br/>[Education.jsx]"]
end

subgraph group_engagement["Contact and Links"]
  node_contact["Contact Details<br/>[Contact.jsx]"]
  node_footer["Social Footer<br/>[Footer.jsx]"]
end

node_visitor(("Visitor"))
node_resume(("Google Drive Resume"))
node_social(("Social Profiles"))

node_visitor -.->|"opens site"| node_entry
node_entry -->|"mounts"| node_app
node_app -->|"renders"| node_navbar
node_app -->|"renders"| node_hero
node_app -->|"renders"| node_about
node_app -->|"renders"| node_experience
node_app -->|"renders"| node_skills
node_app -->|"renders"| node_education
node_app -->|"renders"| node_contact
node_app -->|"renders"| node_footer
node_navbar -->|"scrolls to"| node_about
node_navbar -->|"scrolls to"| node_experience
node_navbar -->|"scrolls to"| node_skills
node_navbar -->|"scrolls to"| node_education
node_navbar -->|"scrolls to"| node_contact
node_hero -->|"scrolls to"| node_contact
node_about -->|"links to"| node_resume
node_hero -->|"links to"| node_resume
node_contact -->|"links to"| node_social
node_footer -->|"links to"| node_social

click node_entry "https://github.com/gauravgkb99/portfolio-website/blob/main/client/src/main.jsx"
click node_app "https://github.com/gauravgkb99/portfolio-website/blob/main/client/src/App.jsx"
click node_navbar "https://github.com/gauravgkb99/portfolio-website/blob/main/client/src/components/Navbar.jsx"
click node_hero "https://github.com/gauravgkb99/portfolio-website/blob/main/client/src/components/Hero3D.jsx"
click node_about "https://github.com/gauravgkb99/portfolio-website/blob/main/client/src/components/About.jsx"
click node_experience "https://github.com/gauravgkb99/portfolio-website/blob/main/client/src/components/Experience.jsx"
click node_skills "https://github.com/gauravgkb99/portfolio-website/blob/main/client/src/components/Skills.jsx"
click node_education "https://github.com/gauravgkb99/portfolio-website/blob/main/client/src/components/Education.jsx"
click node_contact "https://github.com/gauravgkb99/portfolio-website/blob/main/client/src/components/Contact.jsx"
click node_footer "https://github.com/gauravgkb99/portfolio-website/blob/main/client/src/components/Footer.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,node_navbar toneBlue
class node_hero,node_about,node_experience,node_skills,node_education toneAmber
class node_contact,node_footer toneMint
class node_visitor,node_resume,node_social toneIndigo
```

## Components

### Application Shell

- [React Entry](https://github.com/gauravgkb99/portfolio-website/blob/main/client/src/main.jsx): `client/src/main.jsx`
- [Portfolio App](https://github.com/gauravgkb99/portfolio-website/blob/main/client/src/App.jsx): `client/src/App.jsx`
- [Navigation](https://github.com/gauravgkb99/portfolio-website/blob/main/client/src/components/Navbar.jsx): `client/src/components/Navbar.jsx`

### Portfolio Sections

- [3D Hero](https://github.com/gauravgkb99/portfolio-website/blob/main/client/src/components/Hero3D.jsx): `client/src/components/Hero3D.jsx`
- [About and Resume](https://github.com/gauravgkb99/portfolio-website/blob/main/client/src/components/About.jsx): `client/src/components/About.jsx`
- [Experience](https://github.com/gauravgkb99/portfolio-website/blob/main/client/src/components/Experience.jsx): `client/src/components/Experience.jsx`
- [Skills](https://github.com/gauravgkb99/portfolio-website/blob/main/client/src/components/Skills.jsx): `client/src/components/Skills.jsx`
- [Education](https://github.com/gauravgkb99/portfolio-website/blob/main/client/src/components/Education.jsx): `client/src/components/Education.jsx`

### Contact and Links

- [Contact Details](https://github.com/gauravgkb99/portfolio-website/blob/main/client/src/components/Contact.jsx): `client/src/components/Contact.jsx`
- [Social Footer](https://github.com/gauravgkb99/portfolio-website/blob/main/client/src/components/Footer.jsx): `client/src/components/Footer.jsx`

### Other components

- **Visitor**
- **Google Drive Resume**
- **Social Profiles**

## Connections

- Visitor → React Entry: opens site
- React Entry → Portfolio App: mounts (evidence: `client/src/main.jsx`)
- Portfolio App → Navigation: renders (evidence: `client/src/App.jsx`)
- Portfolio App → 3D Hero: renders (evidence: `client/src/App.jsx`)
- Portfolio App → About and Resume: renders (evidence: `client/src/App.jsx`)
- Portfolio App → Experience: renders (evidence: `client/src/App.jsx`)
- Portfolio App → Skills: renders (evidence: `client/src/App.jsx`)
- Portfolio App → Education: renders (evidence: `client/src/App.jsx`)
- Portfolio App → Contact Details: renders (evidence: `client/src/App.jsx`)
- Portfolio App → Social Footer: renders (evidence: `client/src/App.jsx`)
- Navigation → About and Resume: scrolls to (evidence: `client/src/components/Navbar.jsx`)
- Navigation → Experience: scrolls to (evidence: `client/src/components/Navbar.jsx`)
- Navigation → Skills: scrolls to (evidence: `client/src/components/Navbar.jsx`)
- Navigation → Education: scrolls to (evidence: `client/src/components/Navbar.jsx`)
- Navigation → Contact Details: scrolls to (evidence: `client/src/components/Navbar.jsx`)
- 3D Hero → Contact Details: scrolls to (evidence: `client/src/components/Hero3D.jsx`)
- About and Resume → Google Drive Resume: links to (evidence: `client/src/components/About.jsx`)
- 3D Hero → Google Drive Resume: links to (evidence: `client/src/components/Hero3D.jsx`)
- Contact Details → Social Profiles: links to (evidence: `client/src/components/Contact.jsx`)
- Social Footer → Social Profiles: links to (evidence: `client/src/components/Footer.jsx`)
