# ltghuy/my-porfolio-2022 architecture

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

- Interactive diagram: https://gitdiagram.com/ltghuy/my-porfolio-2022
- Repository: https://github.com/ltghuy/my-porfolio-2022

## Overview

This is a personal portfolio site: visitors navigate between a landing page and sections presenting the owner’s background, skills and experience, projects, and contact details. The landing page’s menu drives route changes; the contact form submits directly to EmailJS, and project cards link to demos and source repositories. The tree identifies the other route and section modules, but their implementations were not sampled, so those connections are represented by route names rather than assumed internal call chains.

Main entry points: [`components/FullScreenMenu/index.tsx`](https://github.com/ltghuy/my-porfolio-2022/blob/main/components/FullScreenMenu/index.tsx) (Full-screen menu), [`pages/index.tsx`](https://github.com/ltghuy/my-porfolio-2022/blob/main/pages/index.tsx) (Home route), [`pages/about.tsx`](https://github.com/ltghuy/my-porfolio-2022/blob/main/pages/about.tsx) (About route), [`pages/resume.tsx`](https://github.com/ltghuy/my-porfolio-2022/blob/main/pages/resume.tsx) (Resume route)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_routes["Page routes"]
  node_home_route["Home route<br/>[index.tsx]"]
  node_about_route["About route<br/>[about.tsx]"]
  node_resume_route["Resume route<br/>[resume.tsx]"]
  node_works_route["Works route<br/>[works.tsx]"]
  node_contact_route["Contact route<br/>[contact.tsx]"]
end

subgraph group_content["Portfolio content"]
  node_home_content["Landing content<br/>[index.tsx]"]
  node_about_content["Profile and services<br/>[index.tsx]"]
  node_skills_content["Skills and resume<br/>[index.tsx]"]
  node_works_content["Project showcase<br/>[index.tsx]"]
  node_cv_file["CV PDF<br/>[my-cv.pdf]"]
  node_project_media["Project videos"]
end

subgraph group_interface["Navigation and display"]
  node_sidebar["Sidebar navigation<br/>[index.tsx]"]
  node_full_menu["Full-screen menu<br/>[index.tsx]"]
  node_typing["Typing animation<br/>[index.tsx]"]
  node_timeline["Experience timeline<br/>[index.tsx]"]
end

subgraph group_contact["Contact delivery"]
  node_contact_content["Contact form<br/>[index.tsx]"]
end

node_visitor(("Visitor"))
node_emailjs{{"EmailJS service"}}

node_visitor -->|"opens"| node_home_route
node_visitor -->|"opens"| node_about_route
node_visitor -->|"opens"| node_resume_route
node_visitor -->|"opens"| node_works_route
node_visitor -->|"opens"| node_contact_route
node_home_route -->|"renders"| node_sidebar
node_home_route -->|"renders"| node_full_menu
node_home_route -->|"renders"| node_home_content
node_full_menu -->|"navigates"| node_home_route
node_full_menu -->|"navigates"| node_about_route
node_full_menu -->|"navigates"| node_resume_route
node_full_menu -->|"navigates"| node_works_route
node_full_menu -->|"navigates"| node_contact_route
node_home_content -->|"renders"| node_typing
node_about_route -->|"route content"| node_about_content
node_about_content -->|"downloads"| node_cv_file
node_resume_route -->|"route content"| node_skills_content
node_skills_content -->|"renders"| node_timeline
node_works_route -->|"route content"| node_works_content
node_works_content -->|"plays"| node_project_media
node_contact_route -->|"route content"| node_contact_content
node_contact_content -->|"submits form"| node_emailjs

click node_home_route "https://github.com/ltghuy/my-porfolio-2022/blob/main/pages/index.tsx"
click node_about_route "https://github.com/ltghuy/my-porfolio-2022/blob/main/pages/about.tsx"
click node_resume_route "https://github.com/ltghuy/my-porfolio-2022/blob/main/pages/resume.tsx"
click node_works_route "https://github.com/ltghuy/my-porfolio-2022/blob/main/pages/works.tsx"
click node_contact_route "https://github.com/ltghuy/my-porfolio-2022/blob/main/pages/contact.tsx"
click node_home_content "https://github.com/ltghuy/my-porfolio-2022/blob/main/containers/HomeSection/index.tsx"
click node_about_content "https://github.com/ltghuy/my-porfolio-2022/blob/main/containers/AboutSection/index.tsx"
click node_skills_content "https://github.com/ltghuy/my-porfolio-2022/blob/main/containers/SkillSection/index.tsx"
click node_works_content "https://github.com/ltghuy/my-porfolio-2022/blob/main/containers/WorksSection/index.tsx"
click node_contact_content "https://github.com/ltghuy/my-porfolio-2022/blob/main/containers/ContactSection/index.tsx"
click node_sidebar "https://github.com/ltghuy/my-porfolio-2022/blob/main/components/Sidebar/index.tsx"
click node_full_menu "https://github.com/ltghuy/my-porfolio-2022/blob/main/components/FullScreenMenu/index.tsx"
click node_typing "https://github.com/ltghuy/my-porfolio-2022/blob/main/components/TextTyping/index.tsx"
click node_timeline "https://github.com/ltghuy/my-porfolio-2022/blob/main/components/Timeline/index.tsx"
click node_cv_file "https://github.com/ltghuy/my-porfolio-2022/blob/main/public/my-cv.pdf"
click node_project_media "https://github.com/ltghuy/my-porfolio-2022/tree/main/public/images"

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_home_route,node_about_route,node_resume_route,node_works_route,node_contact_route toneBlue
class node_home_content,node_about_content,node_skills_content,node_works_content,node_cv_file,node_project_media toneAmber
class node_sidebar,node_full_menu,node_typing,node_timeline toneMint
class node_contact_content toneRose
class node_visitor,node_emailjs toneIndigo
```

## Components

### Page routes

- [Home route](https://github.com/ltghuy/my-porfolio-2022/blob/main/pages/index.tsx): `pages/index.tsx`
- [About route](https://github.com/ltghuy/my-porfolio-2022/blob/main/pages/about.tsx): `pages/about.tsx`
- [Resume route](https://github.com/ltghuy/my-porfolio-2022/blob/main/pages/resume.tsx): `pages/resume.tsx`
- [Works route](https://github.com/ltghuy/my-porfolio-2022/blob/main/pages/works.tsx): `pages/works.tsx`
- [Contact route](https://github.com/ltghuy/my-porfolio-2022/blob/main/pages/contact.tsx): `pages/contact.tsx`

### Portfolio content

- [Landing content](https://github.com/ltghuy/my-porfolio-2022/blob/main/containers/HomeSection/index.tsx): `containers/HomeSection/index.tsx`
- [Profile and services](https://github.com/ltghuy/my-porfolio-2022/blob/main/containers/AboutSection/index.tsx): `containers/AboutSection/index.tsx`
- [Skills and resume](https://github.com/ltghuy/my-porfolio-2022/blob/main/containers/SkillSection/index.tsx): `containers/SkillSection/index.tsx`
- [Project showcase](https://github.com/ltghuy/my-porfolio-2022/blob/main/containers/WorksSection/index.tsx): `containers/WorksSection/index.tsx`
- [CV PDF](https://github.com/ltghuy/my-porfolio-2022/blob/main/public/my-cv.pdf): `public/my-cv.pdf`
- [Project videos](https://github.com/ltghuy/my-porfolio-2022/tree/main/public/images): `public/images`

### Navigation and display

- [Sidebar navigation](https://github.com/ltghuy/my-porfolio-2022/blob/main/components/Sidebar/index.tsx): `components/Sidebar/index.tsx`
- [Full-screen menu](https://github.com/ltghuy/my-porfolio-2022/blob/main/components/FullScreenMenu/index.tsx): `components/FullScreenMenu/index.tsx`
- [Typing animation](https://github.com/ltghuy/my-porfolio-2022/blob/main/components/TextTyping/index.tsx): `components/TextTyping/index.tsx`
- [Experience timeline](https://github.com/ltghuy/my-porfolio-2022/blob/main/components/Timeline/index.tsx): `components/Timeline/index.tsx`

### Contact delivery

- [Contact form](https://github.com/ltghuy/my-porfolio-2022/blob/main/containers/ContactSection/index.tsx): `containers/ContactSection/index.tsx`

### Other components

- **Visitor**
- **EmailJS service**

## Connections

- Visitor → Home route: opens
- Visitor → About route: opens
- Visitor → Resume route: opens
- Visitor → Works route: opens
- Visitor → Contact route: opens
- Home route → Sidebar navigation: renders
- Home route → Full-screen menu: renders
- Home route → Landing content: renders
- Full-screen menu → Home route: navigates
- Full-screen menu → About route: navigates
- Full-screen menu → Resume route: navigates
- Full-screen menu → Works route: navigates
- Full-screen menu → Contact route: navigates
- Landing content → Typing animation: renders
- About route → Profile and services: route content
- Profile and services → CV PDF: downloads
- Resume route → Skills and resume: route content
- Skills and resume → Experience timeline: renders
- Works route → Project showcase: route content
- Project showcase → Project videos: plays
- Contact route → Contact form: route content
- Contact form → EmailJS service: submits form
