# mohitrathod0115/mohit-rathod-portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/mohitrathod0115/mohit-rathod-portfolio
- Repository: https://github.com/mohitrathod0115/mohit-rathod-portfolio

## Overview

This is a React portfolio site: visitors scroll through a cinematic hero and modular profile sections covering education, skills, projects, goals, achievements, and contact. App.tsx assembles the page; section components present content from a shared portfolio data module, while the hero combines scroll-driven narrative with a Three.js canvas. The README documents the broader visual and interaction capabilities. Several section implementations were not excerpted, so their data and orchestration links rely on the SOURCE INDEX and App.tsx excerpt.

Main entry points: [`src/App.tsx`](https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/App.tsx) (Page orchestrator), [`src/data/portfolioData.ts`](https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/data/portfolioData.ts) (Portfolio content), [`src/sections/HeroSection.tsx`](https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/HeroSection.tsx) (Cinematic hero), [`src/sections/AboutSection.tsx`](https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/AboutSection.tsx) (About profile)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_composition["Page composition"]
  node_app["Page orchestrator<br/>[App.tsx]"]
  node_scroll["Smooth scrolling<br/>[useLenis.ts]"]
  node_cursor["Custom cursor<br/>[CustomCursor.tsx]"]
  node_marquee["Editorial marquees<br/>[Marquee.tsx]"]
end

subgraph group_hero["Hero experience"]
  node_hero["Cinematic hero<br/>[HeroSection.tsx]"]
  node_canvas["3D hero canvas<br/>[HeroCanvas.tsx]"]
end

subgraph group_profile["Profile and learning"]
  node_data["Portfolio content<br/>[portfolioData.ts]"]
  node_about["About profile<br/>[AboutSection.tsx]"]
  node_education["Academic foundation"]
  node_journey["Journey timeline<br/>[JourneySection.tsx]"]
  node_skills["Skills matrix<br/>[SkillsSection.tsx]"]
  node_learning["Learning roadmap"]
  node_achievements["Verified achievements"]
end

subgraph group_projects["Work and direction"]
  node_work["Project showcase<br/>[WorkSection.tsx]"]
  node_building["Building interests"]
  node_strengths["Personal strengths"]
  node_goals["Future goals<br/>[GoalsSection.tsx]"]
  node_capabilities["Capabilities"]
  node_whyme["Collaboration pitch<br/>[WhyMeSection.tsx]"]
end

subgraph group_contact["Contact and navigation"]
  node_contact["Contact section<br/>[ContactSection.tsx]"]
  node_cta["Closing call to action<br/>[CtaSection.tsx]"]
  node_navbar["Navigation bar<br/>[Navbar.tsx]"]
  node_mobilebar["Mobile contact bar"]
  node_footer["Footer links<br/>[Footer.tsx]"]
end

node_visitor(("Site visitor"))

node_visitor -->|"visits"| node_app
node_app -->|"initializes"| node_scroll
node_app -->|"renders"| node_cursor
node_app -->|"renders"| node_navbar
node_app -->|"renders"| node_marquee
node_app -->|"renders"| node_hero
node_app -->|"renders"| node_about
node_app -->|"renders"| node_education
node_app -->|"renders"| node_journey
node_app -->|"renders"| node_skills
node_app -->|"renders"| node_learning
node_app -->|"renders"| node_work
node_app -->|"renders"| node_building
node_app -->|"renders"| node_strengths
node_app -->|"renders"| node_goals
node_app -->|"renders"| node_capabilities
node_app -->|"renders"| node_whyme
node_app -->|"renders"| node_achievements
node_app -->|"renders"| node_contact
node_app -->|"renders"| node_cta
node_app -->|"renders"| node_mobilebar
node_app -->|"renders"| node_footer
node_hero -->|"renders"| node_canvas
node_hero -->|"reads"| node_data
node_about -->|"reads"| node_data
node_education -->|"reads"| node_data
node_journey -->|"reads"| node_data
node_skills -->|"reads"| node_data
node_learning -->|"reads"| node_data
node_work -->|"reads"| node_data
node_building -->|"reads"| node_data
node_strengths -->|"reads"| node_data
node_goals -->|"reads"| node_data
node_capabilities -->|"reads"| node_data
node_whyme -->|"reads"| node_data
node_achievements -->|"reads"| node_data
node_contact -->|"reads"| node_data
node_navbar -->|"reads"| node_data
node_mobilebar -->|"reads"| node_data
node_footer -->|"reads"| node_data

