# arnabjana2002/portfolio-v1 architecture

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

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

## Overview

This is a single-page personal developer portfolio. A visitor opens the app, sees a timed welcome screen, then browses the home, about, projects, and contact sections; project cards are populated from local data. Navigation includes a mobile menu, and section content uses scroll-reveal behavior. Contact submission currently displays an unavailable-service toast rather than sending email. The graph reflects shown imports and calls; no active email integration or backend is evidenced.

Main entry points: [`src/App.jsx`](https://github.com/arnabjana2002/portfolio-v1/blob/main/src/App.jsx) (App composition), [`src/components/RevealOnScroll.jsx`](https://github.com/arnabjana2002/portfolio-v1/blob/main/src/components/RevealOnScroll.jsx) (Scroll reveal), [`src/components/sections/Projects.jsx`](https://github.com/arnabjana2002/portfolio-v1/blob/main/src/components/sections/Projects.jsx) (Projects section), [`src/components/sections/Contact.jsx`](https://github.com/arnabjana2002/portfolio-v1/blob/main/src/components/sections/Contact.jsx) (Contact section)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Application shell"]
  node_entry["React entry<br/>[main.jsx]"]
  node_app["App composition<br/>[App.jsx]"]
end

subgraph group_sections["Portfolio sections"]
  node_home["Home section<br/>[Home.jsx]"]
  node_about["About section<br/>[About.jsx]"]
  node_projects["Projects section<br/>[Projects.jsx]"]
  node_contact["Contact section<br/>[Contact.jsx]"]
end

subgraph group_ui["Shared interface"]
  node_loading["Welcome screen<br/>[LoadingScreen.jsx]"]
  node_navbar["Navigation bar<br/>[Navbar.jsx]"]
  node_mobile["Mobile menu<br/>[MobileMenu.jsx]"]
  node_reveal["Scroll reveal<br/>[RevealOnScroll.jsx]"]
end

subgraph group_content["Portfolio content"]
  node_projectdata["Project data<br/>[projects.js]"]
end

node_visitor(("Visitor"))
node_toast["Toast notifications"]

node_visitor -->|"opens"| node_entry
node_entry -->|"renders"| node_app
node_app -->|"shows until loaded"| node_loading
node_app -->|"renders"| node_navbar
node_app -->|"renders"| node_home
node_app -->|"renders"| node_about
node_app -->|"renders"| node_projects
node_app -->|"renders"| node_contact
node_navbar -->|"renders when open"| node_mobile
node_projects -->|"reads"| node_projectdata
node_home -->|"wraps content"| node_reveal
node_about -->|"wraps content"| node_reveal
node_projects -->|"wraps content"| node_reveal
node_contact -->|"wraps content"| node_reveal
node_contact -->|"shows unavailable notice"| node_toast

click node_entry "https://github.com/arnabjana2002/portfolio-v1/blob/main/src/main.jsx"
click node_app "https://github.com/arnabjana2002/portfolio-v1/blob/main/src/App.jsx"
click node_loading "https://github.com/arnabjana2002/portfolio-v1/blob/main/src/components/LoadingScreen.jsx"
click node_navbar "https://github.com/arnabjana2002/portfolio-v1/blob/main/src/components/Navbar.jsx"
click node_mobile "https://github.com/arnabjana2002/portfolio-v1/blob/main/src/components/MobileMenu.jsx"
click node_home "https://github.com/arnabjana2002/portfolio-v1/blob/main/src/components/sections/Home.jsx"
click node_about "https://github.com/arnabjana2002/portfolio-v1/blob/main/src/components/sections/About.jsx"
click node_projects "https://github.com/arnabjana2002/portfolio-v1/blob/main/src/components/sections/Projects.jsx"
click node_contact "https://github.com/arnabjana2002/portfolio-v1/blob/main/src/components/sections/Contact.jsx"
click node_reveal "https://github.com/arnabjana2002/portfolio-v1/blob/main/src/components/RevealOnScroll.jsx"
click node_projectdata "https://github.com/arnabjana2002/portfolio-v1/blob/main/src/assets/projects.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 toneBlue
class node_home,node_about,node_projects,node_contact toneAmber
class node_loading,node_navbar,node_mobile,node_reveal toneMint
class node_projectdata toneRose
class node_visitor,node_toast toneIndigo
```

## Components

### Application shell

- [React entry](https://github.com/arnabjana2002/portfolio-v1/blob/main/src/main.jsx): `src/main.jsx`
- [App composition](https://github.com/arnabjana2002/portfolio-v1/blob/main/src/App.jsx): `src/App.jsx`

### Portfolio sections

- [Home section](https://github.com/arnabjana2002/portfolio-v1/blob/main/src/components/sections/Home.jsx): `src/components/sections/Home.jsx`
- [About section](https://github.com/arnabjana2002/portfolio-v1/blob/main/src/components/sections/About.jsx): `src/components/sections/About.jsx`
- [Projects section](https://github.com/arnabjana2002/portfolio-v1/blob/main/src/components/sections/Projects.jsx): `src/components/sections/Projects.jsx`
- [Contact section](https://github.com/arnabjana2002/portfolio-v1/blob/main/src/components/sections/Contact.jsx): `src/components/sections/Contact.jsx`

### Shared interface

- [Welcome screen](https://github.com/arnabjana2002/portfolio-v1/blob/main/src/components/LoadingScreen.jsx): `src/components/LoadingScreen.jsx`
- [Navigation bar](https://github.com/arnabjana2002/portfolio-v1/blob/main/src/components/Navbar.jsx): `src/components/Navbar.jsx`
- [Mobile menu](https://github.com/arnabjana2002/portfolio-v1/blob/main/src/components/MobileMenu.jsx): `src/components/MobileMenu.jsx`
- [Scroll reveal](https://github.com/arnabjana2002/portfolio-v1/blob/main/src/components/RevealOnScroll.jsx): `src/components/RevealOnScroll.jsx`

### Portfolio content

- [Project data](https://github.com/arnabjana2002/portfolio-v1/blob/main/src/assets/projects.js): `src/assets/projects.js`

### Other components

- **Visitor**
- **Toast notifications**

## Connections

- Visitor → React entry: opens
- React entry → App composition: renders (evidence: `src/main.jsx`)
- App composition → Welcome screen: shows until loaded (evidence: `src/App.jsx`)
- App composition → Navigation bar: renders (evidence: `src/App.jsx`)
- App composition → Home section: renders (evidence: `src/App.jsx`)
- App composition → About section: renders (evidence: `src/App.jsx`)
- App composition → Projects section: renders (evidence: `src/App.jsx`)
- App composition → Contact section: renders (evidence: `src/App.jsx`)
- Navigation bar → Mobile menu: renders when open (evidence: `src/components/Navbar.jsx`)
- Projects section → Project data: reads (evidence: `src/components/sections/Projects.jsx`)
- Home section → Scroll reveal: wraps content (evidence: `src/components/sections/Home.jsx`)
- About section → Scroll reveal: wraps content (evidence: `src/components/sections/About.jsx`)
- Projects section → Scroll reveal: wraps content (evidence: `src/components/sections/Projects.jsx`)
- Contact section → Scroll reveal: wraps content (evidence: `src/components/sections/Contact.jsx`)
- Contact section → Toast notifications: shows unavailable notice (evidence: `src/components/sections/Contact.jsx`)
