# harsh567work-patel/portfolio_harsh architecture

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

- Interactive diagram: https://gitdiagram.com/harsh567work-patel/portfolio_harsh
- Repository: https://github.com/harsh567work-patel/portfolio_harsh

## Overview

This is a personal AI/ML engineer portfolio website. The visitor journey runs through an overview, project case studies, skills and research, career and achievement details, and contact/resume options. App composes the page; shared portfolio data and theme/modal state support its sections. The README is empty, so capability coverage comes from the component names and shown excerpts. Some component internals were not sampled; edges are limited to relationships supported by the source index or excerpts.

Main entry points: [`src/App.tsx`](https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/App.tsx) (Page composition), [`src/data/portfolioData.ts`](https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/data/portfolioData.ts) (Portfolio content), [`src/context/ThemeContext.tsx`](https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/context/ThemeContext.tsx) (Theme and modal state), [`src/components/Navbar.tsx`](https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/Navbar.tsx) (Navigation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Application shell"]
  node_app["Page composition<br/>[App.tsx]"]
  node_navbar["Navigation<br/>[Navbar.tsx]"]
  node_hero["Hero introduction<br/>[Hero.tsx]"]
  node_marquee["Marquee<br/>[Marquee.tsx]"]
  node_intro["Intro<br/>[Intro.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
  node_cursor["Custom cursor<br/>[CustomCursor.tsx]"]
end

subgraph group_projects["Projects and research"]
  node_projectsection["Project listings<br/>[ProjectSection.tsx]"]
  node_projectcard["Project card<br/>[ProjectCard.tsx]"]
  node_casestudy["Case study detail<br/>[CaseStudyModal.tsx]"]
  node_research["Research topics<br/>[Research.tsx]"]
end

subgraph group_profile["Profile and credentials"]
  node_skills["Skills<br/>[Skills.tsx]"]
  node_statistics["Statistics<br/>[Statistics.tsx]"]
  node_timeline["Timeline<br/>[Timeline.tsx]"]
  node_achievements["Achievements<br/>[Achievements.tsx]"]
  node_about["About profile<br/>[About.tsx]"]
  node_contact["Contact form<br/>[Contact.tsx]"]
end

subgraph group_shared["Shared content and state"]
  node_data["Portfolio content<br/>[portfolioData.ts]"]
  node_theme["Theme and modal state<br/>[ThemeContext.tsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_app
node_app -->|"provides state"| node_theme
node_app -->|"renders"| node_navbar
node_app -->|"renders"| node_hero
node_app -->|"renders"| node_marquee
node_app -->|"renders"| node_intro
node_app -->|"renders"| node_projectsection
node_app -->|"renders"| node_skills
node_app -->|"renders"| node_statistics
node_app -->|"renders"| node_research
node_app -->|"renders"| node_timeline
node_app -->|"renders"| node_achievements
node_app -->|"renders"| node_about
node_app -->|"renders"| node_contact
node_app -->|"renders"| node_footer
node_app -->|"renders"| node_casestudy
node_app -->|"renders"| node_cursor
node_projectsection -->|"renders"| node_projectcard
node_projectcard -->|"opens case study"| node_theme
node_casestudy -->|"reads selection"| node_theme
node_navbar -->|"updates theme"| node_theme
node_navbar -->|"opens contact"| node_theme
node_hero -->|"opens contact"| node_theme
node_contact -->|"controls modal"| node_theme
node_about -->|"opens contact"| node_theme
node_projectsection -->|"reads projects"| node_data
node_research -->|"reads topics"| node_data
node_skills -->|"reads skills"| node_data
node_statistics -->|"reads statistics"| node_data
node_timeline -->|"reads milestones"| node_data
node_achievements -->|"reads achievements"| node_data
node_about -->|"reads profile"| node_data
node_contact -->|"reads contact info"| node_data
node_intro -->|"reads profile"| node_data
node_footer -->|"reads profile"| node_data

click node_app "https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/App.tsx"
click node_navbar "https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/Navbar.tsx"
click node_hero "https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/Hero.tsx"
click node_marquee "https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/Marquee.tsx"
click node_intro "https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/Intro.tsx"
click node_footer "https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/Footer.tsx"
click node_cursor "https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/CustomCursor.tsx"
click node_projectsection "https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/ProjectSection.tsx"
click node_projectcard "https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/ProjectCard.tsx"
click node_casestudy "https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/CaseStudyModal.tsx"
click node_research "https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/Research.tsx"
click node_skills "https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/Skills.tsx"
click node_statistics "https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/Statistics.tsx"
click node_timeline "https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/Timeline.tsx"
click node_achievements "https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/Achievements.tsx"
click node_about "https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/About.tsx"
click node_contact "https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/Contact.tsx"
click node_data "https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/data/portfolioData.ts"
click node_theme "https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/context/ThemeContext.tsx"

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_navbar,node_hero,node_marquee,node_intro,node_footer,node_cursor toneBlue
class node_projectsection,node_projectcard,node_casestudy,node_research toneAmber
class node_skills,node_statistics,node_timeline,node_achievements,node_about,node_contact toneMint
class node_data,node_theme toneRose
class node_visitor toneIndigo
```

## Components

### Application shell

- [Page composition](https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/App.tsx): `src/App.tsx`
- [Navigation](https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/Navbar.tsx): `src/components/Navbar.tsx`
- [Hero introduction](https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/Hero.tsx): `src/components/Hero.tsx`
- [Marquee](https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/Marquee.tsx): `src/components/Marquee.tsx`
- [Intro](https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/Intro.tsx): `src/components/Intro.tsx`
- [Footer](https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/Footer.tsx): `src/components/Footer.tsx`
- [Custom cursor](https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/CustomCursor.tsx): `src/components/CustomCursor.tsx`

### Projects and research

- [Project listings](https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/ProjectSection.tsx): `src/components/ProjectSection.tsx`
- [Project card](https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/ProjectCard.tsx): `src/components/ProjectCard.tsx`
- [Case study detail](https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/CaseStudyModal.tsx): `src/components/CaseStudyModal.tsx`
- [Research topics](https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/Research.tsx): `src/components/Research.tsx`

### Profile and credentials

- [Skills](https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/Skills.tsx): `src/components/Skills.tsx`
- [Statistics](https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/Statistics.tsx): `src/components/Statistics.tsx`
- [Timeline](https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/Timeline.tsx): `src/components/Timeline.tsx`
- [Achievements](https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/Achievements.tsx): `src/components/Achievements.tsx`
- [About profile](https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/About.tsx): `src/components/About.tsx`
- [Contact form](https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/components/Contact.tsx): `src/components/Contact.tsx`

### Shared content and state

- [Portfolio content](https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/data/portfolioData.ts): `src/data/portfolioData.ts`
- [Theme and modal state](https://github.com/harsh567work-patel/portfolio_harsh/blob/master/src/context/ThemeContext.tsx): `src/context/ThemeContext.tsx`

### Other components

- **Visitor**

## Connections

- Visitor → Page composition: opens
- Page composition → Theme and modal state: provides state (evidence: `src/App.tsx`)
- Page composition → Navigation: renders (evidence: `src/App.tsx`)
- Page composition → Hero introduction: renders (evidence: `src/App.tsx`)
- Page composition → Marquee: renders (evidence: `src/App.tsx`)
- Page composition → Intro: renders (evidence: `src/App.tsx`)
- Page composition → Project listings: renders (evidence: `src/App.tsx`)
- Page composition → Skills: renders (evidence: `src/App.tsx`)
- Page composition → Statistics: renders (evidence: `src/App.tsx`)
- Page composition → Research topics: renders (evidence: `src/App.tsx`)
- Page composition → Timeline: renders (evidence: `src/App.tsx`)
- Page composition → Achievements: renders (evidence: `src/App.tsx`)
- Page composition → About profile: renders (evidence: `src/App.tsx`)
- Page composition → Contact form: renders (evidence: `src/App.tsx`)
- Page composition → Footer: renders (evidence: `src/App.tsx`)
- Page composition → Case study detail: renders (evidence: `src/App.tsx`)
- Page composition → Custom cursor: renders (evidence: `src/App.tsx`)
- Project listings → Project card: renders (evidence: `src/components/ProjectSection.tsx`)
- Project card → Theme and modal state: opens case study (evidence: `src/components/ProjectCard.tsx`)
- Case study detail → Theme and modal state: reads selection (evidence: `src/components/CaseStudyModal.tsx`)
- Navigation → Theme and modal state: updates theme (evidence: `src/components/Navbar.tsx`)
- Navigation → Theme and modal state: opens contact (evidence: `src/components/Navbar.tsx`)
- Hero introduction → Theme and modal state: opens contact (evidence: `src/components/Hero.tsx`)
- Contact form → Theme and modal state: controls modal (evidence: `src/components/Contact.tsx`)
- About profile → Theme and modal state: opens contact (evidence: `src/components/About.tsx`)
- Project listings → Portfolio content: reads projects (evidence: `src/components/ProjectSection.tsx`)
- Research topics → Portfolio content: reads topics (evidence: `src/components/Research.tsx`)
- Skills → Portfolio content: reads skills (evidence: `src/components/Skills.tsx`)
- Statistics → Portfolio content: reads statistics (evidence: `src/components/Statistics.tsx`)
- Timeline → Portfolio content: reads milestones (evidence: `src/components/Timeline.tsx`)
- Achievements → Portfolio content: reads achievements (evidence: `src/components/Achievements.tsx`)
- About profile → Portfolio content: reads profile (evidence: `src/components/About.tsx`)
- Contact form → Portfolio content: reads contact info (evidence: `src/components/Contact.tsx`)
- Intro → Portfolio content: reads profile (evidence: `src/components/Intro.tsx`)
- Footer → Portfolio content: reads profile (evidence: `src/components/Footer.tsx`)