click node_app "https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/App.tsx"
click node_scroll "https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/hooks/useLenis.ts"
click node_cursor "https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/components/CustomCursor.tsx"
click node_marquee "https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/components/Marquee.tsx"
click node_data "https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/data/portfolioData.ts"
click node_hero "https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/HeroSection.tsx"
click node_canvas "https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/three/HeroCanvas.tsx"
click node_about "https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/AboutSection.tsx"
click node_education "https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/EducationSection.tsx"
click node_journey "https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/JourneySection.tsx"
click node_skills "https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/SkillsSection.tsx"
click node_learning "https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/LearningSection.tsx"
click node_work "https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/WorkSection.tsx"
click node_building "https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/BuildingSection.tsx"
click node_strengths "https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/StrengthsSection.tsx"
click node_goals "https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/GoalsSection.tsx"
click node_capabilities "https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/CapabilitiesSection.tsx"
click node_whyme "https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/WhyMeSection.tsx"
click node_achievements "https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/AchievementsSection.tsx"
click node_contact "https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/ContactSection.tsx"
click node_cta "https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/CtaSection.tsx"
click node_navbar "https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/components/Navbar.tsx"
click node_mobilebar "https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/components/FloatingMobileBar.tsx"
click node_footer "https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/components/Footer.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_scroll,node_cursor,node_marquee toneBlue
class node_hero,node_canvas toneAmber
class node_data,node_about,node_education,node_journey,node_skills,node_learning,node_achievements toneMint
class node_work,node_building,node_strengths,node_goals,node_capabilities,node_whyme toneRose
class node_contact,node_cta,node_navbar,node_mobilebar,node_footer,node_visitor toneIndigo
```

## Components

### Page composition

- [Page orchestrator](https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/App.tsx): `src/App.tsx`
- [Smooth scrolling](https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/hooks/useLenis.ts): `src/hooks/useLenis.ts`
- [Custom cursor](https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/components/CustomCursor.tsx): `src/components/CustomCursor.tsx`
- [Editorial marquees](https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/components/Marquee.tsx): `src/components/Marquee.tsx`

### Hero experience

- [Cinematic hero](https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/HeroSection.tsx): `src/sections/HeroSection.tsx`
- [3D hero canvas](https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/three/HeroCanvas.tsx): `src/three/HeroCanvas.tsx`

### Profile and learning

- [Portfolio content](https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/data/portfolioData.ts): `src/data/portfolioData.ts`
- [About profile](https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/AboutSection.tsx): `src/sections/AboutSection.tsx`
- [Academic foundation](https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/EducationSection.tsx): `src/sections/EducationSection.tsx`
- [Journey timeline](https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/JourneySection.tsx): `src/sections/JourneySection.tsx`
- [Skills matrix](https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/SkillsSection.tsx): `src/sections/SkillsSection.tsx`
- [Learning roadmap](https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/LearningSection.tsx): `src/sections/LearningSection.tsx`
- [Verified achievements](https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/AchievementsSection.tsx): `src/sections/AchievementsSection.tsx`

### Work and direction

- [Project showcase](https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/WorkSection.tsx): `src/sections/WorkSection.tsx`
- [Building interests](https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/BuildingSection.tsx): `src/sections/BuildingSection.tsx`
- [Personal strengths](https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/StrengthsSection.tsx): `src/sections/StrengthsSection.tsx`
- [Future goals](https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/GoalsSection.tsx): `src/sections/GoalsSection.tsx`
- [Capabilities](https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/CapabilitiesSection.tsx): `src/sections/CapabilitiesSection.tsx`
- [Collaboration pitch](https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/WhyMeSection.tsx): `src/sections/WhyMeSection.tsx`

### Contact and navigation

- [Contact section](https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/ContactSection.tsx): `src/sections/ContactSection.tsx`
- [Closing call to action](https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/sections/CtaSection.tsx): `src/sections/CtaSection.tsx`
- [Navigation bar](https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/components/Navbar.tsx): `src/components/Navbar.tsx`
- [Mobile contact bar](https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/components/FloatingMobileBar.tsx): `src/components/FloatingMobileBar.tsx`
- [Footer links](https://github.com/mohitrathod0115/mohit-rathod-portfolio/blob/main/src/components/Footer.tsx): `src/components/Footer.tsx`

### Other components

- **Site visitor**

## Connections

- Site visitor → Page orchestrator: visits (evidence: `README.md`)
- Page orchestrator → Smooth scrolling: initializes (evidence: `src/App.tsx`)
- Page orchestrator → Custom cursor: renders (evidence: `src/App.tsx`)
- Page orchestrator → Navigation bar: renders (evidence: `src/App.tsx`)
- Page orchestrator → Editorial marquees: renders (evidence: `src/App.tsx`)
- Page orchestrator → Cinematic hero: renders (evidence: `src/App.tsx`)
- Page orchestrator → About profile: renders (evidence: `src/App.tsx`)
- Page orchestrator → Academic foundation: renders (evidence: `src/App.tsx`)
- Page orchestrator → Journey timeline: renders (evidence: `src/App.tsx`)
- Page orchestrator → Skills matrix: renders (evidence: `src/App.tsx`)
- Page orchestrator → Learning roadmap: renders (evidence: `src/App.tsx`)
- Page orchestrator → Project showcase: renders (evidence: `src/App.tsx`)
- Page orchestrator → Building interests: renders (evidence: `src/App.tsx`)
- Page orchestrator → Personal strengths: renders (evidence: `src/App.tsx`)
- Page orchestrator → Future goals: renders (evidence: `src/App.tsx`)
- Page orchestrator → Capabilities: renders (evidence: `src/App.tsx`)
- Page orchestrator → Collaboration pitch: renders (evidence: `src/App.tsx`)
- Page orchestrator → Verified achievements: renders (evidence: `src/App.tsx`)
- Page orchestrator → Contact section: renders (evidence: `src/App.tsx`)
- Page orchestrator → Closing call to action: renders (evidence: `src/App.tsx`)
- Page orchestrator → Mobile contact bar: renders (evidence: `src/App.tsx`)
- Page orchestrator → Footer links: renders (evidence: `src/App.tsx`)
- Cinematic hero → 3D hero canvas: renders (evidence: `src/sections/HeroSection.tsx`)
- Cinematic hero → Portfolio content: reads (evidence: `src/sections/HeroSection.tsx`)
- About profile → Portfolio content: reads (evidence: `src/sections/AboutSection.tsx`)
- Academic foundation → Portfolio content: reads (evidence: `src/sections/EducationSection.tsx`)
- Journey timeline → Portfolio content: reads (evidence: `src/sections/JourneySection.tsx`)
- Skills matrix → Portfolio content: reads (evidence: `src/sections/SkillsSection.tsx`)
- Learning roadmap → Portfolio content: reads (evidence: `src/sections/LearningSection.tsx`)
- Project showcase → Portfolio content: reads (evidence: `src/sections/WorkSection.tsx`)
- Building interests → Portfolio content: reads (evidence: `src/sections/BuildingSection.tsx`)
- Personal strengths → Portfolio content: reads (evidence: `src/sections/StrengthsSection.tsx`)
- Future goals → Portfolio content: reads (evidence: `src/sections/GoalsSection.tsx`)
- Capabilities → Portfolio content: reads (evidence: `src/sections/CapabilitiesSection.tsx`)
- Collaboration pitch → Portfolio content: reads (evidence: `src/sections/WhyMeSection.tsx`)
- Verified achievements → Portfolio content: reads (evidence: `src/sections/AchievementsSection.tsx`)
- Contact section → Portfolio content: reads (evidence: `src/sections/ContactSection.tsx`)
- Navigation bar → Portfolio content: reads (evidence: `src/components/Navbar.tsx`)
- Mobile contact bar → Portfolio content: reads (evidence: `src/components/FloatingMobileBar.tsx`)
- Footer links → Portfolio content: reads (evidence: `src/components/Footer.tsx`)
