# dev-nothing/portfolio architecture

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

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

## Overview

This repository is a personal developer portfolio built with Next.js App Router. A visitor enters the homepage, browses project cards and portfolio sections, and can open a project case study or contact the developer. The site also presents experiments, services, and technology stack content. The graph includes the documented case-study, project-visual, and experiment capabilities; sampled evidence confirms their main rendering and data relationships, but not every implementation detail.

Main entry points: [`src/app/page.tsx`](https://github.com/dev-nothing/portfolio/blob/main/src/app/page.tsx) (Homepage), [`src/app/work/[slug]/page.tsx`](https://github.com/dev-nothing/portfolio/blob/main/src/app/work/%5Bslug%5D/page.tsx) (Case study route), [`src/components/sections/work.tsx`](https://github.com/dev-nothing/portfolio/blob/main/src/components/sections/work.tsx) (Featured work), [`src/components/ui/section-heading.tsx`](https://github.com/dev-nothing/portfolio/blob/main/src/components/ui/section-heading.tsx) (Section heading)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_routes["Pages and routes"]
  node_home["Homepage<br/>[page.tsx]"]
  node_case["Case study route<br/>[page.tsx]"]
end

subgraph group_portfolio["Portfolio sections"]
  node_work["Featured work<br/>[work.tsx]"]
  node_hero["Hero and process<br/>[hero-pipeline.tsx]"]
  node_experiments["Experiments<br/>[experiments.tsx]"]
  node_experiment_grid["Experiment filter"]
  node_services["Services<br/>[services.tsx]"]
  node_stack["Technology stack<br/>[stack.tsx]"]
  node_about["About<br/>[about.tsx]"]
  node_contact["Contact<br/>[contact.tsx]"]
  node_email["Copy email<br/>[copy-email.tsx]"]
end

subgraph group_presentation["Shared presentation"]
  node_nav["Navigation<br/>[nav.tsx]"]
  node_footer["Footer<br/>[footer.tsx]"]
  node_project_visual["Project visuals<br/>[project-visual.tsx]"]
  node_mock["Coded UI mocks<br/>[mocks.tsx]"]
  node_frames["Project frames<br/>[frames.tsx]"]
  node_motion["Scroll motion"]
  node_channels["Contact channels<br/>[channels.ts]"]
  node_heading["Section heading"]
  node_reveal["Reveal animation<br/>[reveal.tsx]"]
  node_button["Shared button<br/>[button.tsx]"]
end

subgraph group_content["Content data"]
  node_lab_data["Lab content<br/>[lab.ts]"]
  node_project_data["Project content<br/>[projects.ts]"]
  node_site_data["Site details<br/>[site.ts]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_home
node_home -->|"renders"| node_nav
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_work
node_home -->|"renders"| node_experiments
node_home -->|"renders"| node_stack
node_home -->|"renders"| node_about
node_home -->|"renders"| node_services
node_home -->|"renders"| node_contact
node_home -->|"renders"| node_footer
node_work -->|"reads"| node_project_data
node_work -->|"renders"| node_project_visual
node_work -->|"uses"| node_motion
node_work -->|"uses"| node_heading
node_project_visual -->|"reads"| node_project_data
node_project_visual -->|"renders"| node_mock
node_project_visual -->|"uses"| node_frames
node_work -->|"links to"| node_case
node_case -->|"looks up"| node_project_data
node_case -->|"renders"| node_project_visual
node_case -->|"renders"| node_nav
node_case -->|"renders"| node_footer
node_case -->|"renders"| node_reveal
node_experiments -->|"reads"| node_lab_data
node_experiments -->|"renders"| node_experiment_grid
node_experiments -->|"uses"| node_heading
node_experiment_grid -->|"reads"| node_lab_data
node_services -->|"reads"| node_lab_data
node_services -->|"uses"| node_heading
node_stack -->|"reads"| node_lab_data
node_stack -->|"uses"| node_heading
node_contact -->|"reads"| node_site_data
node_contact -->|"uses"| node_channels
node_contact -->|"renders"| node_email
node_nav -->|"reads"| node_site_data
node_footer -->|"reads"| node_site_data
node_footer -->|"uses"| node_channels
node_channels -->|"reads"| node_site_data
node_hero -->|"uses"| node_button
node_hero -.->|"uses"| node_heading
node_about -->|"uses"| node_reveal
node_services -->|"uses"| node_reveal
node_stack -->|"uses"| node_reveal
node_heading -->|"renders"| node_reveal

click node_home "https://github.com/dev-nothing/portfolio/blob/main/src/app/page.tsx"
click node_case "https://github.com/dev-nothing/portfolio/blob/main/src/app/work/%5Bslug%5D/page.tsx"
click node_work "https://github.com/dev-nothing/portfolio/blob/main/src/components/sections/work.tsx"
click node_hero "https://github.com/dev-nothing/portfolio/blob/main/src/components/hero-pipeline.tsx"
click node_experiments "https://github.com/dev-nothing/portfolio/blob/main/src/components/sections/experiments.tsx"
click node_experiment_grid "https://github.com/dev-nothing/portfolio/blob/main/src/components/sections/experiments-grid.tsx"
click node_services "https://github.com/dev-nothing/portfolio/blob/main/src/components/sections/services.tsx"
click node_stack "https://github.com/dev-nothing/portfolio/blob/main/src/components/sections/stack.tsx"
click node_about "https://github.com/dev-nothing/portfolio/blob/main/src/components/sections/about.tsx"
click node_contact "https://github.com/dev-nothing/portfolio/blob/main/src/components/sections/contact.tsx"
click node_email "https://github.com/dev-nothing/portfolio/blob/main/src/components/sections/copy-email.tsx"
click node_nav "https://github.com/dev-nothing/portfolio/blob/main/src/components/nav.tsx"
click node_footer "https://github.com/dev-nothing/portfolio/blob/main/src/components/footer.tsx"
click node_project_visual "https://github.com/dev-nothing/portfolio/blob/main/src/components/work/project-visual.tsx"
click node_mock "https://github.com/dev-nothing/portfolio/blob/main/src/components/work/mocks.tsx"
click node_frames "https://github.com/dev-nothing/portfolio/blob/main/src/components/work/frames.tsx"
click node_motion "https://github.com/dev-nothing/portfolio/blob/main/src/components/work/motion-wrappers.tsx"
click node_lab_data "https://github.com/dev-nothing/portfolio/blob/main/src/content/lab.ts"
click node_project_data "https://github.com/dev-nothing/portfolio/blob/main/src/content/projects.ts"
click node_site_data "https://github.com/dev-nothing/portfolio/blob/main/src/content/site.ts"
click node_channels "https://github.com/dev-nothing/portfolio/blob/main/src/components/ui/channels.ts"
click node_heading "https://github.com/dev-nothing/portfolio/blob/main/src/components/ui/section-heading.tsx"
click node_reveal "https://github.com/dev-nothing/portfolio/blob/main/src/components/reveal.tsx"
click node_button "https://github.com/dev-nothing/portfolio/blob/main/src/components/ui/button.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_case toneBlue
class node_work,node_hero,node_experiments,node_experiment_grid,node_services,node_stack,node_about,node_contact,node_email toneAmber
class node_nav,node_footer,node_project_visual,node_mock,node_frames,node_motion,node_channels,node_heading,node_reveal,node_button toneMint
class node_lab_data,node_project_data,node_site_data toneRose
class node_visitor toneIndigo
```

## Components

### Pages and routes

- [Homepage](https://github.com/dev-nothing/portfolio/blob/main/src/app/page.tsx): `src/app/page.tsx`
- [Case study route](https://github.com/dev-nothing/portfolio/blob/main/src/app/work/%5Bslug%5D/page.tsx): `src/app/work/[slug]/page.tsx`

### Portfolio sections

- [Featured work](https://github.com/dev-nothing/portfolio/blob/main/src/components/sections/work.tsx): `src/components/sections/work.tsx`
- [Hero and process](https://github.com/dev-nothing/portfolio/blob/main/src/components/hero-pipeline.tsx): `src/components/hero-pipeline.tsx`
- [Experiments](https://github.com/dev-nothing/portfolio/blob/main/src/components/sections/experiments.tsx): `src/components/sections/experiments.tsx`
- [Experiment filter](https://github.com/dev-nothing/portfolio/blob/main/src/components/sections/experiments-grid.tsx): `src/components/sections/experiments-grid.tsx`
- [Services](https://github.com/dev-nothing/portfolio/blob/main/src/components/sections/services.tsx): `src/components/sections/services.tsx`
- [Technology stack](https://github.com/dev-nothing/portfolio/blob/main/src/components/sections/stack.tsx): `src/components/sections/stack.tsx`
- [About](https://github.com/dev-nothing/portfolio/blob/main/src/components/sections/about.tsx): `src/components/sections/about.tsx`
- [Contact](https://github.com/dev-nothing/portfolio/blob/main/src/components/sections/contact.tsx): `src/components/sections/contact.tsx`
- [Copy email](https://github.com/dev-nothing/portfolio/blob/main/src/components/sections/copy-email.tsx): `src/components/sections/copy-email.tsx`

### Shared presentation

- [Navigation](https://github.com/dev-nothing/portfolio/blob/main/src/components/nav.tsx): `src/components/nav.tsx`
- [Footer](https://github.com/dev-nothing/portfolio/blob/main/src/components/footer.tsx): `src/components/footer.tsx`
- [Project visuals](https://github.com/dev-nothing/portfolio/blob/main/src/components/work/project-visual.tsx): `src/components/work/project-visual.tsx`
- [Coded UI mocks](https://github.com/dev-nothing/portfolio/blob/main/src/components/work/mocks.tsx): `src/components/work/mocks.tsx`
- [Project frames](https://github.com/dev-nothing/portfolio/blob/main/src/components/work/frames.tsx): `src/components/work/frames.tsx`
- [Scroll motion](https://github.com/dev-nothing/portfolio/blob/main/src/components/work/motion-wrappers.tsx): `src/components/work/motion-wrappers.tsx`
- [Contact channels](https://github.com/dev-nothing/portfolio/blob/main/src/components/ui/channels.ts): `src/components/ui/channels.ts`
- [Section heading](https://github.com/dev-nothing/portfolio/blob/main/src/components/ui/section-heading.tsx): `src/components/ui/section-heading.tsx`
- [Reveal animation](https://github.com/dev-nothing/portfolio/blob/main/src/components/reveal.tsx): `src/components/reveal.tsx`
- [Shared button](https://github.com/dev-nothing/portfolio/blob/main/src/components/ui/button.tsx): `src/components/ui/button.tsx`

### Content data

- [Lab content](https://github.com/dev-nothing/portfolio/blob/main/src/content/lab.ts): `src/content/lab.ts`
- [Project content](https://github.com/dev-nothing/portfolio/blob/main/src/content/projects.ts): `src/content/projects.ts`
- [Site details](https://github.com/dev-nothing/portfolio/blob/main/src/content/site.ts): `src/content/site.ts`

### Other components

- **Visitor**

## Connections

- Visitor → Homepage: opens (evidence: `README.md`)
- Homepage → Navigation: renders (evidence: `src/app/page.tsx`)
- Homepage → Hero and process: renders (evidence: `src/app/page.tsx`)
- Homepage → Featured work: renders (evidence: `src/app/page.tsx`)
- Homepage → Experiments: renders (evidence: `src/app/page.tsx`)
- Homepage → Technology stack: renders (evidence: `src/app/page.tsx`)
- Homepage → About: renders (evidence: `src/app/page.tsx`)
- Homepage → Services: renders (evidence: `src/app/page.tsx`)
- Homepage → Contact: renders (evidence: `src/app/page.tsx`)
- Homepage → Footer: renders (evidence: `src/app/page.tsx`)
- Featured work → Project content: reads (evidence: `src/components/sections/work.tsx`)
- Featured work → Project visuals: renders (evidence: `src/components/sections/work.tsx`)
- Featured work → Scroll motion: uses (evidence: `src/components/sections/work.tsx`)
- Featured work → Section heading: uses (evidence: `src/components/sections/work.tsx`)
- Project visuals → Project content: reads (evidence: `src/components/work/project-visual.tsx`)
- Project visuals → Coded UI mocks: renders (evidence: `src/components/work/project-visual.tsx`)
- Project visuals → Project frames: uses (evidence: `src/components/work/project-visual.tsx`)
- Featured work → Case study route: links to (evidence: `src/components/sections/work.tsx`)
- Case study route → Project content: looks up (evidence: `src/app/work/[slug]/page.tsx`)
- Case study route → Project visuals: renders (evidence: `src/app/work/[slug]/page.tsx`)
- Case study route → Navigation: renders (evidence: `src/app/work/[slug]/page.tsx`)
- Case study route → Footer: renders (evidence: `src/app/work/[slug]/page.tsx`)
- Case study route → Reveal animation: renders (evidence: `src/app/work/[slug]/page.tsx`)
- Experiments → Lab content: reads (evidence: `src/components/sections/experiments.tsx`)
- Experiments → Experiment filter: renders (evidence: `src/components/sections/experiments.tsx`)
- Experiments → Section heading: uses (evidence: `src/components/sections/experiments.tsx`)
- Experiment filter → Lab content: reads (evidence: `src/components/sections/experiments-grid.tsx`)
- Services → Lab content: reads (evidence: `src/components/sections/services.tsx`)
- Services → Section heading: uses (evidence: `src/components/sections/services.tsx`)
- Technology stack → Lab content: reads (evidence: `src/components/sections/stack.tsx`)
- Technology stack → Section heading: uses (evidence: `src/components/sections/stack.tsx`)
- Contact → Site details: reads (evidence: `src/components/sections/contact.tsx`)
- Contact → Contact channels: uses (evidence: `src/components/sections/contact.tsx`)
- Contact → Copy email: renders (evidence: `src/components/sections/contact.tsx`)
- Navigation → Site details: reads (evidence: `src/components/nav.tsx`)
- Footer → Site details: reads (evidence: `src/components/footer.tsx`)
- Footer → Contact channels: uses (evidence: `src/components/footer.tsx`)
- Contact channels → Site details: reads (evidence: `src/components/ui/channels.ts`)
- Hero and process → Shared button: uses (evidence: `src/components/sections/hero.tsx`)
- Hero and process → Section heading: uses
- About → Reveal animation: uses (evidence: `src/components/sections/about.tsx`)
- Services → Reveal animation: uses (evidence: `src/components/sections/services.tsx`)
- Technology stack → Reveal animation: uses (evidence: `src/components/sections/stack.tsx`)
- Section heading → Reveal animation: renders (evidence: `src/components/ui/section-heading.tsx`)
