# dhanushpsoorya/portfolio architecture

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

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

## Overview

This is a personal portfolio: visitors browse a profile, project summaries, and a one-page resume. The production app selects the profile or projects page by URL; those pages compose shared navigation/footer and motion-enabled content. The project descriptions identify four distinct tools, but their implementations are not present in this tree, so they are represented as portfolio content rather than runtime subsystems. Source evidence is limited to the supplied excerpts and README; unsampled components are included only where the README or SOURCE INDEX establishes their role.

Main entry points: [`web/src/pages/ProjectsPage.tsx`](https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/pages/ProjectsPage.tsx) (Projects page), [`web/src/pages/HomePage.tsx`](https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/pages/HomePage.tsx) (Profile page), [`web/src/components/SiteChrome.tsx`](https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/components/SiteChrome.tsx) (Navigation and contact), [`web/src/motion.ts`](https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/motion.ts) (Shared motion settings)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App and pages"]
  node_app["Page selector<br/>[App.tsx]"]
  node_chrome["Navigation and contact<br/>[SiteChrome.tsx]"]
  node_motion["Shared motion settings<br/>[motion.ts]"]
end

subgraph group_profile["Profile experience"]
  node_home["Profile page<br/>[HomePage.tsx]"]
  node_profilecontent["Profile and credentials<br/>[HomePage.tsx]"]
  node_hero["Animated hero<br/>[HeroMotion.tsx]"]
  node_timeline["Scroll timeline<br/>[ScrollTimeline.tsx]"]
end

subgraph group_projects["Project showcase"]
  node_projects_page["Projects page<br/>[ProjectsPage.tsx]"]
  node_cards["Tilt project cards"]
  node_unemployment["Unemployment analysis<br/>[ProjectsPage.tsx]"]
  node_builder["Resume builder project<br/>[ProjectsPage.tsx]"]
  node_hospital["Hospital booking project<br/>[ProjectsPage.tsx]"]
  node_pdf_excel["PDF to Excel project<br/>[ProjectsPage.tsx]"]
end

subgraph group_resume["Resume materials"]
  node_resume_html["HTML resume<br/>[resume.html]"]
  node_resume_pdf["PDF resume<br/>[resume.pdf]"]
end

node_visitor(("Site visitor"))

node_visitor -.->|"browses"| node_app
node_app -->|"selects profile"| node_home
node_app -->|"selects projects"| node_projects_page
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_timeline
node_home -->|"uses shell"| node_chrome
node_home -->|"presents"| node_profilecontent
node_projects_page -->|"renders"| node_cards
node_projects_page -->|"uses shell"| node_chrome
node_projects_page -->|"describes"| node_unemployment
node_projects_page -->|"describes"| node_builder
node_projects_page -->|"describes"| node_hospital
node_projects_page -->|"describes"| node_pdf_excel
node_home -->|"uses transitions"| node_motion
node_projects_page -->|"uses transitions"| node_motion
node_timeline -->|"uses spring"| node_motion
node_cards -->|"uses spring"| node_motion
node_chrome -->|"uses magnetic link"| node_hero
node_chrome -->|"uses spring"| node_motion
node_chrome -->|"links to view"| node_resume_html
node_chrome -->|"links to download"| node_resume_pdf

