# mandlamthethwa/portfolio-react-javascript architecture

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

- Interactive diagram: https://gitdiagram.com/mandlamthethwa/portfolio-react-javascript
- Repository: https://github.com/mandlamthethwa/portfolio-react-javascript

## Overview

This is a React personal website and online resume. Visitors browse a home introduction and sections for the owner’s background, education, work experience, projects, skills, and achievements, with resume documents and social links also available. The sampled active entry point renders the main sections through tab navigation; a separate sitemap route configuration names additional sections, including achievements. The graph distinguishes those paths rather than assuming the sitemap configuration is wired into the active app. Unsampled page implementations are represented by their exact paths, with relationships omitted where evidence was unavailable.

Main entry points: [`src/App.js`](https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/App.js) (Tab application), [`src/sitemap/sitemap-routes.js`](https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/sitemap/sitemap-routes.js) (Sitemap routes), [`src/pages/Education.js`](https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/pages/Education.js) (Education history), [`src/pages/About.js`](https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/pages/About.js) (About profile)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_navigation["App and navigation"]
  node_entry["React entry<br/>[index.js]"]
  node_app["Tab application<br/>[App.js]"]
  node_tabs["Tab navigation"]
end

subgraph group_profile["Profile and contact"]
  node_home["Home introduction<br/>[Home.js]"]
  node_about["About profile<br/>[About.js]"]
  node_resume["Resume PDF<br/>[resume.pdf]"]
  node_cover["Cover letter PDF<br/>[cover.pdf]"]
  node_footer["Social links<br/>[Footer.js]"]
end

subgraph group_career["Career portfolio"]
  node_education["Education history<br/>[Education.js]"]
  node_educationcard["Education card<br/>[EducationCard.js]"]
  node_coursework["Coursework button"]
  node_experience["Work experience<br/>[Experience.js]"]
  node_experiencecard["Experience card<br/>[ExperienceCard.js]"]
  node_projects["Projects section<br/>[Projects.js]"]
  node_skills["Skills section<br/>[Skills.js]"]
  node_skillcard["Skill card<br/>[SkillCard.js]"]
  node_achievements["Awards section<br/>[Achievements.js]"]
  node_achievementcard["Award card"]
  node_titlebar["Section title<br/>[TitleBar.js]"]
end

