# subhojeetchanda/my-portfolio architecture

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

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

## Overview

FORGED is a personal portfolio presenting profile, skills, experience, projects, achievements, and contact routes in an industrial-themed interactive site. Visitors enter the main portfolio, explore ranked project case studies or a print-friendly resume, and can submit a contact dispatch. Additional branches provide live activity/telemetry, theme and command controls, and traceability pages. The graph reflects documented calls and imports; unsampled components are included where the README or source index establishes their role, without assuming unshown wiring.

Main entry points: [`src/app/page.tsx`](https://github.com/subhojeetchanda/my-portfolio/blob/main/src/app/page.tsx) (Main Portfolio), [`src/content/profile.ts`](https://github.com/subhojeetchanda/my-portfolio/blob/main/src/content/profile.ts) (Profile Content), [`src/components/layout/Header.tsx`](https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/layout/Header.tsx) (Site Header), [`src/app/projects/[slug]/page.tsx`](https://github.com/subhojeetchanda/my-portfolio/blob/main/src/app/projects/%5Bslug%5D/page.tsx) (Project Case Study)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_presentation["Portfolio Views"]
  node_main["Main Portfolio<br/>[page.tsx]"]
  node_standard["Standard Resume<br/>[page.tsx]"]
  node_project_detail["Project Case Study<br/>[page.tsx]"]
  node_header["Site Header<br/>[Header.tsx]"]
  node_standard_toggle["View Toggle"]
end

subgraph group_experience["Profile &amp; Projects"]
  node_profile["Profile Content<br/>[profile.ts]"]
  node_project_ranker["Project Control Room<br/>[ProjectSection.tsx]"]
  node_scoring["Weighted Scoring<br/>[score.ts]"]
  node_skills["Skills Inventory"]
  node_production_ledger["Production Ledger"]
  node_github["GitHub Activity<br/>[github.ts]"]
  node_leetcode["LeetCode Snapshot<br/>[leetcode.ts]"]
end

subgraph group_interaction["Interactive Features"]
  node_command_palette["Command Palette<br/>[CommandPalette.tsx]"]
  node_palette_trigger["Palette Trigger"]
  node_ignition["Intro Sequence"]
  node_motion["Motion Effects<br/>[Animations.tsx]"]
  node_telemetry["Telemetry Strip<br/>[TelemetryStrip.tsx]"]
  node_theme_toggle["Theme Toggle<br/>[ThemeToggle.tsx]"]
end

subgraph group_contact["Contact &amp; Traceability"]
  node_dispatch_form["Consignment Form"]
  node_dispatch_action["Dispatch Handler<br/>[dispatch.ts]"]
  node_copy_email["Email Copy<br/>[CopyEmail.tsx]"]
  node_trace_page["Traceability Page<br/>[page.tsx]"]
  node_integrity_seal["Integrity Seal"]
  node_qr["Project QR<br/>[TraceabilityQR.tsx]"]
end

node_visitor(("Visitor"))
node_github_service{{"GitHub API"}}
node_web3forms{{"Web3Forms"}}

node_visitor -->|"opens"| node_main
node_visitor -->|"opens"| node_standard
node_visitor -->|"opens"| node_project_detail
node_visitor -->|"opens"| node_trace_page
node_main -->|"reads"| node_profile
node_standard -->|"reads"| node_profile
node_project_detail -->|"reads"| node_profile
node_main -->|"renders"| node_skills
node_main -->|"renders"| node_dispatch_form
node_main -->|"renders"| node_telemetry
node_project_ranker -->|"ranks with"| node_scoring
node_scoring -->|"uses project data"| node_profile
node_project_ranker -->|"receives projects"| node_profile
node_project_detail -->|"renders"| node_qr
node_main -.->|"renders"| node_project_ranker
node_production_ledger -->|"requests stats"| node_github
node_production_ledger -->|"requests stats"| node_leetcode
node_github -->|"fetches activity"| node_github_service
node_header -->|"renders"| node_palette_trigger
node_palette_trigger -->|"opens"| node_command_palette
node_header -->|"renders"| node_theme_toggle
node_header -->|"renders"| node_standard_toggle
node_dispatch_form -->|"submits"| node_dispatch_action
node_dispatch_action -->|"posts dispatch"| node_web3forms
node_dispatch_form -->|"offers fallback"| node_copy_email
node_trace_page -->|"renders"| node_integrity_seal
node_trace_page -->|"reads links"| node_profile
node_main -->|"uses effects"| node_motion
node_header -->|"reads name"| node_profile
node_visitor -.->|"views activity"| node_production_ledger
node_main -.->|"wrapped by layout"| node_ignition

click node_main "https://github.com/subhojeetchanda/my-portfolio/blob/main/src/app/page.tsx"
click node_standard "https://github.com/subhojeetchanda/my-portfolio/blob/main/src/app/standard/page.tsx"
click node_project_detail "https://github.com/subhojeetchanda/my-portfolio/blob/main/src/app/projects/%5Bslug%5D/page.tsx"
click node_profile "https://github.com/subhojeetchanda/my-portfolio/blob/main/src/content/profile.ts"
click node_project_ranker "https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/interactive/ProjectSection.tsx"
click node_scoring "https://github.com/subhojeetchanda/my-portfolio/blob/main/src/lib/score.ts"
click node_skills "https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/interactive/SkillsInventory.tsx"
click node_production_ledger "https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/interactive/ledger/ProductionLedger.tsx"
click node_github "https://github.com/subhojeetchanda/my-portfolio/blob/main/src/lib/github.ts"
click node_leetcode "https://github.com/subhojeetchanda/my-portfolio/blob/main/src/lib/leetcode.ts"
click node_command_palette "https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/interactive/CommandPalette.tsx"
click node_palette_trigger "https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/interactive/CommandPaletteTrigger.tsx"
click node_ignition "https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/interactive/IgnitionSequence.tsx"
click node_motion "https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/interactive/Animations.tsx"
click node_telemetry "https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/interactive/TelemetryStrip.tsx"
click node_dispatch_form "https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/interactive/dispatch/ConsignmentForm.tsx"
click node_dispatch_action "https://github.com/subhojeetchanda/my-portfolio/blob/main/src/actions/dispatch.ts"
click node_copy_email "https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/common/CopyEmail.tsx"
click node_trace_page "https://github.com/subhojeetchanda/my-portfolio/blob/main/src/app/trace/page.tsx"
click node_integrity_seal "https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/static/ContentIntegritySeal.tsx"
click node_qr "https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/static/TraceabilityQR.tsx"
click node_header "https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/layout/Header.tsx"
click node_theme_toggle "https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/layout/ThemeToggle.tsx"
click node_standard_toggle "https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/layout/StandardViewToggle.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_main,node_standard,node_project_detail,node_header,node_standard_toggle toneBlue
class node_profile,node_project_ranker,node_scoring,node_skills,node_production_ledger,node_github,node_leetcode toneAmber
class node_command_palette,node_palette_trigger,node_ignition,node_motion,node_telemetry,node_theme_toggle,node_github_service toneMint
class node_dispatch_form,node_dispatch_action,node_copy_email,node_trace_page,node_integrity_seal,node_qr toneRose
class node_visitor,node_web3forms toneIndigo
```

## Components

### Portfolio Views

- [Main Portfolio](https://github.com/subhojeetchanda/my-portfolio/blob/main/src/app/page.tsx): `src/app/page.tsx`
- [Standard Resume](https://github.com/subhojeetchanda/my-portfolio/blob/main/src/app/standard/page.tsx): `src/app/standard/page.tsx`
- [Project Case Study](https://github.com/subhojeetchanda/my-portfolio/blob/main/src/app/projects/%5Bslug%5D/page.tsx): `src/app/projects/[slug]/page.tsx`
- [Site Header](https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/layout/Header.tsx): `src/components/layout/Header.tsx`
- [View Toggle](https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/layout/StandardViewToggle.tsx): `src/components/layout/StandardViewToggle.tsx`

### Profile & Projects

- [Profile Content](https://github.com/subhojeetchanda/my-portfolio/blob/main/src/content/profile.ts): `src/content/profile.ts`
- [Project Control Room](https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/interactive/ProjectSection.tsx): `src/components/interactive/ProjectSection.tsx`
- [Weighted Scoring](https://github.com/subhojeetchanda/my-portfolio/blob/main/src/lib/score.ts): `src/lib/score.ts`
- [Skills Inventory](https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/interactive/SkillsInventory.tsx): `src/components/interactive/SkillsInventory.tsx`
- [Production Ledger](https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/interactive/ledger/ProductionLedger.tsx): `src/components/interactive/ledger/ProductionLedger.tsx`
- [GitHub Activity](https://github.com/subhojeetchanda/my-portfolio/blob/main/src/lib/github.ts): `src/lib/github.ts`
- [LeetCode Snapshot](https://github.com/subhojeetchanda/my-portfolio/blob/main/src/lib/leetcode.ts): `src/lib/leetcode.ts`

### Interactive Features

- [Command Palette](https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/interactive/CommandPalette.tsx): `src/components/interactive/CommandPalette.tsx`
- [Palette Trigger](https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/interactive/CommandPaletteTrigger.tsx): `src/components/interactive/CommandPaletteTrigger.tsx`
- [Intro Sequence](https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/interactive/IgnitionSequence.tsx): `src/components/interactive/IgnitionSequence.tsx`
- [Motion Effects](https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/interactive/Animations.tsx): `src/components/interactive/Animations.tsx`
- [Telemetry Strip](https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/interactive/TelemetryStrip.tsx): `src/components/interactive/TelemetryStrip.tsx`
- [Theme Toggle](https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/layout/ThemeToggle.tsx): `src/components/layout/ThemeToggle.tsx`

### Contact & Traceability

- [Consignment Form](https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/interactive/dispatch/ConsignmentForm.tsx): `src/components/interactive/dispatch/ConsignmentForm.tsx`
- [Dispatch Handler](https://github.com/subhojeetchanda/my-portfolio/blob/main/src/actions/dispatch.ts): `src/actions/dispatch.ts`
- [Email Copy](https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/common/CopyEmail.tsx): `src/components/common/CopyEmail.tsx`
- [Traceability Page](https://github.com/subhojeetchanda/my-portfolio/blob/main/src/app/trace/page.tsx): `src/app/trace/page.tsx`
- [Integrity Seal](https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/static/ContentIntegritySeal.tsx): `src/components/static/ContentIntegritySeal.tsx`
- [Project QR](https://github.com/subhojeetchanda/my-portfolio/blob/main/src/components/static/TraceabilityQR.tsx): `src/components/static/TraceabilityQR.tsx`

### Other components

- **Visitor**
- **GitHub API**
- **Web3Forms**

## Connections

- Visitor → Main Portfolio: opens (evidence: `src/app/page.tsx`)
- Visitor → Standard Resume: opens (evidence: `src/app/standard/page.tsx`)
- Visitor → Project Case Study: opens (evidence: `src/app/projects/[slug]/page.tsx`)
- Visitor → Traceability Page: opens (evidence: `src/app/trace/page.tsx`)
- Main Portfolio → Profile Content: reads (evidence: `src/app/page.tsx`)
- Standard Resume → Profile Content: reads (evidence: `src/app/standard/page.tsx`)
- Project Case Study → Profile Content: reads (evidence: `src/app/projects/[slug]/page.tsx`)
- Main Portfolio → Skills Inventory: renders (evidence: `src/app/page.tsx`)
- Main Portfolio → Consignment Form: renders (evidence: `src/app/page.tsx`)
- Main Portfolio → Telemetry Strip: renders (evidence: `src/app/page.tsx`)
- Project Control Room → Weighted Scoring: ranks with (evidence: `src/components/interactive/ProjectSection.tsx`)
- Weighted Scoring → Profile Content: uses project data (evidence: `src/lib/score.ts`)
- Project Control Room → Profile Content: receives projects (evidence: `src/components/interactive/ProjectSection.tsx`)
- Project Case Study → Project QR: renders (evidence: `src/app/projects/[slug]/page.tsx`)
- Main Portfolio → Project Control Room: renders (evidence: `src/app/page.tsx`)
- Production Ledger → GitHub Activity: requests stats (evidence: `src/components/interactive/ledger/ProductionLedger.tsx`)
- Production Ledger → LeetCode Snapshot: requests stats (evidence: `src/components/interactive/ledger/ProductionLedger.tsx`)
- GitHub Activity → GitHub API: fetches activity (evidence: `src/lib/github.ts`)
- Site Header → Palette Trigger: renders (evidence: `src/components/layout/Header.tsx`)
- Palette Trigger → Command Palette: opens (evidence: `src/components/interactive/CommandPaletteTrigger.tsx`)
- Site Header → Theme Toggle: renders (evidence: `src/components/layout/Header.tsx`)
- Site Header → View Toggle: renders (evidence: `src/components/layout/Header.tsx`)
- Consignment Form → Dispatch Handler: submits (evidence: `src/components/interactive/dispatch/ConsignmentForm.tsx`)
- Dispatch Handler → Web3Forms: posts dispatch (evidence: `src/actions/dispatch.ts`)
- Consignment Form → Email Copy: offers fallback (evidence: `src/components/interactive/dispatch/ConsignmentForm.tsx`)
- Traceability Page → Integrity Seal: renders (evidence: `src/app/trace/page.tsx`)
- Traceability Page → Profile Content: reads links (evidence: `src/app/trace/page.tsx`)
- Main Portfolio → Motion Effects: uses effects (evidence: `src/app/page.tsx`)
- Site Header → Profile Content: reads name (evidence: `src/components/layout/Header.tsx`)
- Visitor → Production Ledger: views activity
- Main Portfolio → Intro Sequence: wrapped by layout
