# subhashgirijala12/deepakportfolio architecture

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

- Interactive diagram: https://gitdiagram.com/subhashgirijala12/deepakportfolio
- Repository: https://github.com/subhashgirijala12/deepakportfolio

## Overview

This repository is a personal portfolio website with home, terms, and privacy routes. Visitors browse the portfolio’s profile and professional information, follow contact or social links, or download a résumé; shared navigation also leads to legal pages. The graph separates route handling, portfolio content, and reusable page chrome, with the dock interaction as an internal UI layer. Evidence is limited to the provided source excerpts; unsampled Home sections are represented together rather than inferred as separate implementations.

Main entry points: [`frontend/src/Home.jsx`](https://github.com/subhashgirijala12/deepakportfolio/blob/main/frontend/src/Home.jsx) (Portfolio page), [`frontend/src/App.js`](https://github.com/subhashgirijala12/deepakportfolio/blob/main/frontend/src/App.js) (Route manager), [`frontend/src/Legal.jsx`](https://github.com/subhashgirijala12/deepakportfolio/blob/main/frontend/src/Legal.jsx) (Legal pages), [`frontend/src/Site.jsx`](https://github.com/subhashgirijala12/deepakportfolio/blob/main/frontend/src/Site.jsx) (Shared chrome)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_routing["Routing"]
  node_app["Route manager<br/>[App.js]"]
  node_legal["Legal pages<br/>[Legal.jsx]"]
end

subgraph group_portfolio["Portfolio experience"]
  node_home["Portfolio page<br/>[Home.jsx]"]
  node_dock["Animated dock"]
  node_dockcontroller["Dock controller"]
end

subgraph group_shared["Shared UI"]
  node_site["Shared chrome<br/>[Site.jsx]"]
end

node_visitor(("Visitor"))
node_contact(("Contact and social destinations"))
node_resume["Résumé file"]
node_browser(("Browser runtime"))

node_visitor -->|"opens site"| node_app
node_browser -->|"renders"| node_app
node_app -->|"routes to"| node_home
node_app -->|"routes to"| node_legal
node_home -->|"uses shared UI"| node_site
node_legal -->|"uses shared UI"| node_site
node_home -->|"renders"| node_dock
node_home -->|"creates controller"| node_dockcontroller
node_home -->|"links to"| node_contact
node_home -->|"links to download"| node_resume

click node_app "https://github.com/subhashgirijala12/deepakportfolio/blob/main/frontend/src/App.js"
click node_home "https://github.com/subhashgirijala12/deepakportfolio/blob/main/frontend/src/Home.jsx"
click node_legal "https://github.com/subhashgirijala12/deepakportfolio/blob/main/frontend/src/Legal.jsx"
click node_site "https://github.com/subhashgirijala12/deepakportfolio/blob/main/frontend/src/Site.jsx"
click node_dock "https://github.com/subhashgirijala12/deepakportfolio/blob/main/frontend/src/assets/AnimatedTopDock.tsx"
click node_dockcontroller "https://github.com/subhashgirijala12/deepakportfolio/blob/main/frontend/src/assets/topDockController.ts"

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_legal,node_browser toneBlue
class node_home,node_dock,node_dockcontroller toneAmber
class node_site toneMint
class node_visitor,node_contact,node_resume toneIndigo
```

## Components

### Routing

- [Route manager](https://github.com/subhashgirijala12/deepakportfolio/blob/main/frontend/src/App.js): `frontend/src/App.js`
- [Legal pages](https://github.com/subhashgirijala12/deepakportfolio/blob/main/frontend/src/Legal.jsx): `frontend/src/Legal.jsx`

### Portfolio experience

- [Portfolio page](https://github.com/subhashgirijala12/deepakportfolio/blob/main/frontend/src/Home.jsx): `frontend/src/Home.jsx`
- [Animated dock](https://github.com/subhashgirijala12/deepakportfolio/blob/main/frontend/src/assets/AnimatedTopDock.tsx): `frontend/src/assets/AnimatedTopDock.tsx`
- [Dock controller](https://github.com/subhashgirijala12/deepakportfolio/blob/main/frontend/src/assets/topDockController.ts): `frontend/src/assets/topDockController.ts`

### Shared UI

- [Shared chrome](https://github.com/subhashgirijala12/deepakportfolio/blob/main/frontend/src/Site.jsx): `frontend/src/Site.jsx`

### Other components

- **Visitor**
- **Contact and social destinations**
- **Résumé file**
- **Browser runtime**

## Connections

- Visitor → Route manager: opens site
- Browser runtime → Route manager: renders
- Route manager → Portfolio page: routes to (evidence: `frontend/src/App.js`)
- Route manager → Legal pages: routes to (evidence: `frontend/src/App.js`)
- Portfolio page → Shared chrome: uses shared UI (evidence: `frontend/src/Home.jsx`)
- Legal pages → Shared chrome: uses shared UI (evidence: `frontend/src/Legal.jsx`)
- Portfolio page → Animated dock: renders (evidence: `frontend/src/Home.jsx`)
- Portfolio page → Dock controller: creates controller (evidence: `frontend/src/Home.jsx`)
- Portfolio page → Contact and social destinations: links to (evidence: `frontend/src/Home.jsx`)
- Portfolio page → Résumé file: links to download (evidence: `frontend/src/Home.jsx`)
