# monish2106/portfolio2 architecture

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

- Interactive diagram: https://gitdiagram.com/monish2106/portfolio2
- Repository: https://github.com/monish2106/portfolio2

## Overview

This is a React/TypeScript personal portfolio. Visitors browse an assembled sequence of profile, skills, projects, career timeline, resume, achievements, and contact sections; project cards can open a detail modal, and the contact form currently simulates submission rather than sending email. The graph emphasizes the page composition and documented content capabilities. Relationships are limited to imports and calls visible in excerpts or the SOURCE INDEX; unsampled implementation details are not inferred.

Main entry points: [`src/App.tsx`](https://github.com/monish2106/portfolio2/blob/master/src/App.tsx) (Portfolio page), [`src/components/Reveal.tsx`](https://github.com/monish2106/portfolio2/blob/master/src/components/Reveal.tsx) (Reveal animations), [`src/components/Projects.tsx`](https://github.com/monish2106/portfolio2/blob/master/src/components/Projects.tsx) (Project gallery), [`src/data/projects.ts`](https://github.com/monish2106/portfolio2/blob/master/src/data/projects.ts) (Project content)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_composition["Page composition"]
  node_app["Portfolio page<br/>[App.tsx]"]
  node_navbar["Navigation<br/>[Navbar.tsx]"]
end

subgraph group_content["Portfolio content"]
  node_hero["Introduction<br/>[Hero.tsx]"]
  node_about["About profile<br/>[About.tsx]"]
  node_skills["Skills<br/>[Skills.tsx]"]
  node_journey["Career timeline<br/>[Journey.tsx]"]
  node_resume["Resume<br/>[Resume.tsx]"]
  node_achievements["Achievements<br/>[Achievements.tsx]"]
  node_contact["Contact form<br/>[Contact.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
end

subgraph group_projects["Project showcase"]
  node_projects["Project gallery<br/>[Projects.tsx]"]
  node_projectdata["Project content<br/>[projects.ts]"]
  node_projectcard["Project card<br/>[ProjectCard.tsx]"]
  node_projectmodal["Project details<br/>[ProjectModal.tsx]"]
  node_projectvisual["Project artwork<br/>[ProjectVisual.tsx]"]
end

subgraph group_shared["Shared presentation"]
  node_activehook["Active section hook"]
  node_reveal["Reveal animations<br/>[Reveal.tsx]"]
  node_ambient["Ambient background"]
  node_cursor["Custom cursor<br/>[CustomCursor.tsx]"]
  node_scrollprogress["Scroll progress<br/>[ScrollProgress.tsx]"]
  node_backtotop["Back to top<br/>[BackToTop.tsx]"]
end

node_visitor(("Visitor"))

node_visitor -.->|"browses"| node_app
node_app -->|"renders"| node_navbar
node_app -->|"renders"| node_hero
node_app -->|"renders"| node_about
node_app -->|"renders"| node_skills
node_app -->|"renders"| node_projects
node_app -->|"renders"| node_journey
node_app -->|"renders"| node_resume
node_app -->|"renders"| node_achievements
node_app -->|"renders"| node_contact
node_app -->|"renders"| node_footer
node_app -->|"renders"| node_cursor
node_app -->|"renders"| node_scrollprogress
node_app -->|"renders"| node_backtotop
node_navbar -->|"uses"| node_activehook
node_hero -->|"renders"| node_ambient
node_about -->|"renders"| node_ambient
node_about -->|"uses"| node_reveal
node_skills -->|"uses"| node_reveal
node_journey -->|"uses"| node_reveal
node_resume -->|"uses"| node_reveal
node_achievements -->|"uses"| node_reveal
node_contact -->|"renders"| node_ambient
node_contact -->|"uses"| node_reveal
node_projects -->|"renders"| node_projectcard
node_projects -->|"renders"| node_projectmodal
node_projects -->|"reads"| node_projectdata
node_projects -->|"uses"| node_reveal
node_projectcard -->|"renders"| node_projectvisual
node_projectcard -->|"uses"| node_projectdata
node_projectmodal -->|"renders"| node_projectvisual
node_projectmodal -->|"uses"| node_projectdata
node_projectvisual -->|"uses"| node_projectdata

click node_app "https://github.com/monish2106/portfolio2/blob/master/src/App.tsx"
click node_navbar "https://github.com/monish2106/portfolio2/blob/master/src/components/Navbar.tsx"
click node_hero "https://github.com/monish2106/portfolio2/blob/master/src/components/Hero.tsx"
click node_about "https://github.com/monish2106/portfolio2/blob/master/src/components/About.tsx"
click node_skills "https://github.com/monish2106/portfolio2/blob/master/src/components/Skills.tsx"
click node_journey "https://github.com/monish2106/portfolio2/blob/master/src/components/Journey.tsx"
click node_resume "https://github.com/monish2106/portfolio2/blob/master/src/components/Resume.tsx"
click node_achievements "https://github.com/monish2106/portfolio2/blob/master/src/components/Achievements.tsx"
click node_contact "https://github.com/monish2106/portfolio2/blob/master/src/components/Contact.tsx"
click node_footer "https://github.com/monish2106/portfolio2/blob/master/src/components/Footer.tsx"
click node_projects "https://github.com/monish2106/portfolio2/blob/master/src/components/Projects.tsx"
click node_projectdata "https://github.com/monish2106/portfolio2/blob/master/src/data/projects.ts"
click node_projectcard "https://github.com/monish2106/portfolio2/blob/master/src/components/ProjectCard.tsx"
click node_projectmodal "https://github.com/monish2106/portfolio2/blob/master/src/components/ProjectModal.tsx"
click node_projectvisual "https://github.com/monish2106/portfolio2/blob/master/src/components/ProjectVisual.tsx"
click node_activehook "https://github.com/monish2106/portfolio2/blob/master/src/hooks/useActiveSection.ts"
click node_reveal "https://github.com/monish2106/portfolio2/blob/master/src/components/Reveal.tsx"
click node_ambient "https://github.com/monish2106/portfolio2/blob/master/src/components/AmbientBackground.tsx"
click node_cursor "https://github.com/monish2106/portfolio2/blob/master/src/components/CustomCursor.tsx"
click node_scrollprogress "https://github.com/monish2106/portfolio2/blob/master/src/components/ScrollProgress.tsx"
click node_backtotop "https://github.com/monish2106/portfolio2/blob/master/src/components/BackToTop.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 toneBlue
class node_hero,node_about,node_skills,node_journey,node_resume,node_achievements,node_contact,node_footer toneAmber
class node_projects,node_projectdata,node_projectcard,node_projectmodal,node_projectvisual toneMint
class node_activehook,node_reveal,node_ambient,node_cursor,node_scrollprogress,node_backtotop toneRose
class node_visitor toneIndigo
```

## Components

### Page composition

- [Portfolio page](https://github.com/monish2106/portfolio2/blob/master/src/App.tsx): `src/App.tsx`
- [Navigation](https://github.com/monish2106/portfolio2/blob/master/src/components/Navbar.tsx): `src/components/Navbar.tsx`

### Portfolio content

- [Introduction](https://github.com/monish2106/portfolio2/blob/master/src/components/Hero.tsx): `src/components/Hero.tsx`
- [About profile](https://github.com/monish2106/portfolio2/blob/master/src/components/About.tsx): `src/components/About.tsx`
- [Skills](https://github.com/monish2106/portfolio2/blob/master/src/components/Skills.tsx): `src/components/Skills.tsx`
- [Career timeline](https://github.com/monish2106/portfolio2/blob/master/src/components/Journey.tsx): `src/components/Journey.tsx`
- [Resume](https://github.com/monish2106/portfolio2/blob/master/src/components/Resume.tsx): `src/components/Resume.tsx`
- [Achievements](https://github.com/monish2106/portfolio2/blob/master/src/components/Achievements.tsx): `src/components/Achievements.tsx`
- [Contact form](https://github.com/monish2106/portfolio2/blob/master/src/components/Contact.tsx): `src/components/Contact.tsx`
- [Footer](https://github.com/monish2106/portfolio2/blob/master/src/components/Footer.tsx): `src/components/Footer.tsx`

### Project showcase

- [Project gallery](https://github.com/monish2106/portfolio2/blob/master/src/components/Projects.tsx): `src/components/Projects.tsx`
- [Project content](https://github.com/monish2106/portfolio2/blob/master/src/data/projects.ts): `src/data/projects.ts`
- [Project card](https://github.com/monish2106/portfolio2/blob/master/src/components/ProjectCard.tsx): `src/components/ProjectCard.tsx`
- [Project details](https://github.com/monish2106/portfolio2/blob/master/src/components/ProjectModal.tsx): `src/components/ProjectModal.tsx`
- [Project artwork](https://github.com/monish2106/portfolio2/blob/master/src/components/ProjectVisual.tsx): `src/components/ProjectVisual.tsx`

### Shared presentation

- [Active section hook](https://github.com/monish2106/portfolio2/blob/master/src/hooks/useActiveSection.ts): `src/hooks/useActiveSection.ts`
- [Reveal animations](https://github.com/monish2106/portfolio2/blob/master/src/components/Reveal.tsx): `src/components/Reveal.tsx`
- [Ambient background](https://github.com/monish2106/portfolio2/blob/master/src/components/AmbientBackground.tsx): `src/components/AmbientBackground.tsx`
- [Custom cursor](https://github.com/monish2106/portfolio2/blob/master/src/components/CustomCursor.tsx): `src/components/CustomCursor.tsx`
- [Scroll progress](https://github.com/monish2106/portfolio2/blob/master/src/components/ScrollProgress.tsx): `src/components/ScrollProgress.tsx`
- [Back to top](https://github.com/monish2106/portfolio2/blob/master/src/components/BackToTop.tsx): `src/components/BackToTop.tsx`

### Other components

- **Visitor**

## Connections

- Visitor → Portfolio page: browses
- Portfolio page → Navigation: renders (evidence: `src/App.tsx`)
- Portfolio page → Introduction: renders (evidence: `src/App.tsx`)
- Portfolio page → About profile: renders (evidence: `src/App.tsx`)
- Portfolio page → Skills: renders (evidence: `src/App.tsx`)
- Portfolio page → Project gallery: renders (evidence: `src/App.tsx`)
- Portfolio page → Career timeline: renders (evidence: `src/App.tsx`)
- Portfolio page → Resume: renders (evidence: `src/App.tsx`)
- Portfolio page → Achievements: renders (evidence: `src/App.tsx`)
- Portfolio page → Contact form: renders (evidence: `src/App.tsx`)
- Portfolio page → Footer: renders (evidence: `src/App.tsx`)
- Portfolio page → Custom cursor: renders (evidence: `src/App.tsx`)
- Portfolio page → Scroll progress: renders (evidence: `src/App.tsx`)
- Portfolio page → Back to top: renders (evidence: `src/App.tsx`)
- Navigation → Active section hook: uses (evidence: `src/components/Navbar.tsx`)
- Introduction → Ambient background: renders (evidence: `src/components/Hero.tsx`)
- About profile → Ambient background: renders (evidence: `src/components/About.tsx`)
- About profile → Reveal animations: uses (evidence: `src/components/About.tsx`)
- Skills → Reveal animations: uses (evidence: `src/components/Skills.tsx`)
- Career timeline → Reveal animations: uses (evidence: `src/components/Journey.tsx`)
- Resume → Reveal animations: uses (evidence: `src/components/Resume.tsx`)
- Achievements → Reveal animations: uses (evidence: `src/components/Achievements.tsx`)
- Contact form → Ambient background: renders (evidence: `src/components/Contact.tsx`)
- Contact form → Reveal animations: uses (evidence: `src/components/Contact.tsx`)
- Project gallery → Project card: renders (evidence: `src/components/Projects.tsx`)
- Project gallery → Project details: renders (evidence: `src/components/Projects.tsx`)
- Project gallery → Project content: reads (evidence: `src/components/Projects.tsx`)
- Project gallery → Reveal animations: uses (evidence: `src/components/Projects.tsx`)
- Project card → Project artwork: renders (evidence: `src/components/ProjectCard.tsx`)
- Project card → Project content: uses (evidence: `src/components/ProjectCard.tsx`)
- Project details → Project artwork: renders (evidence: `src/components/ProjectModal.tsx`)
- Project details → Project content: uses (evidence: `src/components/ProjectModal.tsx`)
- Project artwork → Project content: uses (evidence: `src/components/ProjectVisual.tsx`)
