# quangtu224/tu-dev-portfolio architecture

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

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

## Overview

This repository is a React personal portfolio site. A browser loads the React entry point, which renders the app shell and its navigation, profile introduction, and education timeline. The education view uses an intersection-observer hook to reveal the timeline when it enters view. A reusable technology-icon component is also present, though the sampled app does not show it being used. The README describes a Vite template rather than additional portfolio features; unsampled files may contain further details, so no other sections or interactions are inferred.

Main entry points: [`src/App.jsx`](https://github.com/quangtu224/tu-dev-portfolio/blob/main/src/App.jsx) (App shell), [`src/main.jsx`](https://github.com/quangtu224/tu-dev-portfolio/blob/main/src/main.jsx) (React entry), [`src/components/Education/education.jsx`](https://github.com/quangtu224/tu-dev-portfolio/blob/main/src/components/Education/education.jsx) (Education timeline), [`src/components/NavBar/navBar.jsx`](https://github.com/quangtu224/tu-dev-portfolio/blob/main/src/components/NavBar/navBar.jsx) (Navigation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["App runtime"]
  node_entry["React entry<br/>[main.jsx]"]
  node_app["App shell<br/>[App.jsx]"]
end

subgraph group_portfolio["Portfolio content"]
  node_navbar["Navigation<br/>[navBar.jsx]"]
  node_hero["Profile intro<br/>[hero.jsx]"]
  node_education["Education timeline<br/>[education.jsx]"]
end

subgraph group_shared["Shared UI"]
  node_inview["Visibility hook<br/>[useInView.js]"]
  node_techicon["Technology icons<br/>[techIcon.jsx]"]
end

node_visitor(("Site visitor"))

node_visitor -->|"opens site"| node_entry
node_entry -->|"renders"| node_app
node_app -->|"renders"| node_navbar
node_app -->|"renders"| node_hero
node_app -->|"renders"| node_education
node_education -->|"observes visibility"| node_inview

click node_entry "https://github.com/quangtu224/tu-dev-portfolio/blob/main/src/main.jsx"
click node_app "https://github.com/quangtu224/tu-dev-portfolio/blob/main/src/App.jsx"
click node_navbar "https://github.com/quangtu224/tu-dev-portfolio/blob/main/src/components/NavBar/navBar.jsx"
click node_hero "https://github.com/quangtu224/tu-dev-portfolio/blob/main/src/components/Hero/hero.jsx"
click node_education "https://github.com/quangtu224/tu-dev-portfolio/blob/main/src/components/Education/education.jsx"
click node_inview "https://github.com/quangtu224/tu-dev-portfolio/blob/main/src/hooks/useInView.js"
click node_techicon "https://github.com/quangtu224/tu-dev-portfolio/blob/main/src/components/TechIcon/techIcon.jsx"

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_entry,node_app toneBlue
class node_navbar,node_hero,node_education toneAmber
class node_inview,node_techicon toneMint
class node_visitor toneIndigo
```

## Components

### App runtime

- [React entry](https://github.com/quangtu224/tu-dev-portfolio/blob/main/src/main.jsx): `src/main.jsx`
- [App shell](https://github.com/quangtu224/tu-dev-portfolio/blob/main/src/App.jsx): `src/App.jsx`

### Portfolio content

- [Navigation](https://github.com/quangtu224/tu-dev-portfolio/blob/main/src/components/NavBar/navBar.jsx): `src/components/NavBar/navBar.jsx`
- [Profile intro](https://github.com/quangtu224/tu-dev-portfolio/blob/main/src/components/Hero/hero.jsx): `src/components/Hero/hero.jsx`
- [Education timeline](https://github.com/quangtu224/tu-dev-portfolio/blob/main/src/components/Education/education.jsx): `src/components/Education/education.jsx`

### Shared UI

- [Visibility hook](https://github.com/quangtu224/tu-dev-portfolio/blob/main/src/hooks/useInView.js): `src/hooks/useInView.js`
- [Technology icons](https://github.com/quangtu224/tu-dev-portfolio/blob/main/src/components/TechIcon/techIcon.jsx): `src/components/TechIcon/techIcon.jsx`

### Other components

- **Site visitor**

## Connections

- Site visitor → React entry: opens site (evidence: `src/main.jsx`)
- React entry → App shell: renders (evidence: `src/main.jsx`)
- App shell → Navigation: renders (evidence: `src/App.jsx`)
- App shell → Profile intro: renders (evidence: `src/App.jsx`)
- App shell → Education timeline: renders (evidence: `src/App.jsx`)
- Education timeline → Visibility hook: observes visibility (evidence: `src/components/Education/education.jsx`)
