# yashrajbtoraskar-web/yash-portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/yashrajbtoraskar-web/yash-portfolio
- Repository: https://github.com/yashrajbtoraskar-web/yash-portfolio

## Overview

This is a React personal portfolio site: visitors navigate a single page to learn about the developer, browse projects and skills, and find contact details. The contact area shows a message form, but the inspected source does not show submission handling or a backend. App.jsx composes the page sections; main.jsx mounts the app. The README describes only a minimal React/Vite setup, so the graph reflects the capabilities visible in the sampled components. Other than component imports in App.jsx and the mount in main.jsx, internal interactions are mostly local UI behavior.

Main entry points: [`src/App.jsx`](https://github.com/yashrajbtoraskar-web/yash-portfolio/blob/main/src/App.jsx) (Page composition), [`src/components/Navbar.jsx`](https://github.com/yashrajbtoraskar-web/yash-portfolio/blob/main/src/components/Navbar.jsx) (Navigation), [`src/components/Hero.jsx`](https://github.com/yashrajbtoraskar-web/yash-portfolio/blob/main/src/components/Hero.jsx) (Intro video), [`src/components/Services.jsx`](https://github.com/yashrajbtoraskar-web/yash-portfolio/blob/main/src/components/Services.jsx) (Project showcase)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Portfolio page"]
  node_app["Page composition<br/>[App.jsx]"]
  node_mount["React mount<br/>[main.jsx]"]
  node_preloader["Loading screen<br/>[Preloader.jsx]"]
  node_navbar["Navigation<br/>[Navbar.jsx]"]
end

subgraph group_content["Profile and work"]
  node_hero["Intro video<br/>[Hero.jsx]"]
  node_about["About profile<br/>[About.jsx]"]
  node_services["Project showcase<br/>[Services.jsx]"]
end

subgraph group_engagement["Visitor interaction"]
  node_contact["Contact section<br/>[Contact.jsx]"]
  node_footer["Footer links<br/>[Footer.jsx]"]
end

node_visitor(("Site visitor"))

node_mount -->|"renders"| node_app
node_app -->|"renders"| node_preloader
node_app -->|"renders"| node_navbar
node_app -->|"renders"| node_hero
node_app -->|"renders"| node_about
node_app -->|"renders"| node_services
node_app -->|"renders"| node_contact
node_app -->|"renders"| node_footer
node_visitor -->|"navigates"| node_navbar
node_visitor -->|"views and plays"| node_hero
node_visitor -->|"views form"| node_contact
node_visitor -->|"browses projects"| node_services

click node_app "https://github.com/yashrajbtoraskar-web/yash-portfolio/blob/main/src/App.jsx"
click node_mount "https://github.com/yashrajbtoraskar-web/yash-portfolio/blob/main/src/main.jsx"
click node_preloader "https://github.com/yashrajbtoraskar-web/yash-portfolio/blob/main/src/components/Preloader.jsx"
click node_navbar "https://github.com/yashrajbtoraskar-web/yash-portfolio/blob/main/src/components/Navbar.jsx"
click node_hero "https://github.com/yashrajbtoraskar-web/yash-portfolio/blob/main/src/components/Hero.jsx"
click node_about "https://github.com/yashrajbtoraskar-web/yash-portfolio/blob/main/src/components/About.jsx"
click node_services "https://github.com/yashrajbtoraskar-web/yash-portfolio/blob/main/src/components/Services.jsx"
click node_contact "https://github.com/yashrajbtoraskar-web/yash-portfolio/blob/main/src/components/Contact.jsx"
click node_footer "https://github.com/yashrajbtoraskar-web/yash-portfolio/blob/main/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_app,node_mount,node_preloader,node_navbar toneBlue
class node_hero,node_about,node_services toneAmber
class node_contact,node_footer toneMint
class node_visitor toneIndigo
```

## Components

### Portfolio page

- [Page composition](https://github.com/yashrajbtoraskar-web/yash-portfolio/blob/main/src/App.jsx): `src/App.jsx`
- [React mount](https://github.com/yashrajbtoraskar-web/yash-portfolio/blob/main/src/main.jsx): `src/main.jsx`
- [Loading screen](https://github.com/yashrajbtoraskar-web/yash-portfolio/blob/main/src/components/Preloader.jsx): `src/components/Preloader.jsx`
- [Navigation](https://github.com/yashrajbtoraskar-web/yash-portfolio/blob/main/src/components/Navbar.jsx): `src/components/Navbar.jsx`

### Profile and work

- [Intro video](https://github.com/yashrajbtoraskar-web/yash-portfolio/blob/main/src/components/Hero.jsx): `src/components/Hero.jsx`
- [About profile](https://github.com/yashrajbtoraskar-web/yash-portfolio/blob/main/src/components/About.jsx): `src/components/About.jsx`
- [Project showcase](https://github.com/yashrajbtoraskar-web/yash-portfolio/blob/main/src/components/Services.jsx): `src/components/Services.jsx`

### Visitor interaction

- [Contact section](https://github.com/yashrajbtoraskar-web/yash-portfolio/blob/main/src/components/Contact.jsx): `src/components/Contact.jsx`
- [Footer links](https://github.com/yashrajbtoraskar-web/yash-portfolio/blob/main/src/components/Footer.jsx): `src/components/Footer.jsx`

### Other components

- **Site visitor**

## Connections

- React mount → Page composition: renders (evidence: `src/main.jsx`)
- Page composition → Loading screen: renders (evidence: `src/App.jsx`)
- Page composition → Navigation: renders (evidence: `src/App.jsx`)
- Page composition → Intro video: renders (evidence: `src/App.jsx`)
- Page composition → About profile: renders (evidence: `src/App.jsx`)
- Page composition → Project showcase: renders (evidence: `src/App.jsx`)
- Page composition → Contact section: renders (evidence: `src/App.jsx`)
- Page composition → Footer links: renders (evidence: `src/App.jsx`)
- Site visitor → Navigation: navigates (evidence: `src/components/Navbar.jsx`)
- Site visitor → Intro video: views and plays (evidence: `src/components/Hero.jsx`)
- Site visitor → Contact section: views form (evidence: `src/components/Contact.jsx`)
- Site visitor → Project showcase: browses projects (evidence: `src/components/Services.jsx`)
