# piyushchy/piyushchy.github.io architecture

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

- Interactive diagram: https://gitdiagram.com/piyushchy/piyushchy.github.io
- Repository: https://github.com/piyushchy/piyushchy.github.io

## Overview

This repository is a personal portfolio website, with a scroll-driven presentation as its central visitor journey: visitors enter the story, explore project showcases and interactive demos, then browse activity, skills, experience, and contact details. The source also includes a standalone GIF tool and a resume page. The graph follows explicit imports and README descriptions; some showcase internals and standalone-page implementation details were not sampled, so their undocumented connections are omitted.

Main entry points: [`site/src/App.tsx`](https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/App.tsx) (Page composition), [`site/src/data.ts`](https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/data.ts) (Portfolio data), [`site/src/components/Sections.tsx`](https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/Sections.tsx) (About and timeline), [`site/src/components/Projects.tsx`](https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/Projects.tsx) (Project cards)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_presentation["Portfolio flow"]
  node_mount["React mount<br/>[main.tsx]"]
  node_app["Page composition<br/>[App.tsx]"]
  node_nav["Navigation<br/>[Nav.tsx]"]
  node_motionpresets["Motion presets<br/>[presets.ts]"]
end

subgraph group_experiences["Interactive showcases"]
  node_story["Intro story<br/>[Story.tsx]"]
  node_storycanvas["Story canvas<br/>[story-canvas.tsx]"]
  node_hologram["3D hologram<br/>[hologram.tsx]"]
  node_orderfield["Order field<br/>[order-field.tsx]"]
  node_showcase["Pinned showcase<br/>[Showcase.tsx]"]
  node_laptop["Laptop scene<br/>[MacShowcase.tsx]"]
  node_devices["Device views<br/>[devices.tsx]"]
  node_mouseshare["MouseShare demo<br/>[MouseShareDemo.tsx]"]
  node_skyline["3D contribution skyline"]
end

subgraph group_content["Portfolio content"]
  node_about["About and timeline<br/>[Sections.tsx]"]
  node_projects["Project cards<br/>[Projects.tsx]"]
  node_flow["Project flows<br/>[Flow.tsx]"]
  node_activity["Contribution activity<br/>[Activity.tsx]"]
  node_skills["Skills board<br/>[Skills.tsx]"]
  node_contentdata["Portfolio data<br/>[data.ts]"]
end

