# shongkhoung/roeunshongkhoung-portfolio architecture

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

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

## Overview

This is a personal developer portfolio site. Visitors arrive through the shared layout and navigation, then view the home profile, services, résumé, work samples, or contact page; the contact form’s button opens Telegram. The graph reflects the sampled pages and the source index’s import references. Some components and pages were not sampled in full, so their internal behavior and unshown connections are omitted.

Main entry points: [`app/components/MobileNav.jsx`](https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/components/MobileNav.jsx) (Mobile navigation), [`app/components/ui`](https://github.com/shongkhoung/roeunshongkhoung-portfolio/tree/main/app/components/ui) (UI primitives), [`app/page.jsx`](https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/page.jsx) (Home profile), [`app/layout.jsx`](https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/layout.jsx) (Root layout)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Site shell"]
  node_layout["Root layout<br/>[layout.jsx]"]
  node_header["Header<br/>[Header.jsx]"]
  node_nav["Desktop navigation<br/>[Nav.jsx]"]
  node_mobile_nav["Mobile navigation<br/>[MobileNav.jsx]"]
  node_page_transition["Page transition<br/>[PageTransition.jsx]"]
  node_stair_transition["Stair transition"]
end

subgraph group_pages["Portfolio pages"]
  node_home["Home profile<br/>[page.jsx]"]
  node_services["Services page<br/>[page.jsx]"]
  node_resume["Résumé<br/>[page.jsx]"]
  node_work["Work portfolio<br/>[page.jsx]"]
  node_contact["Contact page<br/>[page.jsx]"]
end

subgraph group_components["Shared components"]
  node_stairs["Stair animation<br/>[Stairs.jsx]"]
  node_photo["Profile photo<br/>[Photo.jsx]"]
  node_social["Social links<br/>[Social.jsx]"]
  node_stats["Profile stats<br/>[Stats.jsx]"]
  node_work_controls["Work slider controls<br/>[WorkSliderBtns.jsx]"]
  node_cv["CV document"]
end

subgraph group_ui["UI primitives"]
  node_ui_primitives["UI primitives"]
  node_class_utils["Class utilities<br/>[utils.ts]"]
end

node_visitor(("Visitor"))
node_telegram(("Telegram"))

node_visitor -->|"opens site"| node_layout
node_layout -->|"renders"| node_header
node_layout -->|"wraps pages"| node_page_transition
node_layout -->|"renders"| node_stair_transition
node_stair_transition -->|"renders"| node_stairs
node_header -->|"renders"| node_nav
node_header -->|"renders"| node_mobile_nav
node_header -->|"uses button"| node_ui_primitives
node_mobile_nav -->|"uses sheet"| node_ui_primitives
node_mobile_nav -->|"links to"| node_home
node_mobile_nav -->|"links to"| node_services
node_mobile_nav -->|"links to"| node_resume
node_mobile_nav -->|"links to"| node_work
node_mobile_nav -->|"links to"| node_contact
node_home -->|"renders"| node_photo
node_home -->|"renders"| node_social
node_home -->|"renders"| node_stats
node_home -->|"uses button"| node_ui_primitives
node_home -->|"links download"| node_cv
node_resume -->|"uses tabs and panels"| node_ui_primitives
node_work -->|"uses tabs and tooltips"| node_ui_primitives
node_work -->|"renders controls"| node_work_controls
node_contact -->|"uses form controls"| node_ui_primitives
node_contact -->|"opens Telegram"| node_telegram
node_ui_primitives -->|"merges classes"| node_class_utils

click node_layout "https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/layout.jsx"
click node_header "https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/components/Header.jsx"
click node_nav "https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/components/Nav.jsx"
click node_mobile_nav "https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/components/MobileNav.jsx"
click node_page_transition "https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/components/PageTransition.jsx"
click node_stair_transition "https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/components/StairTransition.jsx"
click node_stairs "https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/components/Stairs.jsx"
click node_home "https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/page.jsx"
click node_services "https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/services/page.jsx"
click node_resume "https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/resume/page.jsx"
click node_work "https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/work/page.jsx"
click node_contact "https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/contact/page.jsx"
click node_photo "https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/components/Photo.jsx"
click node_social "https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/components/Social.jsx"
click node_stats "https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/components/Stats.jsx"
click node_work_controls "https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/components/WorkSliderBtns.jsx"
click node_ui_primitives "https://github.com/shongkhoung/roeunshongkhoung-portfolio/tree/main/app/components/ui"
click node_class_utils "https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/lib/utils.ts"
click node_cv "https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/public/RoeunShongkhoung-CV.pdf"

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_header,node_nav,node_mobile_nav,node_page_transition,node_stair_transition toneBlue
class node_home,node_services,node_resume,node_work,node_contact toneAmber
class node_stairs,node_photo,node_social,node_stats,node_work_controls,node_cv toneMint
class node_ui_primitives,node_class_utils toneRose
class node_visitor,node_telegram toneIndigo
```

## Components

### Site shell

- [Root layout](https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/layout.jsx): `app/layout.jsx`
- [Header](https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/components/Header.jsx): `app/components/Header.jsx`
- [Desktop navigation](https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/components/Nav.jsx): `app/components/Nav.jsx`
- [Mobile navigation](https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/components/MobileNav.jsx): `app/components/MobileNav.jsx`
- [Page transition](https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/components/PageTransition.jsx): `app/components/PageTransition.jsx`
- [Stair transition](https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/components/StairTransition.jsx): `app/components/StairTransition.jsx`

### Portfolio pages

- [Home profile](https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/page.jsx): `app/page.jsx`
- [Services page](https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/services/page.jsx): `app/services/page.jsx`
- [Résumé](https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/resume/page.jsx): `app/resume/page.jsx`
- [Work portfolio](https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/work/page.jsx): `app/work/page.jsx`
- [Contact page](https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/contact/page.jsx): `app/contact/page.jsx`

### Shared components

- [Stair animation](https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/components/Stairs.jsx): `app/components/Stairs.jsx`
- [Profile photo](https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/components/Photo.jsx): `app/components/Photo.jsx`
- [Social links](https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/components/Social.jsx): `app/components/Social.jsx`
- [Profile stats](https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/components/Stats.jsx): `app/components/Stats.jsx`
- [Work slider controls](https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/app/components/WorkSliderBtns.jsx): `app/components/WorkSliderBtns.jsx`
- [CV document](https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/public/RoeunShongkhoung-CV.pdf): `public/RoeunShongkhoung-CV.pdf`

### UI primitives

- [UI primitives](https://github.com/shongkhoung/roeunshongkhoung-portfolio/tree/main/app/components/ui): `app/components/ui`
- [Class utilities](https://github.com/shongkhoung/roeunshongkhoung-portfolio/blob/main/lib/utils.ts): `lib/utils.ts`

### Other components

- **Visitor**
- **Telegram**

## Connections

- Visitor → Root layout: opens site (evidence: `app/layout.jsx`)
- Root layout → Header: renders (evidence: `app/layout.jsx`)
- Root layout → Page transition: wraps pages (evidence: `app/layout.jsx`)
- Root layout → Stair transition: renders (evidence: `app/layout.jsx`)
- Stair transition → Stair animation: renders (evidence: `app/components/StairTransition.jsx`)
- Header → Desktop navigation: renders (evidence: `app/components/Header.jsx`)
- Header → Mobile navigation: renders (evidence: `app/components/Header.jsx`)
- Header → UI primitives: uses button (evidence: `app/components/Header.jsx`)
- Mobile navigation → UI primitives: uses sheet (evidence: `app/components/MobileNav.jsx`)
- Mobile navigation → Home profile: links to (evidence: `app/components/MobileNav.jsx`)
- Mobile navigation → Services page: links to (evidence: `app/components/MobileNav.jsx`)
- Mobile navigation → Résumé: links to (evidence: `app/components/MobileNav.jsx`)
- Mobile navigation → Work portfolio: links to (evidence: `app/components/MobileNav.jsx`)
- Mobile navigation → Contact page: links to (evidence: `app/components/MobileNav.jsx`)
- Home profile → Profile photo: renders (evidence: `app/page.jsx`)
- Home profile → Social links: renders (evidence: `app/page.jsx`)
- Home profile → Profile stats: renders (evidence: `app/page.jsx`)
- Home profile → UI primitives: uses button (evidence: `app/page.jsx`)
- Home profile → CV document: links download (evidence: `app/page.jsx`)
- Résumé → UI primitives: uses tabs and panels (evidence: `app/resume/page.jsx`)
- Work portfolio → UI primitives: uses tabs and tooltips (evidence: `app/work/page.jsx`)
- Work portfolio → Work slider controls: renders controls (evidence: `app/work/page.jsx`)
- Contact page → UI primitives: uses form controls (evidence: `app/contact/page.jsx`)
- Contact page → Telegram: opens Telegram (evidence: `app/contact/page.jsx`)
- UI primitives → Class utilities: merges classes (evidence: `app/components/ui/select.tsx`)
