# manojkumar-mern/manoj_portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/manojkumar-mern/manoj_portfolio
- Repository: https://github.com/manojkumar-mern/manoj_portfolio

## Overview

This is a React portfolio site presenting Manoj Kumar’s developer profile, projects, skills, education, GitHub activity, and contact information. A visitor enters through the app router and reaches a single portfolio page whose sections are rendered in page order, with below-the-fold sections deferred and lazy-loaded. Project content is supplied by a dedicated data module; animation and performance hooks provide supporting behavior. The README also describes showcased projects, including a real-time chat application, but that describes portfolio content rather than backend services in this repository. Relationships below follow excerpts and SOURCE INDEX references; unsampled details are not inferred.

Main entry points: [`src/pages/Index.tsx`](https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/pages/Index.tsx) (Portfolio Page), [`src/components/Hero.tsx`](https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/components/Hero.tsx) (Hero), [`src/components/HeroProfileImage.tsx`](https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/components/HeroProfileImage.tsx) (Profile Image), [`src/components/FloatingIcons.tsx`](https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/components/FloatingIcons.tsx) (Floating Icons)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application"]
  node_app_entry["App Router<br/>[App.tsx]"]
  node_portfolio_page["Portfolio Page<br/>[Index.tsx]"]
end

subgraph group_presentation["Portfolio Sections"]
  node_hero["Hero<br/>[Hero.tsx]"]
  node_about["About<br/>[About.tsx]"]
  node_skills["Skills<br/>[Skills.tsx]"]
  node_projects["Projects<br/>[Projects.tsx]"]
  node_github_activity["GitHub Activity<br/>[GitHubActivity.tsx]"]
  node_education["Education<br/>[Education.tsx]"]
  node_contact["Contact<br/>[Contact.tsx]"]
  node_navigation["Navigation<br/>[Navbar.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
  node_hero_image["Profile Image"]
  node_floating_icons["Floating Icons<br/>[FloatingIcons.tsx]"]
end

subgraph group_content["Portfolio Content"]
  node_project_data["Project Data<br/>[projects.ts]"]
end

subgraph group_shared["Shared Runtime"]
  node_motion_hooks["GSAP Hook<br/>[use-gsap.ts]"]
  node_animation_lib["GSAP Runtime<br/>[gsap.ts]"]
  node_performance_hook["Performance Tier<br/>[use-performance.ts]"]
  node_idle_hook["Idle Animation"]
  node_devicons["Technology Icons<br/>[devicons.ts]"]
  node_tooltip["Tooltip Provider<br/>[tooltip.tsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_app_entry
node_app_entry -->|"routes to"| node_portfolio_page
node_app_entry -->|"provides"| node_tooltip
node_portfolio_page -->|"renders"| node_hero
node_portfolio_page -->|"renders"| node_navigation
node_portfolio_page -->|"lazy-loads"| node_about
node_portfolio_page -->|"lazy-loads"| node_skills
node_portfolio_page -->|"lazy-loads"| node_projects
node_portfolio_page -->|"lazy-loads"| node_github_activity
node_portfolio_page -->|"lazy-loads"| node_education
node_portfolio_page -->|"lazy-loads"| node_contact
node_portfolio_page -->|"lazy-loads"| node_footer
node_hero -->|"renders"| node_hero_image
node_hero -->|"renders"| node_floating_icons
node_projects -->|"reads"| node_project_data
node_hero -->|"uses"| node_motion_hooks
node_projects -->|"uses"| node_motion_hooks
node_skills -->|"uses"| node_motion_hooks
node_motion_hooks -->|"uses"| node_animation_lib
node_hero_image -->|"uses"| node_performance_hook
node_floating_icons -->|"uses"| node_performance_hook
node_hero_image -->|"uses"| node_idle_hook
node_floating_icons -->|"uses"| node_idle_hook
node_hero_image -->|"uses"| node_devicons
node_floating_icons -->|"uses"| node_devicons
node_about -->|"uses"| node_devicons
node_skills -->|"uses"| node_devicons

click node_app_entry "https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/App.tsx"
click node_portfolio_page "https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/pages/Index.tsx"
click node_hero "https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/components/Hero.tsx"
click node_about "https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/components/About.tsx"
click node_skills "https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/components/Skills.tsx"
click node_projects "https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/components/Projects.tsx"
click node_github_activity "https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/components/GitHubActivity.tsx"
click node_education "https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/components/Education.tsx"
click node_contact "https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/components/Contact.tsx"
click node_navigation "https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/components/Navbar.tsx"
click node_footer "https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/components/Footer.tsx"
click node_hero_image "https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/components/HeroProfileImage.tsx"
click node_floating_icons "https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/components/FloatingIcons.tsx"
click node_project_data "https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/data/projects.ts"
click node_motion_hooks "https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/hooks/use-gsap.ts"
click node_animation_lib "https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/lib/gsap.ts"
click node_performance_hook "https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/hooks/use-performance.ts"
click node_idle_hook "https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/hooks/use-idle-animation.ts"
click node_devicons "https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/lib/devicons.ts"
click node_tooltip "https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/components/ui/tooltip.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_entry,node_portfolio_page toneBlue
class node_hero,node_about,node_skills,node_projects,node_github_activity,node_education,node_contact,node_navigation,node_footer,node_hero_image,node_floating_icons toneAmber
class node_project_data toneMint
class node_motion_hooks,node_animation_lib,node_performance_hook,node_idle_hook,node_devicons,node_tooltip toneRose
class node_visitor toneIndigo
```

## Components

### Application

- [App Router](https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/App.tsx): `src/App.tsx`
- [Portfolio Page](https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/pages/Index.tsx): `src/pages/Index.tsx`

### Portfolio Sections

- [Hero](https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/components/Hero.tsx): `src/components/Hero.tsx`
- [About](https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/components/About.tsx): `src/components/About.tsx`
- [Skills](https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/components/Skills.tsx): `src/components/Skills.tsx`
- [Projects](https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/components/Projects.tsx): `src/components/Projects.tsx`
- [GitHub Activity](https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/components/GitHubActivity.tsx): `src/components/GitHubActivity.tsx`
- [Education](https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/components/Education.tsx): `src/components/Education.tsx`
- [Contact](https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/components/Contact.tsx): `src/components/Contact.tsx`
- [Navigation](https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/components/Navbar.tsx): `src/components/Navbar.tsx`
- [Footer](https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/components/Footer.tsx): `src/components/Footer.tsx`
- [Profile Image](https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/components/HeroProfileImage.tsx): `src/components/HeroProfileImage.tsx`
- [Floating Icons](https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/components/FloatingIcons.tsx): `src/components/FloatingIcons.tsx`

### Portfolio Content

- [Project Data](https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/data/projects.ts): `src/data/projects.ts`

### Shared Runtime

- [GSAP Hook](https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/hooks/use-gsap.ts): `src/hooks/use-gsap.ts`
- [GSAP Runtime](https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/lib/gsap.ts): `src/lib/gsap.ts`
- [Performance Tier](https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/hooks/use-performance.ts): `src/hooks/use-performance.ts`
- [Idle Animation](https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/hooks/use-idle-animation.ts): `src/hooks/use-idle-animation.ts`
- [Technology Icons](https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/lib/devicons.ts): `src/lib/devicons.ts`
- [Tooltip Provider](https://github.com/manojkumar-mern/manoj_portfolio/blob/main/src/components/ui/tooltip.tsx): `src/components/ui/tooltip.tsx`

### Other components

- **Visitor**

## Connections

- Visitor → App Router: opens
- App Router → Portfolio Page: routes to (evidence: `src/App.tsx`)
- App Router → Tooltip Provider: provides (evidence: `src/App.tsx`)
- Portfolio Page → Hero: renders (evidence: `src/pages/Index.tsx`)
- Portfolio Page → Navigation: renders (evidence: `src/pages/Index.tsx`)
- Portfolio Page → About: lazy-loads (evidence: `src/pages/Index.tsx`)
- Portfolio Page → Skills: lazy-loads (evidence: `src/pages/Index.tsx`)
- Portfolio Page → Projects: lazy-loads (evidence: `src/pages/Index.tsx`)
- Portfolio Page → GitHub Activity: lazy-loads (evidence: `src/pages/Index.tsx`)
- Portfolio Page → Education: lazy-loads (evidence: `src/pages/Index.tsx`)
- Portfolio Page → Contact: lazy-loads (evidence: `src/pages/Index.tsx`)
- Portfolio Page → Footer: lazy-loads (evidence: `src/pages/Index.tsx`)
- Hero → Profile Image: renders (evidence: `src/components/Hero.tsx`)
- Hero → Floating Icons: renders (evidence: `src/components/Hero.tsx`)
- Projects → Project Data: reads (evidence: `src/components/Projects.tsx`)
- Hero → GSAP Hook: uses (evidence: `src/components/Hero.tsx`)
- Projects → GSAP Hook: uses (evidence: `src/components/Projects.tsx`)
- Skills → GSAP Hook: uses (evidence: `src/components/Skills.tsx`)
- GSAP Hook → GSAP Runtime: uses (evidence: `src/hooks/use-gsap.ts`)
- Profile Image → Performance Tier: uses (evidence: `src/components/HeroProfileImage.tsx`)
- Floating Icons → Performance Tier: uses (evidence: `src/components/FloatingIcons.tsx`)
- Profile Image → Idle Animation: uses (evidence: `src/components/HeroProfileImage.tsx`)
- Floating Icons → Idle Animation: uses (evidence: `src/components/FloatingIcons.tsx`)
- Profile Image → Technology Icons: uses (evidence: `src/components/HeroProfileImage.tsx`)
- Floating Icons → Technology Icons: uses (evidence: `src/components/FloatingIcons.tsx`)
- About → Technology Icons: uses (evidence: `src/components/About.tsx`)
- Skills → Technology Icons: uses (evidence: `src/components/Skills.tsx`)