subgraph group_standalone["Standalone pages"]
  node_giftool["GIF crop tool<br/>[index.html]"]
  node_resumepage["Resume page<br/>[index.html]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens site"| node_mount
node_mount -->|"mounts"| node_app
node_app -->|"renders"| node_nav
node_app -->|"renders"| node_story
node_app -->|"renders"| node_about
node_app -->|"renders"| node_showcase
node_app -->|"renders"| node_mouseshare
node_app -->|"renders"| node_projects
node_app -->|"renders"| node_activity
node_app -->|"renders"| node_skills
node_story -->|"renders"| node_storycanvas
node_about -->|"renders"| node_hologram
node_about -->|"renders"| node_orderfield
node_showcase -->|"renders"| node_laptop
node_showcase -->|"uses"| node_devices
node_mouseshare -->|"renders"| node_devices
node_projects -->|"renders"| node_flow
node_activity -->|"renders"| node_skyline
node_nav -->|"reads"| node_contentdata
node_story -->|"reads"| node_contentdata
node_about -->|"reads"| node_contentdata
node_projects -->|"reads"| node_contentdata
node_flow -->|"reads"| node_contentdata
node_skills -->|"reads"| node_contentdata
node_nav -->|"uses"| node_motionpresets
node_projects -->|"uses"| node_motionpresets
node_skills -->|"uses"| node_motionpresets
node_visitor -->|"opens tool"| node_giftool
node_visitor -->|"opens resume"| node_resumepage

click node_mount "https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/main.tsx"
click node_app "https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/App.tsx"
click node_nav "https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/Nav.tsx"
click node_story "https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/Story.tsx"
click node_storycanvas "https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/ui/story-canvas.tsx"
click node_about "https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/Sections.tsx"
click node_hologram "https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/ui/hologram.tsx"
click node_orderfield "https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/ui/order-field.tsx"
click node_showcase "https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/Showcase.tsx"
click node_laptop "https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/MacShowcase.tsx"
click node_devices "https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/ui/devices.tsx"
click node_mouseshare "https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/MouseShareDemo.tsx"
click node_projects "https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/Projects.tsx"
click node_flow "https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/Flow.tsx"
click node_activity "https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/Activity.tsx"
click node_skyline "https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/ui/contribution-skyline.tsx"
click node_skills "https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/Skills.tsx"
click node_contentdata "https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/data.ts"
click node_motionpresets "https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/presets.ts"
click node_giftool "https://github.com/piyushchy/piyushchy.github.io/blob/main/gif-tool/index.html"
click node_resumepage "https://github.com/piyushchy/piyushchy.github.io/blob/main/resume/index.html"

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_mount,node_app,node_nav,node_motionpresets toneBlue
class node_story,node_storycanvas,node_hologram,node_orderfield,node_showcase,node_laptop,node_devices,node_mouseshare,node_skyline toneAmber
class node_about,node_projects,node_flow,node_activity,node_skills,node_contentdata toneMint
class node_giftool,node_resumepage toneRose
class node_visitor toneIndigo
```

## Components

### Portfolio flow

- [React mount](https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/main.tsx): `site/src/main.tsx`
- [Page composition](https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/App.tsx): `site/src/App.tsx`
- [Navigation](https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/Nav.tsx): `site/src/components/Nav.tsx`
- [Motion presets](https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/presets.ts): `site/src/presets.ts`

### Interactive showcases

- [Intro story](https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/Story.tsx): `site/src/components/Story.tsx`
- [Story canvas](https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/ui/story-canvas.tsx): `site/src/components/ui/story-canvas.tsx`
- [3D hologram](https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/ui/hologram.tsx): `site/src/components/ui/hologram.tsx`
- [Order field](https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/ui/order-field.tsx): `site/src/components/ui/order-field.tsx`
- [Pinned showcase](https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/Showcase.tsx): `site/src/components/Showcase.tsx`
- [Laptop scene](https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/MacShowcase.tsx): `site/src/components/MacShowcase.tsx`
- [Device views](https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/ui/devices.tsx): `site/src/components/ui/devices.tsx`
- [MouseShare demo](https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/MouseShareDemo.tsx): `site/src/components/MouseShareDemo.tsx`
- [3D contribution skyline](https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/ui/contribution-skyline.tsx): `site/src/components/ui/contribution-skyline.tsx`

### Portfolio content

- [About and timeline](https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/Sections.tsx): `site/src/components/Sections.tsx`
- [Project cards](https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/Projects.tsx): `site/src/components/Projects.tsx`
- [Project flows](https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/Flow.tsx): `site/src/components/Flow.tsx`
- [Contribution activity](https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/Activity.tsx): `site/src/components/Activity.tsx`
- [Skills board](https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/components/Skills.tsx): `site/src/components/Skills.tsx`
- [Portfolio data](https://github.com/piyushchy/piyushchy.github.io/blob/main/site/src/data.ts): `site/src/data.ts`

### Standalone pages

- [GIF crop tool](https://github.com/piyushchy/piyushchy.github.io/blob/main/gif-tool/index.html): `gif-tool/index.html`
- [Resume page](https://github.com/piyushchy/piyushchy.github.io/blob/main/resume/index.html): `resume/index.html`

### Other components

- **Visitor**

## Connections

- Visitor → React mount: opens site (evidence: `README.md`)
- React mount → Page composition: mounts (evidence: `site/src/main.tsx`)
- Page composition → Navigation: renders (evidence: `site/src/App.tsx`)
- Page composition → Intro story: renders (evidence: `site/src/App.tsx`)
- Page composition → About and timeline: renders (evidence: `site/src/App.tsx`)
- Page composition → Pinned showcase: renders (evidence: `site/src/App.tsx`)
- Page composition → MouseShare demo: renders (evidence: `site/src/App.tsx`)
- Page composition → Project cards: renders (evidence: `site/src/App.tsx`)
- Page composition → Contribution activity: renders (evidence: `site/src/App.tsx`)
- Page composition → Skills board: renders (evidence: `site/src/App.tsx`)
- Intro story → Story canvas: renders (evidence: `site/src/components/Story.tsx`)
- About and timeline → 3D hologram: renders (evidence: `site/src/components/Sections.tsx`)
- About and timeline → Order field: renders (evidence: `site/src/components/Sections.tsx`)
- Pinned showcase → Laptop scene: renders (evidence: `site/src/components/Showcase.tsx`)
- Pinned showcase → Device views: uses (evidence: `site/src/components/Showcase.tsx`)
- MouseShare demo → Device views: renders (evidence: `site/src/components/MouseShareDemo.tsx`)
- Project cards → Project flows: renders (evidence: `site/src/components/Projects.tsx`)
- Contribution activity → 3D contribution skyline: renders (evidence: `site/src/components/Activity.tsx`)
- Navigation → Portfolio data: reads (evidence: `site/src/components/Nav.tsx`)
- Intro story → Portfolio data: reads (evidence: `site/src/components/Story.tsx`)
- About and timeline → Portfolio data: reads (evidence: `site/src/components/Sections.tsx`)
- Project cards → Portfolio data: reads (evidence: `site/src/components/Projects.tsx`)
- Project flows → Portfolio data: reads (evidence: `site/src/components/Flow.tsx`)
- Skills board → Portfolio data: reads (evidence: `site/src/components/Skills.tsx`)
- Navigation → Motion presets: uses (evidence: `site/src/components/Nav.tsx`)
- Project cards → Motion presets: uses (evidence: `site/src/components/Projects.tsx`)
- Skills board → Motion presets: uses (evidence: `site/src/components/Skills.tsx`)
- Visitor → GIF crop tool: opens tool (evidence: `README.md`)
- Visitor → Resume page: opens resume (evidence: `README.md`)
