# featon0526/resume architecture

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

- Interactive diagram: https://gitdiagram.com/featon0526/resume
- Repository: https://github.com/featon0526/resume

## Overview

This repository is a React web app presenting a ToonHub figurine showcase and a character profile. The main visitor flow is routed through the shared layout to the home carousel; selecting the featured character opens the profile, while unmatched routes show a not-found page. The profile contains animated, scroll-led portfolio content. The graph reflects relationships shown in the README and excerpts; other UI-kit modules are represented as a subsystem because their individual use in pages was not established by the sampled source.

Main entry points: [`src/app.tsx`](https://github.com/featon0526/resume/blob/main/src/app.tsx) (Route Configuration), [`src/pages/ProfilePage/ProfilePage.tsx`](https://github.com/featon0526/resume/blob/main/src/pages/ProfilePage/ProfilePage.tsx) (Profile Page), [`src/components/ui/sidebar.tsx`](https://github.com/featon0526/resume/blob/main/src/components/ui/sidebar.tsx) (Sidebar Component), [`src/pages/HomePage/HomePage.tsx`](https://github.com/featon0526/resume/blob/main/src/pages/HomePage/HomePage.tsx) (Home Page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_routing["App Routing"]
  node_app["Route Configuration<br/>[app.tsx]"]
  node_layout["Shared Layout<br/>[Layout.tsx]"]
  node_notfound["Not Found Page<br/>[NotFoundPage.tsx]"]
end

subgraph group_showcase["Figurine Showcase"]
  node_home["Home Page<br/>[HomePage.tsx]"]
  node_hero["Figurine Carousel<br/>[ToonHubHero.tsx]"]
end

subgraph group_profile["Character Profile"]
  node_profile["Profile Page<br/>[ProfilePage.tsx]"]
  node_profilehero["Scroll Video Hero<br/>[ProfilePage.tsx]"]
  node_profileworks["Selected Works<br/>[ProfilePage.tsx]"]
  node_profileresume["Resume Content<br/>[ProfilePage.tsx]"]
end

subgraph group_shared["Shared UI"]
  node_error["Error Fallback<br/>[ErrorFallback.tsx]"]
  node_ui["UI Components"]
  node_sidebar["Sidebar Component<br/>[sidebar.tsx]"]
  node_mobile["Mobile Breakpoint Hook<br/>[use-mobile.ts]"]
  node_sheet["Sheet Component<br/>[sheet.tsx]"]
  node_tooltip["Tooltip Component<br/>[tooltip.tsx]"]
  node_utils["Class Utilities<br/>[utils.ts]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens app"| node_app
node_app -->|"wraps routes"| node_layout
node_app -->|"routes home"| node_home
node_app -->|"routes profile"| node_profile
node_app -->|"routes fallback"| node_notfound
node_home -->|"renders"| node_hero
node_hero -->|"navigates to"| node_profile
node_profile -->|"renders"| node_profilehero
node_profile -->|"renders"| node_profileworks
node_profile -->|"renders"| node_profileresume
node_app -->|"configures boundary"| node_error
node_sidebar -->|"checks breakpoint"| node_mobile
node_sidebar -->|"uses on mobile"| node_sheet
node_sidebar -->|"renders"| node_tooltip
node_sidebar -->|"uses button"| node_ui

click node_app "https://github.com/featon0526/resume/blob/main/src/app.tsx"
click node_layout "https://github.com/featon0526/resume/blob/main/src/components/Layout.tsx"
click node_home "https://github.com/featon0526/resume/blob/main/src/pages/HomePage/HomePage.tsx"
click node_hero "https://github.com/featon0526/resume/blob/main/src/pages/HomePage/sections/ToonHubHero.tsx"
click node_profile "https://github.com/featon0526/resume/blob/main/src/pages/ProfilePage/ProfilePage.tsx"
click node_profilehero "https://github.com/featon0526/resume/blob/main/src/pages/ProfilePage/ProfilePage.tsx"
click node_profileworks "https://github.com/featon0526/resume/blob/main/src/pages/ProfilePage/ProfilePage.tsx"
click node_profileresume "https://github.com/featon0526/resume/blob/main/src/pages/ProfilePage/ProfilePage.tsx"
click node_notfound "https://github.com/featon0526/resume/blob/main/src/pages/NotFoundPage/NotFoundPage.tsx"
click node_error "https://github.com/featon0526/resume/blob/main/src/components/ErrorFallback.tsx"
click node_ui "https://github.com/featon0526/resume/tree/main/src/components/ui"
click node_sidebar "https://github.com/featon0526/resume/blob/main/src/components/ui/sidebar.tsx"
click node_mobile "https://github.com/featon0526/resume/blob/main/src/hooks/use-mobile.ts"
click node_sheet "https://github.com/featon0526/resume/blob/main/src/components/ui/sheet.tsx"
click node_tooltip "https://github.com/featon0526/resume/blob/main/src/components/ui/tooltip.tsx"
click node_utils "https://github.com/featon0526/resume/blob/main/src/lib/utils.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_app,node_layout,node_notfound toneBlue
class node_home,node_hero toneAmber
class node_profile,node_profilehero,node_profileworks,node_profileresume toneMint
class node_error,node_ui,node_sidebar,node_mobile,node_sheet,node_tooltip,node_utils toneRose
class node_visitor toneIndigo
```

## Components

### App Routing

- [Route Configuration](https://github.com/featon0526/resume/blob/main/src/app.tsx): `src/app.tsx`
- [Shared Layout](https://github.com/featon0526/resume/blob/main/src/components/Layout.tsx): `src/components/Layout.tsx`
- [Not Found Page](https://github.com/featon0526/resume/blob/main/src/pages/NotFoundPage/NotFoundPage.tsx): `src/pages/NotFoundPage/NotFoundPage.tsx`

### Figurine Showcase

- [Home Page](https://github.com/featon0526/resume/blob/main/src/pages/HomePage/HomePage.tsx): `src/pages/HomePage/HomePage.tsx`
- [Figurine Carousel](https://github.com/featon0526/resume/blob/main/src/pages/HomePage/sections/ToonHubHero.tsx): `src/pages/HomePage/sections/ToonHubHero.tsx`

### Character Profile

- [Profile Page](https://github.com/featon0526/resume/blob/main/src/pages/ProfilePage/ProfilePage.tsx): `src/pages/ProfilePage/ProfilePage.tsx`
- [Scroll Video Hero](https://github.com/featon0526/resume/blob/main/src/pages/ProfilePage/ProfilePage.tsx): `src/pages/ProfilePage/ProfilePage.tsx`
- [Selected Works](https://github.com/featon0526/resume/blob/main/src/pages/ProfilePage/ProfilePage.tsx): `src/pages/ProfilePage/ProfilePage.tsx`
- [Resume Content](https://github.com/featon0526/resume/blob/main/src/pages/ProfilePage/ProfilePage.tsx): `src/pages/ProfilePage/ProfilePage.tsx`

### Shared UI

- [Error Fallback](https://github.com/featon0526/resume/blob/main/src/components/ErrorFallback.tsx): `src/components/ErrorFallback.tsx`
- [UI Components](https://github.com/featon0526/resume/tree/main/src/components/ui): `src/components/ui`
- [Sidebar Component](https://github.com/featon0526/resume/blob/main/src/components/ui/sidebar.tsx): `src/components/ui/sidebar.tsx`
- [Mobile Breakpoint Hook](https://github.com/featon0526/resume/blob/main/src/hooks/use-mobile.ts): `src/hooks/use-mobile.ts`
- [Sheet Component](https://github.com/featon0526/resume/blob/main/src/components/ui/sheet.tsx): `src/components/ui/sheet.tsx`
- [Tooltip Component](https://github.com/featon0526/resume/blob/main/src/components/ui/tooltip.tsx): `src/components/ui/tooltip.tsx`
- [Class Utilities](https://github.com/featon0526/resume/blob/main/src/lib/utils.ts): `src/lib/utils.ts`

### Other components

- **Visitor**

## Connections

- Visitor → Route Configuration: opens app
- Route Configuration → Shared Layout: wraps routes (evidence: `src/app.tsx`)
- Route Configuration → Home Page: routes home (evidence: `src/app.tsx`)
- Route Configuration → Profile Page: routes profile (evidence: `src/app.tsx`)
- Route Configuration → Not Found Page: routes fallback (evidence: `src/app.tsx`)
- Home Page → Figurine Carousel: renders (evidence: `src/pages/HomePage/HomePage.tsx`)
- Figurine Carousel → Profile Page: navigates to (evidence: `src/pages/HomePage/sections/ToonHubHero.tsx`)
- Profile Page → Scroll Video Hero: renders (evidence: `src/pages/ProfilePage/ProfilePage.tsx`)
- Profile Page → Selected Works: renders (evidence: `src/pages/ProfilePage/ProfilePage.tsx`)
- Profile Page → Resume Content: renders (evidence: `src/pages/ProfilePage/ProfilePage.tsx`)
- Route Configuration → Error Fallback: configures boundary (evidence: `src/index.tsx`)
- Sidebar Component → Mobile Breakpoint Hook: checks breakpoint (evidence: `src/components/ui/sidebar.tsx`)
- Sidebar Component → Sheet Component: uses on mobile (evidence: `src/components/ui/sidebar.tsx`)
- Sidebar Component → Tooltip Component: renders (evidence: `src/components/ui/sidebar.tsx`)
- Sidebar Component → UI Components: uses button (evidence: `src/components/ui/sidebar.tsx`)
