# gireesh2658/portfolio architecture

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

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

## Overview

This is a personal portfolio built with Next.js: visitors move through a cinematic home page to project summaries and individual case studies, with a separate interactive tunnel lab. The home route composes the portfolio sections; project content also feeds the work section and case-study routes. Shared motion, scroll, and language utilities support the experience. README documents the Three.js tunnel and the project and experience showcases. Edges reflect the supplied route excerpt, source index references, and README; unsampled implementations are not inferred.

Main entry points: [`app/page.tsx`](https://github.com/gireesh2658/portfolio/blob/main/app/page.tsx) (Home Route), [`components/sections/Journey/LightJourney.tsx`](https://github.com/gireesh2658/portfolio/blob/main/components/sections/Journey/LightJourney.tsx) (Light Journey), [`app/work/[slug]/page.tsx`](https://github.com/gireesh2658/portfolio/blob/main/app/work/%5Bslug%5D/page.tsx) (Case Study Route), [`app/tunnel/page.tsx`](https://github.com/gireesh2658/portfolio/blob/main/app/tunnel/page.tsx) (Tunnel Lab Route)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_routes["Routes and Navigation"]
  node_home["Home Route<br/>[page.tsx]"]
  node_nav["Site Navigation<br/>[Nav.tsx]"]
  node_case_route["Case Study Route<br/>[page.tsx]"]
  node_case_view["Case Study View<br/>[CaseView.tsx]"]
  node_lab_route["Tunnel Lab Route<br/>[page.tsx]"]
  node_lab_bar["Lab Navigation<br/>[LabBar.tsx]"]
end

subgraph group_portfolio["Portfolio Sections"]
  node_tunnel_type["Tunnel Experiment<br/>[TunnelType.tsx]"]
  node_scene_layout["Cinematic Scene Layout<br/>[Scene.tsx]"]
  node_intro["Three.js Tunnel Intro<br/>[TunnelIntro.tsx]"]
  node_hero["Hero<br/>[Hero.tsx]"]
  node_about["About<br/>[About.tsx]"]
  node_journey["Light Journey<br/>[LightJourney.tsx]"]
  node_stack["Design Stack<br/>[DesignStack.tsx]"]
  node_work["Selected Work<br/>[Work.tsx]"]
  node_experience_section["Experience<br/>[Experience.tsx]"]
  node_certifications["Certifications<br/>[Certifications.tsx]"]
  node_gallery["Gallery<br/>[Gallery.tsx]"]
  node_connect["Connect<br/>[Connect.tsx]"]
end

subgraph group_content["Portfolio Content"]
  node_projects_data["Project Records<br/>[projects.ts]"]
  node_experience_data["Experience Records<br/>[experience.ts]"]
  node_journey_data["Journey Records<br/>[journey.ts]"]
  node_stack_data["Stack Records<br/>[stack.ts]"]
  node_cert_data["Credential Records<br/>[certifications.ts]"]
  node_gallery_data["Gallery Records<br/>[gallery.ts]"]
end

subgraph group_experience["Motion and Presentation"]
  node_motion["GSAP Motion<br/>[gsap.ts]"]
  node_scene_scroll["Scene Scroll Mapping<br/>[scene.ts]"]
  node_smooth_scroll["Smooth Scrolling<br/>[lenis.ts]"]
  node_language["Language Context<br/>[i18n.tsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_home
node_home -->|"renders"| node_nav
node_home -->|"wraps sections"| node_scene_layout
node_home -->|"renders"| node_intro
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_about
node_home -->|"renders"| node_journey
node_home -->|"renders"| node_stack
node_home -->|"renders"| node_work
node_home -->|"renders"| node_experience_section
node_home -->|"renders"| node_certifications
node_home -->|"renders"| node_gallery
node_home -->|"renders"| node_connect
node_work -->|"reads"| node_projects_data
node_experience_section -->|"reads"| node_experience_data
node_journey -->|"reads"| node_journey_data
node_stack -->|"reads"| node_stack_data
node_certifications -->|"reads"| node_cert_data
node_gallery -->|"reads"| node_gallery_data
node_visitor -->|"opens case study"| node_case_route
node_case_route -->|"renders"| node_case_view
node_case_route -->|"selects project"| node_projects_data
node_case_view -->|"reads"| node_projects_data
node_visitor -.->|"opens lab"| node_lab_route
node_lab_route -->|"renders"| node_tunnel_type
node_lab_route -->|"renders"| node_lab_bar
node_intro -->|"maps scroll"| node_scene_scroll
node_journey -->|"maps scroll"| node_scene_scroll
node_nav -->|"animates with"| node_motion
node_intro -->|"reads strings"| node_language
node_journey -->|"reads strings"| node_language
node_home -.->|"serves page"| node_visitor

click node_home "https://github.com/gireesh2658/portfolio/blob/main/app/page.tsx"
click node_nav "https://github.com/gireesh2658/portfolio/blob/main/components/layout/Nav.tsx"
click node_case_route "https://github.com/gireesh2658/portfolio/blob/main/app/work/%5Bslug%5D/page.tsx"
click node_case_view "https://github.com/gireesh2658/portfolio/blob/main/app/work/%5Bslug%5D/CaseView.tsx"
click node_lab_route "https://github.com/gireesh2658/portfolio/blob/main/app/tunnel/page.tsx"
click node_lab_bar "https://github.com/gireesh2658/portfolio/blob/main/app/tunnel/LabBar.tsx"
click node_tunnel_type "https://github.com/gireesh2658/portfolio/blob/main/components/lab/TunnelType.tsx"
click node_scene_layout "https://github.com/gireesh2658/portfolio/blob/main/components/layout/Scene.tsx"
click node_intro "https://github.com/gireesh2658/portfolio/blob/main/components/sections/Intro/TunnelIntro.tsx"
click node_hero "https://github.com/gireesh2658/portfolio/blob/main/components/sections/Hero/Hero.tsx"
click node_about "https://github.com/gireesh2658/portfolio/blob/main/components/sections/About/About.tsx"
click node_journey "https://github.com/gireesh2658/portfolio/blob/main/components/sections/Journey/LightJourney.tsx"
click node_stack "https://github.com/gireesh2658/portfolio/blob/main/components/sections/Stack/DesignStack.tsx"
click node_work "https://github.com/gireesh2658/portfolio/blob/main/components/sections/Work/Work.tsx"
click node_experience_section "https://github.com/gireesh2658/portfolio/blob/main/components/sections/Experience/Experience.tsx"
click node_certifications "https://github.com/gireesh2658/portfolio/blob/main/components/sections/Certifications/Certifications.tsx"
click node_gallery "https://github.com/gireesh2658/portfolio/blob/main/components/sections/Gallery/Gallery.tsx"
click node_connect "https://github.com/gireesh2658/portfolio/blob/main/components/sections/Connect/Connect.tsx"
click node_projects_data "https://github.com/gireesh2658/portfolio/blob/main/content/projects.ts"
click node_experience_data "https://github.com/gireesh2658/portfolio/blob/main/content/experience.ts"
click node_journey_data "https://github.com/gireesh2658/portfolio/blob/main/content/journey.ts"
click node_stack_data "https://github.com/gireesh2658/portfolio/blob/main/content/stack.ts"
click node_cert_data "https://github.com/gireesh2658/portfolio/blob/main/content/certifications.ts"
click node_gallery_data "https://github.com/gireesh2658/portfolio/blob/main/content/gallery.ts"
click node_motion "https://github.com/gireesh2658/portfolio/blob/main/lib/gsap.ts"
click node_scene_scroll "https://github.com/gireesh2658/portfolio/blob/main/lib/scene.ts"
click node_smooth_scroll "https://github.com/gireesh2658/portfolio/blob/main/lib/lenis.ts"
click node_language "https://github.com/gireesh2658/portfolio/blob/main/lib/i18n.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_home,node_nav,node_case_route,node_case_view,node_lab_route,node_lab_bar toneBlue
class node_tunnel_type,node_scene_layout,node_intro,node_hero,node_about,node_journey,node_stack,node_work,node_experience_section,node_certifications,node_gallery,node_connect toneAmber
class node_projects_data,node_experience_data,node_journey_data,node_stack_data,node_cert_data,node_gallery_data toneMint
class node_motion,node_scene_scroll,node_smooth_scroll,node_language toneRose
class node_visitor toneIndigo
```

## Components

### Routes and Navigation

- [Home Route](https://github.com/gireesh2658/portfolio/blob/main/app/page.tsx): `app/page.tsx`
- [Site Navigation](https://github.com/gireesh2658/portfolio/blob/main/components/layout/Nav.tsx): `components/layout/Nav.tsx`
- [Case Study Route](https://github.com/gireesh2658/portfolio/blob/main/app/work/%5Bslug%5D/page.tsx): `app/work/[slug]/page.tsx`
- [Case Study View](https://github.com/gireesh2658/portfolio/blob/main/app/work/%5Bslug%5D/CaseView.tsx): `app/work/[slug]/CaseView.tsx`
- [Tunnel Lab Route](https://github.com/gireesh2658/portfolio/blob/main/app/tunnel/page.tsx): `app/tunnel/page.tsx`
- [Lab Navigation](https://github.com/gireesh2658/portfolio/blob/main/app/tunnel/LabBar.tsx): `app/tunnel/LabBar.tsx`

### Portfolio Sections

- [Tunnel Experiment](https://github.com/gireesh2658/portfolio/blob/main/components/lab/TunnelType.tsx): `components/lab/TunnelType.tsx`
- [Cinematic Scene Layout](https://github.com/gireesh2658/portfolio/blob/main/components/layout/Scene.tsx): `components/layout/Scene.tsx`
- [Three.js Tunnel Intro](https://github.com/gireesh2658/portfolio/blob/main/components/sections/Intro/TunnelIntro.tsx): `components/sections/Intro/TunnelIntro.tsx`
- [Hero](https://github.com/gireesh2658/portfolio/blob/main/components/sections/Hero/Hero.tsx): `components/sections/Hero/Hero.tsx`
- [About](https://github.com/gireesh2658/portfolio/blob/main/components/sections/About/About.tsx): `components/sections/About/About.tsx`
- [Light Journey](https://github.com/gireesh2658/portfolio/blob/main/components/sections/Journey/LightJourney.tsx): `components/sections/Journey/LightJourney.tsx`
- [Design Stack](https://github.com/gireesh2658/portfolio/blob/main/components/sections/Stack/DesignStack.tsx): `components/sections/Stack/DesignStack.tsx`
- [Selected Work](https://github.com/gireesh2658/portfolio/blob/main/components/sections/Work/Work.tsx): `components/sections/Work/Work.tsx`
- [Experience](https://github.com/gireesh2658/portfolio/blob/main/components/sections/Experience/Experience.tsx): `components/sections/Experience/Experience.tsx`
- [Certifications](https://github.com/gireesh2658/portfolio/blob/main/components/sections/Certifications/Certifications.tsx): `components/sections/Certifications/Certifications.tsx`
- [Gallery](https://github.com/gireesh2658/portfolio/blob/main/components/sections/Gallery/Gallery.tsx): `components/sections/Gallery/Gallery.tsx`
- [Connect](https://github.com/gireesh2658/portfolio/blob/main/components/sections/Connect/Connect.tsx): `components/sections/Connect/Connect.tsx`

### Portfolio Content

- [Project Records](https://github.com/gireesh2658/portfolio/blob/main/content/projects.ts): `content/projects.ts`
- [Experience Records](https://github.com/gireesh2658/portfolio/blob/main/content/experience.ts): `content/experience.ts`
- [Journey Records](https://github.com/gireesh2658/portfolio/blob/main/content/journey.ts): `content/journey.ts`
- [Stack Records](https://github.com/gireesh2658/portfolio/blob/main/content/stack.ts): `content/stack.ts`
- [Credential Records](https://github.com/gireesh2658/portfolio/blob/main/content/certifications.ts): `content/certifications.ts`
- [Gallery Records](https://github.com/gireesh2658/portfolio/blob/main/content/gallery.ts): `content/gallery.ts`

### Motion and Presentation

- [GSAP Motion](https://github.com/gireesh2658/portfolio/blob/main/lib/gsap.ts): `lib/gsap.ts`
- [Scene Scroll Mapping](https://github.com/gireesh2658/portfolio/blob/main/lib/scene.ts): `lib/scene.ts`
- [Smooth Scrolling](https://github.com/gireesh2658/portfolio/blob/main/lib/lenis.ts): `lib/lenis.ts`
- [Language Context](https://github.com/gireesh2658/portfolio/blob/main/lib/i18n.tsx): `lib/i18n.tsx`

### Other components

- **Visitor**

## Connections

- Visitor → Home Route: opens (evidence: `README.md`)
- Home Route → Site Navigation: renders (evidence: `app/page.tsx`)
- Home Route → Cinematic Scene Layout: wraps sections (evidence: `app/page.tsx`)
- Home Route → Three.js Tunnel Intro: renders (evidence: `app/page.tsx`)
- Home Route → Hero: renders (evidence: `app/page.tsx`)
- Home Route → About: renders (evidence: `app/page.tsx`)
- Home Route → Light Journey: renders (evidence: `app/page.tsx`)
- Home Route → Design Stack: renders (evidence: `app/page.tsx`)
- Home Route → Selected Work: renders (evidence: `app/page.tsx`)
- Home Route → Experience: renders (evidence: `app/page.tsx`)
- Home Route → Certifications: renders (evidence: `app/page.tsx`)
- Home Route → Gallery: renders (evidence: `app/page.tsx`)
- Home Route → Connect: renders (evidence: `app/page.tsx`)
- Selected Work → Project Records: reads (evidence: `components/sections/Work/Work.tsx`)
- Experience → Experience Records: reads (evidence: `components/sections/Experience/Experience.tsx`)
- Light Journey → Journey Records: reads (evidence: `components/sections/Journey/LightJourney.tsx`)
- Design Stack → Stack Records: reads (evidence: `components/sections/Stack/DesignStack.tsx`)
- Certifications → Credential Records: reads (evidence: `components/sections/Certifications/Certifications.tsx`)
- Gallery → Gallery Records: reads (evidence: `components/sections/Gallery/Gallery.tsx`)
- Visitor → Case Study Route: opens case study (evidence: `README.md`)
- Case Study Route → Case Study View: renders (evidence: `app/work/[slug]/page.tsx`)
- Case Study Route → Project Records: selects project (evidence: `app/work/[slug]/page.tsx`)
- Case Study View → Project Records: reads (evidence: `app/work/[slug]/CaseView.tsx`)
- Visitor → Tunnel Lab Route: opens lab
- Tunnel Lab Route → Tunnel Experiment: renders (evidence: `app/tunnel/page.tsx`)
- Tunnel Lab Route → Lab Navigation: renders (evidence: `app/tunnel/page.tsx`)
- Three.js Tunnel Intro → Scene Scroll Mapping: maps scroll (evidence: `components/sections/Intro/TunnelIntro.tsx`)
- Light Journey → Scene Scroll Mapping: maps scroll (evidence: `components/sections/Journey/LightJourney.tsx`)
- Site Navigation → GSAP Motion: animates with (evidence: `components/layout/Nav.tsx`)
- Three.js Tunnel Intro → Language Context: reads strings (evidence: `components/sections/Intro/TunnelIntro.tsx`)
- Light Journey → Language Context: reads strings (evidence: `components/sections/Journey/LightJourney.tsx`)
- Home Route → Visitor: serves page