subgraph group_siteextras["Site extras"]
  node_error["Not found page<br/>[Error404.js]"]
  node_sitemaproutes["Sitemap routes<br/>[sitemap-routes.js]"]
  node_sitemapgenerator["Sitemap generator"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens site"| node_entry
node_entry -->|"renders"| node_app
node_app -->|"renders"| node_tabs
node_app -->|"renders tab"| node_home
node_app -->|"renders tab"| node_about
node_app -->|"renders tab"| node_education
node_app -->|"renders tab"| node_experience
node_app -->|"renders tab"| node_projects
node_app -->|"renders tab"| node_skills
node_app -->|"renders fallback"| node_error
node_app -->|"renders"| node_footer
node_about -->|"links to"| node_resume
node_about -->|"links to"| node_cover
node_education -->|"renders"| node_educationcard
node_education -->|"renders"| node_coursework
node_experience -->|"renders"| node_experiencecard
node_skills -->|"renders"| node_skillcard
node_education -->|"renders"| node_titlebar
node_experience -->|"renders"| node_titlebar
node_skills -->|"renders"| node_titlebar
node_achievements -->|"renders"| node_achievementcard
node_achievements -->|"renders"| node_titlebar
node_sitemapgenerator -->|"uses routes"| node_sitemaproutes
node_sitemaproutes -->|"routes to"| node_achievements
node_sitemaproutes -->|"routes to"| node_home
node_sitemaproutes -->|"routes to"| node_about
node_sitemaproutes -->|"routes to"| node_education
node_sitemaproutes -->|"routes to"| node_experience
node_sitemaproutes -->|"routes to"| node_projects
node_sitemaproutes -->|"routes to"| node_skills
node_sitemaproutes -->|"renders"| node_footer

click node_entry "https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/index.js"
click node_app "https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/App.js"
click node_tabs "https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/components/NavigationTabBar.js"
click node_home "https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/pages/Home.js"
click node_about "https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/pages/About.js"
click node_resume "https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/public/resume.pdf"
click node_cover "https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/public/cover.pdf"
click node_footer "https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/components/Footer.js"
click node_education "https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/pages/Education.js"
click node_educationcard "https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/components/EducationCard.js"
click node_coursework "https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/components/CourseworkButton.js"
click node_experience "https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/pages/Experience.js"
click node_experiencecard "https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/components/ExperienceCard.js"
click node_projects "https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/pages/Projects.js"
click node_skills "https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/pages/Skills.js"
click node_skillcard "https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/components/SkillCard.js"
click node_achievements "https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/pages/Achievements.js"
click node_achievementcard "https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/components/AchievementsCard.js"
click node_titlebar "https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/components/TitleBar.js"
click node_error "https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/pages/Error404.js"
click node_sitemaproutes "https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/sitemap/sitemap-routes.js"
click node_sitemapgenerator "https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/sitemap/sitemap-generator.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_entry,node_app,node_tabs toneBlue
class node_home,node_about,node_resume,node_cover,node_footer toneAmber
class node_education,node_educationcard,node_coursework,node_experience,node_experiencecard,node_projects,node_skills,node_skillcard,node_achievements,node_achievementcard,node_titlebar toneMint
class node_error,node_sitemaproutes,node_sitemapgenerator toneRose
class node_visitor toneIndigo
```

## Components

### App and navigation

- [React entry](https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/index.js): `src/index.js`
- [Tab application](https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/App.js): `src/App.js`
- [Tab navigation](https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/components/NavigationTabBar.js): `src/components/NavigationTabBar.js`

### Profile and contact

- [Home introduction](https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/pages/Home.js): `src/pages/Home.js`
- [About profile](https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/pages/About.js): `src/pages/About.js`
- [Resume PDF](https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/public/resume.pdf): `public/resume.pdf`
- [Cover letter PDF](https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/public/cover.pdf): `public/cover.pdf`
- [Social links](https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/components/Footer.js): `src/components/Footer.js`

### Career portfolio

- [Education history](https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/pages/Education.js): `src/pages/Education.js`
- [Education card](https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/components/EducationCard.js): `src/components/EducationCard.js`
- [Coursework button](https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/components/CourseworkButton.js): `src/components/CourseworkButton.js`
- [Work experience](https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/pages/Experience.js): `src/pages/Experience.js`
- [Experience card](https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/components/ExperienceCard.js): `src/components/ExperienceCard.js`
- [Projects section](https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/pages/Projects.js): `src/pages/Projects.js`
- [Skills section](https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/pages/Skills.js): `src/pages/Skills.js`
- [Skill card](https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/components/SkillCard.js): `src/components/SkillCard.js`
- [Awards section](https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/pages/Achievements.js): `src/pages/Achievements.js`
- [Award card](https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/components/AchievementsCard.js): `src/components/AchievementsCard.js`
- [Section title](https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/components/TitleBar.js): `src/components/TitleBar.js`

### Site extras

- [Not found page](https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/pages/Error404.js): `src/pages/Error404.js`
- [Sitemap routes](https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/sitemap/sitemap-routes.js): `src/sitemap/sitemap-routes.js`
- [Sitemap generator](https://github.com/mandlamthethwa/portfolio-react-javascript/blob/main/src/sitemap/sitemap-generator.js): `src/sitemap/sitemap-generator.js`

### Other components

- **Visitor**

## Connections

- Visitor → React entry: opens site
- React entry → Tab application: renders (evidence: `src/index.js`)
- Tab application → Tab navigation: renders (evidence: `src/App.js`)
- Tab application → Home introduction: renders tab (evidence: `src/App.js`)
- Tab application → About profile: renders tab (evidence: `src/App.js`)
- Tab application → Education history: renders tab (evidence: `src/App.js`)
- Tab application → Work experience: renders tab (evidence: `src/App.js`)
- Tab application → Projects section: renders tab (evidence: `src/App.js`)
- Tab application → Skills section: renders tab (evidence: `src/App.js`)
- Tab application → Not found page: renders fallback (evidence: `src/App.js`)
- Tab application → Social links: renders (evidence: `src/App.js`)
- About profile → Resume PDF: links to (evidence: `src/pages/About.js`)
- About profile → Cover letter PDF: links to (evidence: `src/pages/About.js`)
- Education history → Education card: renders (evidence: `src/pages/Education.js`)
- Education history → Coursework button: renders (evidence: `src/pages/Education.js`)
- Work experience → Experience card: renders (evidence: `src/pages/Experience.js`)
- Skills section → Skill card: renders (evidence: `src/pages/Skills.js`)
- Education history → Section title: renders (evidence: `src/pages/Education.js`)
- Work experience → Section title: renders (evidence: `src/pages/Experience.js`)
- Skills section → Section title: renders (evidence: `src/pages/Skills.js`)
- Awards section → Award card: renders (evidence: `src/pages/Achievements.js`)
- Awards section → Section title: renders (evidence: `src/pages/Achievements.js`)
- Sitemap generator → Sitemap routes: uses routes (evidence: `src/sitemap/sitemap-generator.js`)
- Sitemap routes → Awards section: routes to (evidence: `src/sitemap/sitemap-routes.js`)
- Sitemap routes → Home introduction: routes to (evidence: `src/sitemap/sitemap-routes.js`)
- Sitemap routes → About profile: routes to (evidence: `src/sitemap/sitemap-routes.js`)
- Sitemap routes → Education history: routes to (evidence: `src/sitemap/sitemap-routes.js`)
- Sitemap routes → Work experience: routes to (evidence: `src/sitemap/sitemap-routes.js`)
- Sitemap routes → Projects section: routes to (evidence: `src/sitemap/sitemap-routes.js`)
- Sitemap routes → Skills section: routes to (evidence: `src/sitemap/sitemap-routes.js`)
- Sitemap routes → Social links: renders (evidence: `src/sitemap/sitemap-routes.js`)
