# manishvarma2972-stack/portfolio architecture

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

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

## Overview

This is a single-page Next.js portfolio: visitors browse the profile, project case studies, skills, milestones, education and contact links. The page composes these sections from centralized content, while a separate motion layer enhances the rendered page. The project diagrams describe featured products; their underlying applications are not part of this repository. Edges reflect shown imports, page composition or README-documented animation behavior; unsampled implementation details are not inferred.

Main entry points: [`src/app/page.tsx`](https://github.com/manishvarma2972-stack/portfolio/blob/main/src/app/page.tsx) (Home page), [`src/content/profile.ts`](https://github.com/manishvarma2972-stack/portfolio/blob/main/src/content/profile.ts) (Profile and projects), [`src/components/Projects.tsx`](https://github.com/manishvarma2972-stack/portfolio/blob/main/src/components/Projects.tsx) (Project case studies), [`src/components/Hero.tsx`](https://github.com/manishvarma2972-stack/portfolio/blob/main/src/components/Hero.tsx) (Hero)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Page experience"]
  node_home["Home page<br/>[page.tsx]"]
  node_navigation["Navigation<br/>[Nav.tsx]"]
  node_hero["Hero<br/>[Hero.tsx]"]
  node_projects["Project case studies<br/>[Projects.tsx]"]
  node_diagrams["Project diagrams<br/>[Diagrams.tsx]"]
  node_sections["Profile sections<br/>[Sections.tsx]"]
  node_section_layout["Section layout<br/>[Section.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
  node_brand_icons["Brand icons<br/>[BrandIcons.tsx]"]
  node_waveform["Hero waveform<br/>[Waveform.tsx]"]
end

subgraph group_content["Portfolio content"]
  node_profile_data["Profile and projects<br/>[profile.ts]"]
  node_navigation_data["Navigation links<br/>[nav.ts]"]
end

subgraph group_motion["Motion and interaction"]
  node_theme["Theme toggle<br/>[ThemeToggle.tsx]"]
  node_motion_root["Scroll animation<br/>[MotionRoot.tsx]"]
  node_cursor["Cursor ring<br/>[Cursor.tsx]"]
end

subgraph group_metadata["Search metadata"]
  node_layout["App layout<br/>[layout.tsx]"]
  node_robots["Robots metadata<br/>[robots.ts]"]
  node_sitemap["Sitemap metadata<br/>[sitemap.ts]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_home
node_home -->|"renders"| node_navigation
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_projects
node_home -->|"renders"| node_sections
node_home -->|"renders"| node_footer
node_home -->|"mounts"| node_motion_root
node_home -->|"mounts"| node_cursor
node_navigation -->|"renders"| node_theme
node_navigation -->|"reads"| node_profile_data
node_navigation -->|"reads"| node_navigation_data
node_hero -->|"reads"| node_profile_data
node_hero -->|"renders"| node_waveform
node_hero -->|"renders"| node_brand_icons
node_projects -->|"reads"| node_profile_data
node_projects -->|"renders"| node_diagrams
node_projects -->|"uses"| node_section_layout
node_projects -->|"renders"| node_brand_icons
node_diagrams -->|"uses types"| node_profile_data
node_sections -->|"reads"| node_profile_data
node_sections -->|"renders"| node_section_layout
node_sections -->|"renders"| node_brand_icons
node_footer -->|"reads"| node_profile_data
node_footer -->|"reads"| node_navigation_data
node_motion_root -->|"animates"| node_hero
node_motion_root -->|"animates"| node_projects
node_motion_root -->|"animates"| node_sections
node_layout -->|"reads"| node_profile_data
node_robots -->|"reads"| node_profile_data
node_sitemap -->|"reads"| node_profile_data

click node_home "https://github.com/manishvarma2972-stack/portfolio/blob/main/src/app/page.tsx"
click node_navigation "https://github.com/manishvarma2972-stack/portfolio/blob/main/src/components/Nav.tsx"
click node_hero "https://github.com/manishvarma2972-stack/portfolio/blob/main/src/components/Hero.tsx"
click node_projects "https://github.com/manishvarma2972-stack/portfolio/blob/main/src/components/Projects.tsx"
click node_diagrams "https://github.com/manishvarma2972-stack/portfolio/blob/main/src/components/Diagrams.tsx"
click node_sections "https://github.com/manishvarma2972-stack/portfolio/blob/main/src/components/Sections.tsx"
click node_section_layout "https://github.com/manishvarma2972-stack/portfolio/blob/main/src/components/Section.tsx"
click node_footer "https://github.com/manishvarma2972-stack/portfolio/blob/main/src/components/Footer.tsx"
click node_brand_icons "https://github.com/manishvarma2972-stack/portfolio/blob/main/src/components/BrandIcons.tsx"
click node_waveform "https://github.com/manishvarma2972-stack/portfolio/blob/main/src/components/Waveform.tsx"
click node_profile_data "https://github.com/manishvarma2972-stack/portfolio/blob/main/src/content/profile.ts"
click node_navigation_data "https://github.com/manishvarma2972-stack/portfolio/blob/main/src/content/nav.ts"
click node_theme "https://github.com/manishvarma2972-stack/portfolio/blob/main/src/components/ThemeToggle.tsx"
click node_motion_root "https://github.com/manishvarma2972-stack/portfolio/blob/main/src/components/motion/MotionRoot.tsx"
click node_cursor "https://github.com/manishvarma2972-stack/portfolio/blob/main/src/components/motion/Cursor.tsx"
click node_layout "https://github.com/manishvarma2972-stack/portfolio/blob/main/src/app/layout.tsx"
click node_robots "https://github.com/manishvarma2972-stack/portfolio/blob/main/src/app/robots.ts"
click node_sitemap "https://github.com/manishvarma2972-stack/portfolio/blob/main/src/app/sitemap.ts"

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_home,node_navigation,node_hero,node_projects,node_diagrams,node_sections,node_section_layout,node_footer,node_brand_icons,node_waveform toneBlue
class node_profile_data,node_navigation_data toneAmber
class node_theme,node_motion_root,node_cursor toneMint
class node_layout,node_robots,node_sitemap toneRose
class node_visitor toneIndigo
```

## Components

### Page experience

- [Home page](https://github.com/manishvarma2972-stack/portfolio/blob/main/src/app/page.tsx): `src/app/page.tsx`
- [Navigation](https://github.com/manishvarma2972-stack/portfolio/blob/main/src/components/Nav.tsx): `src/components/Nav.tsx`
- [Hero](https://github.com/manishvarma2972-stack/portfolio/blob/main/src/components/Hero.tsx): `src/components/Hero.tsx`
- [Project case studies](https://github.com/manishvarma2972-stack/portfolio/blob/main/src/components/Projects.tsx): `src/components/Projects.tsx`
- [Project diagrams](https://github.com/manishvarma2972-stack/portfolio/blob/main/src/components/Diagrams.tsx): `src/components/Diagrams.tsx`
- [Profile sections](https://github.com/manishvarma2972-stack/portfolio/blob/main/src/components/Sections.tsx): `src/components/Sections.tsx`
- [Section layout](https://github.com/manishvarma2972-stack/portfolio/blob/main/src/components/Section.tsx): `src/components/Section.tsx`
- [Footer](https://github.com/manishvarma2972-stack/portfolio/blob/main/src/components/Footer.tsx): `src/components/Footer.tsx`
- [Brand icons](https://github.com/manishvarma2972-stack/portfolio/blob/main/src/components/BrandIcons.tsx): `src/components/BrandIcons.tsx`
- [Hero waveform](https://github.com/manishvarma2972-stack/portfolio/blob/main/src/components/Waveform.tsx): `src/components/Waveform.tsx`

### Portfolio content

- [Profile and projects](https://github.com/manishvarma2972-stack/portfolio/blob/main/src/content/profile.ts): `src/content/profile.ts`
- [Navigation links](https://github.com/manishvarma2972-stack/portfolio/blob/main/src/content/nav.ts): `src/content/nav.ts`

### Motion and interaction

- [Theme toggle](https://github.com/manishvarma2972-stack/portfolio/blob/main/src/components/ThemeToggle.tsx): `src/components/ThemeToggle.tsx`
- [Scroll animation](https://github.com/manishvarma2972-stack/portfolio/blob/main/src/components/motion/MotionRoot.tsx): `src/components/motion/MotionRoot.tsx`
- [Cursor ring](https://github.com/manishvarma2972-stack/portfolio/blob/main/src/components/motion/Cursor.tsx): `src/components/motion/Cursor.tsx`

### Search metadata

- [App layout](https://github.com/manishvarma2972-stack/portfolio/blob/main/src/app/layout.tsx): `src/app/layout.tsx`
- [Robots metadata](https://github.com/manishvarma2972-stack/portfolio/blob/main/src/app/robots.ts): `src/app/robots.ts`
- [Sitemap metadata](https://github.com/manishvarma2972-stack/portfolio/blob/main/src/app/sitemap.ts): `src/app/sitemap.ts`

### Other components

- **Visitor**

## Connections

- Visitor → Home page: opens (evidence: `src/app/page.tsx`)
- Home page → Navigation: renders (evidence: `src/app/page.tsx`)
- Home page → Hero: renders (evidence: `src/app/page.tsx`)
- Home page → Project case studies: renders (evidence: `src/app/page.tsx`)
- Home page → Profile sections: renders (evidence: `src/app/page.tsx`)
- Home page → Footer: renders (evidence: `src/app/page.tsx`)
- Home page → Scroll animation: mounts (evidence: `src/app/page.tsx`)
- Home page → Cursor ring: mounts (evidence: `src/app/page.tsx`)
- Navigation → Theme toggle: renders (evidence: `src/components/Nav.tsx`)
- Navigation → Profile and projects: reads (evidence: `src/components/Nav.tsx`)
- Navigation → Navigation links: reads (evidence: `src/components/Nav.tsx`)
- Hero → Profile and projects: reads (evidence: `src/components/Hero.tsx`)
- Hero → Hero waveform: renders (evidence: `src/components/Hero.tsx`)
- Hero → Brand icons: renders (evidence: `src/components/Hero.tsx`)
- Project case studies → Profile and projects: reads (evidence: `src/components/Projects.tsx`)
- Project case studies → Project diagrams: renders (evidence: `src/components/Projects.tsx`)
- Project case studies → Section layout: uses (evidence: `src/components/Projects.tsx`)
- Project case studies → Brand icons: renders (evidence: `src/components/Projects.tsx`)
- Project diagrams → Profile and projects: uses types (evidence: `src/components/Diagrams.tsx`)
- Profile sections → Profile and projects: reads (evidence: `src/components/Sections.tsx`)
- Profile sections → Section layout: renders (evidence: `src/components/Sections.tsx`)
- Profile sections → Brand icons: renders (evidence: `src/components/Sections.tsx`)
- Footer → Profile and projects: reads (evidence: `src/components/Footer.tsx`)
- Footer → Navigation links: reads (evidence: `src/components/Footer.tsx`)
- Scroll animation → Hero: animates (evidence: `README.md`)
- Scroll animation → Project case studies: animates (evidence: `README.md`)
- Scroll animation → Profile sections: animates (evidence: `README.md`)
- App layout → Profile and projects: reads (evidence: `src/app/layout.tsx`)
- Robots metadata → Profile and projects: reads (evidence: `src/app/robots.ts`)
- Sitemap metadata → Profile and projects: reads (evidence: `src/app/sitemap.ts`)