click node_app "https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/App.tsx"
click node_home "https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/pages/HomePage.tsx"
click node_profilecontent "https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/pages/HomePage.tsx"
click node_hero "https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/components/HeroMotion.tsx"
click node_timeline "https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/components/ScrollTimeline.tsx"
click node_chrome "https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/components/SiteChrome.tsx"
click node_projects_page "https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/pages/ProjectsPage.tsx"
click node_cards "https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/components/TiltProjectCard.tsx"
click node_unemployment "https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/pages/ProjectsPage.tsx"
click node_builder "https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/pages/ProjectsPage.tsx"
click node_hospital "https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/pages/ProjectsPage.tsx"
click node_pdf_excel "https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/pages/ProjectsPage.tsx"
click node_motion "https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/motion.ts"
click node_resume_html "https://github.com/dhanushpsoorya/portfolio/blob/main/resume.html"
click node_resume_pdf "https://github.com/dhanushpsoorya/portfolio/blob/main/resume.pdf"

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_chrome,node_motion toneBlue
class node_home,node_profilecontent,node_hero,node_timeline toneAmber
class node_projects_page,node_cards,node_unemployment,node_builder,node_hospital,node_pdf_excel toneMint
class node_resume_html,node_resume_pdf toneRose
class node_visitor toneIndigo
```

## Components

### App and pages

- [Page selector](https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/App.tsx): `web/src/App.tsx`
- [Navigation and contact](https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/components/SiteChrome.tsx): `web/src/components/SiteChrome.tsx`
- [Shared motion settings](https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/motion.ts): `web/src/motion.ts`

### Profile experience

- [Profile page](https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/pages/HomePage.tsx): `web/src/pages/HomePage.tsx`
- [Profile and credentials](https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/pages/HomePage.tsx): `web/src/pages/HomePage.tsx`
- [Animated hero](https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/components/HeroMotion.tsx): `web/src/components/HeroMotion.tsx`
- [Scroll timeline](https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/components/ScrollTimeline.tsx): `web/src/components/ScrollTimeline.tsx`

### Project showcase

- [Projects page](https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/pages/ProjectsPage.tsx): `web/src/pages/ProjectsPage.tsx`
- [Tilt project cards](https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/components/TiltProjectCard.tsx): `web/src/components/TiltProjectCard.tsx`
- [Unemployment analysis](https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/pages/ProjectsPage.tsx): `web/src/pages/ProjectsPage.tsx`
- [Resume builder project](https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/pages/ProjectsPage.tsx): `web/src/pages/ProjectsPage.tsx`
- [Hospital booking project](https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/pages/ProjectsPage.tsx): `web/src/pages/ProjectsPage.tsx`
- [PDF to Excel project](https://github.com/dhanushpsoorya/portfolio/blob/main/web/src/pages/ProjectsPage.tsx): `web/src/pages/ProjectsPage.tsx`

### Resume materials

- [HTML resume](https://github.com/dhanushpsoorya/portfolio/blob/main/resume.html): `resume.html`
- [PDF resume](https://github.com/dhanushpsoorya/portfolio/blob/main/resume.pdf): `resume.pdf`

### Other components

- **Site visitor**

## Connections

- Site visitor → Page selector: browses
- Page selector → Profile page: selects profile (evidence: `web/src/App.tsx`)
- Page selector → Projects page: selects projects (evidence: `web/src/App.tsx`)
- Profile page → Animated hero: renders (evidence: `web/src/pages/HomePage.tsx`)
- Profile page → Scroll timeline: renders (evidence: `web/src/pages/HomePage.tsx`)
- Profile page → Navigation and contact: uses shell (evidence: `web/src/pages/HomePage.tsx`)
- Profile page → Profile and credentials: presents (evidence: `web/src/pages/HomePage.tsx`)
- Projects page → Tilt project cards: renders (evidence: `web/src/pages/ProjectsPage.tsx`)
- Projects page → Navigation and contact: uses shell (evidence: `web/src/pages/ProjectsPage.tsx`)
- Projects page → Unemployment analysis: describes (evidence: `web/src/pages/ProjectsPage.tsx`)
- Projects page → Resume builder project: describes (evidence: `web/src/pages/ProjectsPage.tsx`)
- Projects page → Hospital booking project: describes (evidence: `web/src/pages/ProjectsPage.tsx`)
- Projects page → PDF to Excel project: describes (evidence: `web/src/pages/ProjectsPage.tsx`)
- Profile page → Shared motion settings: uses transitions (evidence: `web/src/pages/HomePage.tsx`)
- Projects page → Shared motion settings: uses transitions (evidence: `web/src/pages/ProjectsPage.tsx`)
- Scroll timeline → Shared motion settings: uses spring (evidence: `web/src/components/ScrollTimeline.tsx`)
- Tilt project cards → Shared motion settings: uses spring (evidence: `web/src/components/TiltProjectCard.tsx`)
- Navigation and contact → Animated hero: uses magnetic link (evidence: `web/src/components/SiteChrome.tsx`)
- Navigation and contact → Shared motion settings: uses spring (evidence: `web/src/components/SiteChrome.tsx`)
- Navigation and contact → HTML resume: links to view (evidence: `web/src/components/SiteChrome.tsx`)
- Navigation and contact → PDF resume: links to download (evidence: `web/src/components/SiteChrome.tsx`)
