# minet2943-byte/portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/minet2943-byte/portfolio
- Repository: https://github.com/minet2943-byte/portfolio

## Overview

This is a single-page personal portfolio for Seum Sokneth. Visitors browse an introduction, skills, projects, biography and contact links; the App coordinates these sections and supplies English/Khmer content and interactive theme/skill state. About, credentials and skills are distinct portfolio domains, though certificates are represented in the data but no certificate section is mounted in the shown App. Source evidence is limited to the supplied excerpts and source index.

Main entry points: [`src/App.jsx`](https://github.com/minet2943-byte/portfolio/blob/main/src/App.jsx) (App coordinator), [`src/hooks/useReveal.js`](https://github.com/minet2943-byte/portfolio/blob/main/src/hooks/useReveal.js) (Scroll reveal behavior), [`src/pages/Project.jsx`](https://github.com/minet2943-byte/portfolio/blob/main/src/pages/Project.jsx) (Project showcase), [`src/pages/Contact.jsx`](https://github.com/minet2943-byte/portfolio/blob/main/src/pages/Contact.jsx) (Contact links)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Portfolio shell"]
  node_app["App coordinator<br/>[App.jsx]"]
end

subgraph group_content["Portfolio content"]
  node_home["Introduction<br/>[Home.jsx]"]
  node_skills["Skills showcase<br/>[Skill.jsx]"]
  node_projects["Project showcase<br/>[Project.jsx]"]
  node_about["Biography &amp; education<br/>[About.jsx]"]
  node_contact["Contact links<br/>[Contact.jsx]"]
  node_portfolio_data["Portfolio copy &amp; data<br/>[portfolioData.js]"]
end

subgraph group_behavior["Shared behavior"]
  node_reveal["Scroll reveal behavior<br/>[useReveal.js]"]
end

node_visitor(("Visitor"))
node_browser_storage[("Browser local storage")]
node_project_sites(("Linked project sites"))
node_social_sites(("Social profiles"))

node_visitor -->|"browses"| node_app
node_app -->|"renders"| node_home
node_app -->|"renders"| node_skills
node_app -->|"renders"| node_projects
node_app -->|"renders"| node_about
node_app -->|"renders"| node_contact
node_app -->|"reads content"| node_portfolio_data
node_app -->|"reads/writes theme"| node_browser_storage
node_home -->|"uses"| node_reveal
node_skills -->|"uses"| node_reveal
node_projects -->|"uses"| node_reveal
node_about -->|"uses"| node_reveal
node_contact -->|"uses"| node_reveal
node_projects -->|"links out"| node_project_sites
node_contact -->|"links out"| node_social_sites

click node_app "https://github.com/minet2943-byte/portfolio/blob/main/src/App.jsx"
click node_home "https://github.com/minet2943-byte/portfolio/blob/main/src/pages/Home.jsx"
click node_skills "https://github.com/minet2943-byte/portfolio/blob/main/src/pages/Skill.jsx"
click node_projects "https://github.com/minet2943-byte/portfolio/blob/main/src/pages/Project.jsx"
click node_about "https://github.com/minet2943-byte/portfolio/blob/main/src/pages/About.jsx"
click node_contact "https://github.com/minet2943-byte/portfolio/blob/main/src/pages/Contact.jsx"
click node_portfolio_data "https://github.com/minet2943-byte/portfolio/blob/main/src/data/portfolioData.js"
click node_reveal "https://github.com/minet2943-byte/portfolio/blob/main/src/hooks/useReveal.js"

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 toneBlue
class node_home,node_skills,node_projects,node_about,node_contact,node_portfolio_data,node_browser_storage toneAmber
class node_reveal toneMint
class node_visitor,node_project_sites,node_social_sites toneIndigo
```

## Components

### Portfolio shell

- [App coordinator](https://github.com/minet2943-byte/portfolio/blob/main/src/App.jsx): `src/App.jsx`

### Portfolio content

- [Introduction](https://github.com/minet2943-byte/portfolio/blob/main/src/pages/Home.jsx): `src/pages/Home.jsx`
- [Skills showcase](https://github.com/minet2943-byte/portfolio/blob/main/src/pages/Skill.jsx): `src/pages/Skill.jsx`
- [Project showcase](https://github.com/minet2943-byte/portfolio/blob/main/src/pages/Project.jsx): `src/pages/Project.jsx`
- [Biography & education](https://github.com/minet2943-byte/portfolio/blob/main/src/pages/About.jsx): `src/pages/About.jsx`
- [Contact links](https://github.com/minet2943-byte/portfolio/blob/main/src/pages/Contact.jsx): `src/pages/Contact.jsx`
- [Portfolio copy & data](https://github.com/minet2943-byte/portfolio/blob/main/src/data/portfolioData.js): `src/data/portfolioData.js`

### Shared behavior

- [Scroll reveal behavior](https://github.com/minet2943-byte/portfolio/blob/main/src/hooks/useReveal.js): `src/hooks/useReveal.js`

### Other components

- **Visitor**
- **Browser local storage**
- **Linked project sites**
- **Social profiles**

## Connections

- Visitor → App coordinator: browses (evidence: `src/App.jsx`)
- App coordinator → Introduction: renders (evidence: `src/App.jsx`)
- App coordinator → Skills showcase: renders (evidence: `src/App.jsx`)
- App coordinator → Project showcase: renders (evidence: `src/App.jsx`)
- App coordinator → Biography & education: renders (evidence: `src/App.jsx`)
- App coordinator → Contact links: renders (evidence: `src/App.jsx`)
- App coordinator → Portfolio copy & data: reads content (evidence: `src/App.jsx`)
- App coordinator → Browser local storage: reads/writes theme (evidence: `src/App.jsx`)
- Introduction → Scroll reveal behavior: uses (evidence: `src/pages/Home.jsx`)
- Skills showcase → Scroll reveal behavior: uses (evidence: `src/pages/Skill.jsx`)
- Project showcase → Scroll reveal behavior: uses (evidence: `src/pages/Project.jsx`)
- Biography & education → Scroll reveal behavior: uses (evidence: `src/pages/About.jsx`)
- Contact links → Scroll reveal behavior: uses (evidence: `src/pages/Contact.jsx`)
- Project showcase → Linked project sites: links out (evidence: `src/pages/Project.jsx`)
- Contact links → Social profiles: links out (evidence: `src/pages/Contact.jsx`)
