# vizzaq23/my-portfolio architecture

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

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

## Overview

This is a Next.js engineering portfolio: visitors explore the retro-themed home page, browse featured work and a navigable project map, then read profile, experience, contact, résumé, or the TCG Shelf case study. The graph preserves the main content stages and the project-map data/route layer, plus the documented résumé and external activity integration. Edges are limited to relationships visible in excerpts, the source index, or README; unsampled internals are not inferred.

Main entry points: [`src/components/Projects.tsx`](https://github.com/vizzaq23/my-portfolio/blob/main/src/components/Projects.tsx) (Project Showcase), [`src/lib/analytics.ts`](https://github.com/vizzaq23/my-portfolio/blob/main/src/lib/analytics.ts) (Analytics), [`src/app/page.tsx`](https://github.com/vizzaq23/my-portfolio/blob/main/src/app/page.tsx) (Home Page), [`src/app/layout.tsx`](https://github.com/vizzaq23/my-portfolio/blob/main/src/app/layout.tsx) (Root Layout)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Site Shell"]
  node_layout["Root Layout<br/>[layout.tsx]"]
  node_home["Home Page<br/>[page.tsx]"]
  node_resume["Résumé Route<br/>[route.ts]"]
  node_case["TCG Case Study<br/>[page.tsx]"]
  node_nav["Navigation<br/>[NavBar.tsx]"]
end

subgraph group_world["Retro Portfolio"]
  node_worldmotion["World Motion<br/>[WorldMotion.tsx]"]
  node_skillblocks["Interactive Skill Blocks<br/>[Block.tsx]"]
  node_easteregg["Character Easter Eggs"]
  node_sprites["Character Sprites"]
  node_airship["Retro Airship<br/>[RetroAirship.tsx]"]
end

subgraph group_projects["Project Showcase"]
  node_projectsection["Project Showcase<br/>[Projects.tsx]"]
  node_projectdata["Project Catalog<br/>[projects.ts]"]
  node_projectmap["Project World Map"]
  node_runner["Map Runner"]
  node_projectcard["Project Details<br/>[ProjectCard.tsx]"]
  node_projectdemo["Project Demos<br/>[ProjectDemo.tsx]"]
end

subgraph group_profile["Profile Content"]
  node_about["About Section<br/>[About.tsx]"]
  node_retroabout["Retro About View<br/>[RetroAbout.tsx]"]
  node_experience["Experience Section<br/>[Experience.tsx]"]
  node_experience_data["Experience Records<br/>[experience.ts]"]
  node_heatmap["GitHub Activity<br/>[GitHubHeatmap.tsx]"]
  node_contact["Contact Section<br/>[Contact.tsx]"]
end

subgraph group_runtime["Runtime Services"]
  node_blockstate["Block State Hook"]
  node_route["Map Route Logic"]
  node_analytics["Analytics<br/>[analytics.ts]"]
  node_siteurl["Canonical URL<br/>[site-url.ts]"]
end

node_visitor(("Visitor"))
node_github["GitHub Activity Service"]
node_analytics_service["Vercel Analytics"]

node_visitor -->|"opens site"| node_layout
node_layout -->|"renders"| node_nav
node_layout -->|"reads URL"| node_siteurl
node_home -->|"renders"| node_worldmotion
node_home -->|"renders"| node_skillblocks
node_skillblocks -->|"uses state"| node_blockstate
node_home -->|"renders"| node_easteregg
node_easteregg -->|"renders"| node_sprites
node_visitor -->|"explores work"| node_projectsection
node_projectsection -->|"reads projects"| node_projectdata
node_projectsection -->|"renders map"| node_projectmap
node_projectsection -->|"renders details"| node_projectcard
node_projectsection -->|"renders demos"| node_projectdemo
node_projectmap -->|"renders runner"| node_runner
node_projectmap -->|"uses route"| node_route
node_runner -->|"advances route"| node_route
node_projectdata -->|"orders levels"| node_route
node_projectsection -->|"renders"| node_easteregg
node_visitor -->|"reads profile"| node_about
node_about -->|"renders"| node_retroabout
node_about -->|"renders"| node_heatmap
node_visitor -->|"reads experience"| node_experience
node_experience -->|"reads records"| node_experience_data
node_experience -->|"renders"| node_airship
node_visitor -->|"contacts"| node_contact
node_contact -->|"tracks events"| node_analytics
node_nav -->|"tracks events"| node_analytics
node_projectcard -->|"tracks events"| node_analytics
node_projectdemo -->|"tracks events"| node_analytics
node_analytics -.->|"sends telemetry"| node_analytics_service
node_heatmap -.->|"loads activity"| node_github
node_visitor -->|"requests résumé"| node_resume
node_visitor -->|"opens case study"| node_case

click node_layout "https://github.com/vizzaq23/my-portfolio/blob/main/src/app/layout.tsx"
click node_home "https://github.com/vizzaq23/my-portfolio/blob/main/src/app/page.tsx"
click node_resume "https://github.com/vizzaq23/my-portfolio/blob/main/src/app/resume/route.ts"
click node_case "https://github.com/vizzaq23/my-portfolio/blob/main/src/app/projects/tcg-shelf/page.tsx"
click node_nav "https://github.com/vizzaq23/my-portfolio/blob/main/src/components/NavBar.tsx"
click node_worldmotion "https://github.com/vizzaq23/my-portfolio/blob/main/src/components/WorldMotion.tsx"
click node_skillblocks "https://github.com/vizzaq23/my-portfolio/blob/main/src/components/Block.tsx"
click node_blockstate "https://github.com/vizzaq23/my-portfolio/blob/main/src/hooks/useQuestionBlock.ts"
click node_easteregg "https://github.com/vizzaq23/my-portfolio/blob/main/src/components/OnePieceEasterEgg.tsx"
click node_sprites "https://github.com/vizzaq23/my-portfolio/blob/main/src/components/OnePieceSprites.tsx"
click node_airship "https://github.com/vizzaq23/my-portfolio/blob/main/src/components/RetroAirship.tsx"
click node_projectsection "https://github.com/vizzaq23/my-portfolio/blob/main/src/components/Projects.tsx"
click node_projectdata "https://github.com/vizzaq23/my-portfolio/blob/main/src/data/projects.ts"
click node_projectmap "https://github.com/vizzaq23/my-portfolio/blob/main/src/components/ProjectWorldMap.tsx"
click node_runner "https://github.com/vizzaq23/my-portfolio/blob/main/src/components/ProjectMapRunner.tsx"
click node_route "https://github.com/vizzaq23/my-portfolio/blob/main/src/lib/project-map-route.ts"
click node_projectcard "https://github.com/vizzaq23/my-portfolio/blob/main/src/components/ProjectCard.tsx"
click node_projectdemo "https://github.com/vizzaq23/my-portfolio/blob/main/src/components/ProjectDemo.tsx"
click node_about "https://github.com/vizzaq23/my-portfolio/blob/main/src/components/About.tsx"
click node_retroabout "https://github.com/vizzaq23/my-portfolio/blob/main/src/components/RetroAbout.tsx"
click node_experience "https://github.com/vizzaq23/my-portfolio/blob/main/src/components/Experience.tsx"
click node_experience_data "https://github.com/vizzaq23/my-portfolio/blob/main/src/data/experience.ts"
click node_heatmap "https://github.com/vizzaq23/my-portfolio/blob/main/src/components/GitHubHeatmap.tsx"
click node_contact "https://github.com/vizzaq23/my-portfolio/blob/main/src/components/Contact.tsx"
click node_analytics "https://github.com/vizzaq23/my-portfolio/blob/main/src/lib/analytics.ts"
click node_siteurl "https://github.com/vizzaq23/my-portfolio/blob/main/src/lib/site-url.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_layout,node_home,node_resume,node_case,node_nav toneBlue
class node_worldmotion,node_skillblocks,node_easteregg,node_sprites,node_airship toneAmber
class node_projectsection,node_projectdata,node_projectmap,node_runner,node_projectcard,node_projectdemo toneMint
class node_about,node_retroabout,node_experience,node_experience_data,node_heatmap,node_contact toneRose
class node_blockstate,node_route,node_analytics,node_siteurl,node_visitor,node_github,node_analytics_service toneIndigo
```

## Components

### Site Shell

- [Root Layout](https://github.com/vizzaq23/my-portfolio/blob/main/src/app/layout.tsx): `src/app/layout.tsx`
- [Home Page](https://github.com/vizzaq23/my-portfolio/blob/main/src/app/page.tsx): `src/app/page.tsx`
- [Résumé Route](https://github.com/vizzaq23/my-portfolio/blob/main/src/app/resume/route.ts): `src/app/resume/route.ts`
- [TCG Case Study](https://github.com/vizzaq23/my-portfolio/blob/main/src/app/projects/tcg-shelf/page.tsx): `src/app/projects/tcg-shelf/page.tsx`
- [Navigation](https://github.com/vizzaq23/my-portfolio/blob/main/src/components/NavBar.tsx): `src/components/NavBar.tsx`

### Retro Portfolio

- [World Motion](https://github.com/vizzaq23/my-portfolio/blob/main/src/components/WorldMotion.tsx): `src/components/WorldMotion.tsx`
- [Interactive Skill Blocks](https://github.com/vizzaq23/my-portfolio/blob/main/src/components/Block.tsx): `src/components/Block.tsx`
- [Character Easter Eggs](https://github.com/vizzaq23/my-portfolio/blob/main/src/components/OnePieceEasterEgg.tsx): `src/components/OnePieceEasterEgg.tsx`
- [Character Sprites](https://github.com/vizzaq23/my-portfolio/blob/main/src/components/OnePieceSprites.tsx): `src/components/OnePieceSprites.tsx`
- [Retro Airship](https://github.com/vizzaq23/my-portfolio/blob/main/src/components/RetroAirship.tsx): `src/components/RetroAirship.tsx`

### Project Showcase

- [Project Showcase](https://github.com/vizzaq23/my-portfolio/blob/main/src/components/Projects.tsx): `src/components/Projects.tsx`
- [Project Catalog](https://github.com/vizzaq23/my-portfolio/blob/main/src/data/projects.ts): `src/data/projects.ts`
- [Project World Map](https://github.com/vizzaq23/my-portfolio/blob/main/src/components/ProjectWorldMap.tsx): `src/components/ProjectWorldMap.tsx`
- [Map Runner](https://github.com/vizzaq23/my-portfolio/blob/main/src/components/ProjectMapRunner.tsx): `src/components/ProjectMapRunner.tsx`
- [Project Details](https://github.com/vizzaq23/my-portfolio/blob/main/src/components/ProjectCard.tsx): `src/components/ProjectCard.tsx`
- [Project Demos](https://github.com/vizzaq23/my-portfolio/blob/main/src/components/ProjectDemo.tsx): `src/components/ProjectDemo.tsx`

### Profile Content

- [About Section](https://github.com/vizzaq23/my-portfolio/blob/main/src/components/About.tsx): `src/components/About.tsx`
- [Retro About View](https://github.com/vizzaq23/my-portfolio/blob/main/src/components/RetroAbout.tsx): `src/components/RetroAbout.tsx`
- [Experience Section](https://github.com/vizzaq23/my-portfolio/blob/main/src/components/Experience.tsx): `src/components/Experience.tsx`
- [Experience Records](https://github.com/vizzaq23/my-portfolio/blob/main/src/data/experience.ts): `src/data/experience.ts`
- [GitHub Activity](https://github.com/vizzaq23/my-portfolio/blob/main/src/components/GitHubHeatmap.tsx): `src/components/GitHubHeatmap.tsx`
- [Contact Section](https://github.com/vizzaq23/my-portfolio/blob/main/src/components/Contact.tsx): `src/components/Contact.tsx`

### Runtime Services

- [Block State Hook](https://github.com/vizzaq23/my-portfolio/blob/main/src/hooks/useQuestionBlock.ts): `src/hooks/useQuestionBlock.ts`
- [Map Route Logic](https://github.com/vizzaq23/my-portfolio/blob/main/src/lib/project-map-route.ts): `src/lib/project-map-route.ts`
- [Analytics](https://github.com/vizzaq23/my-portfolio/blob/main/src/lib/analytics.ts): `src/lib/analytics.ts`
- [Canonical URL](https://github.com/vizzaq23/my-portfolio/blob/main/src/lib/site-url.ts): `src/lib/site-url.ts`

### Other components

- **Visitor**
- **GitHub Activity Service**
- **Vercel Analytics**

## Connections

- Visitor → Root Layout: opens site (evidence: `README.md`)
- Root Layout → Navigation: renders (evidence: `src/app/layout.tsx`)
- Root Layout → Canonical URL: reads URL (evidence: `src/app/layout.tsx`)
- Home Page → World Motion: renders (evidence: `src/app/page.tsx`)
- Home Page → Interactive Skill Blocks: renders (evidence: `src/app/page.tsx`)
- Interactive Skill Blocks → Block State Hook: uses state (evidence: `src/components/Block.tsx`)
- Home Page → Character Easter Eggs: renders (evidence: `src/app/page.tsx`)
- Character Easter Eggs → Character Sprites: renders (evidence: `src/components/OnePieceEasterEgg.tsx`)
- Visitor → Project Showcase: explores work (evidence: `README.md`)
- Project Showcase → Project Catalog: reads projects (evidence: `src/components/Projects.tsx`)
- Project Showcase → Project World Map: renders map (evidence: `src/components/Projects.tsx`)
- Project Showcase → Project Details: renders details (evidence: `src/components/Projects.tsx`)
- Project Showcase → Project Demos: renders demos (evidence: `src/components/Projects.tsx`)
- Project World Map → Map Runner: renders runner (evidence: `src/components/ProjectWorldMap.tsx`)
- Project World Map → Map Route Logic: uses route (evidence: `src/components/ProjectWorldMap.tsx`)
- Map Runner → Map Route Logic: advances route (evidence: `src/components/ProjectMapRunner.tsx`)
- Project Catalog → Map Route Logic: orders levels (evidence: `src/data/projects.ts`)
- Project Showcase → Character Easter Eggs: renders (evidence: `src/components/Projects.tsx`)
- Visitor → About Section: reads profile (evidence: `README.md`)
- About Section → Retro About View: renders (evidence: `src/components/About.tsx`)
- About Section → GitHub Activity: renders (evidence: `src/components/About.tsx`)
- Visitor → Experience Section: reads experience (evidence: `README.md`)
- Experience Section → Experience Records: reads records (evidence: `src/components/Experience.tsx`)
- Experience Section → Retro Airship: renders (evidence: `src/components/Experience.tsx`)
- Visitor → Contact Section: contacts (evidence: `README.md`)
- Contact Section → Analytics: tracks events (evidence: `src/components/Contact.tsx`)
- Navigation → Analytics: tracks events (evidence: `src/components/NavBar.tsx`)
- Project Details → Analytics: tracks events (evidence: `src/components/ProjectCard.tsx`)
- Project Demos → Analytics: tracks events (evidence: `src/components/ProjectDemo.tsx`)
- Analytics → Vercel Analytics: sends telemetry
- GitHub Activity → GitHub Activity Service: loads activity
- Visitor → Résumé Route: requests résumé (evidence: `README.md`)
- Visitor → TCG Case Study: opens case study (evidence: `README.md`)
