# alialhamawy/portfolio2.0 architecture

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

- Interactive diagram: https://gitdiagram.com/alialhamawy/portfolio2.0
- Repository: https://github.com/alialhamawy/portfolio2.0

## Overview

This is a personal front-end developer portfolio. Visitors enter through the home page, browse featured or category-filtered projects, open project details, or submit a contact form. The source excerpts show routing, project data use, and contact email dispatch; several presentational components and project-detail internals were not sampled, so their internal behavior is not inferred.

Main entry points: [`src/App.jsx`](https://github.com/alialhamawy/portfolio2.0/blob/main/src/App.jsx) (App routing), [`src/component/Project/Project.jsx`](https://github.com/alialhamawy/portfolio2.0/blob/main/src/component/Project/Project.jsx) (Project detail), [`src/component/Suggested-Projects/SuggestedProjects.jsx`](https://github.com/alialhamawy/portfolio2.0/blob/main/src/component/Suggested-Projects/SuggestedProjects.jsx) (Featured projects), [`src/component/Projects/Projects.jsx`](https://github.com/alialhamawy/portfolio2.0/blob/main/src/component/Projects/Projects.jsx) (Project listing)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application shell"]
  node_bootstrap["React bootstrap<br/>[main.jsx]"]
  node_router["App routing<br/>[App.jsx]"]
  node_header["Navigation header<br/>[Header.jsx]"]
  node_error["Error boundary<br/>[ErrorBoundary.jsx]"]
  node_analytics["Vercel analytics<br/>[App.jsx]"]
end

subgraph group_portfolio["Portfolio pages"]
  node_hero["Profile hero<br/>[Hero.jsx]"]
  node_suggested["Featured projects"]
  node_skills["Skills section<br/>[Skills.jsx]"]
  node_footer["Site footer<br/>[Footer.jsx]"]
  node_scrolltop["Scroll to top<br/>[GoUp.jsx]"]
end

subgraph group_projects["Project catalog"]
  node_landing["Project carousel<br/>[LandingProject.jsx]"]
  node_listing["Project listing<br/>[Projects.jsx]"]
  node_catalog["Project catalog data<br/>[myProjects.js]"]
  node_detail["Project detail<br/>[Project.jsx]"]
end

subgraph group_contact["Contact"]
  node_contactpage["Contact form<br/>[Contact.jsx]"]
  node_emailjs["EmailJS service"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens site"| node_bootstrap
node_bootstrap -->|"renders"| node_router
node_router -->|"renders"| node_header
node_router -->|"routes home"| node_hero
node_router -->|"renders home"| node_error
node_router -->|"renders home"| node_suggested
node_router -->|"renders home"| node_skills
node_router -->|"renders home"| node_footer
node_router -->|"renders home"| node_scrolltop
node_router -->|"routes projects"| node_listing
node_router -->|"routes details"| node_detail
node_router -->|"routes contact"| node_contactpage
node_router -->|"renders"| node_analytics
node_header -->|"navigates routes"| node_router
node_listing -->|"reads projects"| node_catalog
node_suggested -->|"reads projects"| node_catalog
node_landing -->|"reads projects"| node_catalog
node_listing -->|"navigates details"| node_detail
node_suggested -->|"navigates details"| node_detail
node_landing -->|"navigates details"| node_detail
node_contactpage -->|"sends message"| node_emailjs

click node_bootstrap "https://github.com/alialhamawy/portfolio2.0/blob/main/src/main.jsx"
click node_router "https://github.com/alialhamawy/portfolio2.0/blob/main/src/App.jsx"
click node_header "https://github.com/alialhamawy/portfolio2.0/blob/main/src/component/Header/Header.jsx"
click node_error "https://github.com/alialhamawy/portfolio2.0/blob/main/src/component/ErrorBoundary.jsx"
click node_analytics "https://github.com/alialhamawy/portfolio2.0/blob/main/src/App.jsx"
click node_hero "https://github.com/alialhamawy/portfolio2.0/blob/main/src/component/Hero/Hero.jsx"
click node_suggested "https://github.com/alialhamawy/portfolio2.0/blob/main/src/component/Suggested-Projects/SuggestedProjects.jsx"
click node_skills "https://github.com/alialhamawy/portfolio2.0/blob/main/src/component/Skills/Skills.jsx"
click node_footer "https://github.com/alialhamawy/portfolio2.0/blob/main/src/component/Footer/Footer.jsx"
click node_scrolltop "https://github.com/alialhamawy/portfolio2.0/blob/main/src/GoUp/GoUp.jsx"
click node_landing "https://github.com/alialhamawy/portfolio2.0/blob/main/src/component/Landing-Projects/LandingProject.jsx"
click node_listing "https://github.com/alialhamawy/portfolio2.0/blob/main/src/component/Projects/Projects.jsx"
click node_catalog "https://github.com/alialhamawy/portfolio2.0/blob/main/src/component/Projects/myProjects.js"
click node_detail "https://github.com/alialhamawy/portfolio2.0/blob/main/src/component/Project/Project.jsx"
click node_contactpage "https://github.com/alialhamawy/portfolio2.0/blob/main/src/component/Contact/Contact.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_bootstrap,node_router,node_header,node_error,node_analytics toneBlue
class node_hero,node_suggested,node_skills,node_footer,node_scrolltop toneAmber
class node_landing,node_listing,node_catalog,node_detail toneMint
class node_contactpage,node_emailjs toneRose
class node_visitor toneIndigo
```

## Components

### Application shell

- [React bootstrap](https://github.com/alialhamawy/portfolio2.0/blob/main/src/main.jsx): `src/main.jsx`
- [App routing](https://github.com/alialhamawy/portfolio2.0/blob/main/src/App.jsx): `src/App.jsx`
- [Navigation header](https://github.com/alialhamawy/portfolio2.0/blob/main/src/component/Header/Header.jsx): `src/component/Header/Header.jsx`
- [Error boundary](https://github.com/alialhamawy/portfolio2.0/blob/main/src/component/ErrorBoundary.jsx): `src/component/ErrorBoundary.jsx`
- [Vercel analytics](https://github.com/alialhamawy/portfolio2.0/blob/main/src/App.jsx): `src/App.jsx`

### Portfolio pages

- [Profile hero](https://github.com/alialhamawy/portfolio2.0/blob/main/src/component/Hero/Hero.jsx): `src/component/Hero/Hero.jsx`
- [Featured projects](https://github.com/alialhamawy/portfolio2.0/blob/main/src/component/Suggested-Projects/SuggestedProjects.jsx): `src/component/Suggested-Projects/SuggestedProjects.jsx`
- [Skills section](https://github.com/alialhamawy/portfolio2.0/blob/main/src/component/Skills/Skills.jsx): `src/component/Skills/Skills.jsx`
- [Site footer](https://github.com/alialhamawy/portfolio2.0/blob/main/src/component/Footer/Footer.jsx): `src/component/Footer/Footer.jsx`
- [Scroll to top](https://github.com/alialhamawy/portfolio2.0/blob/main/src/GoUp/GoUp.jsx): `src/GoUp/GoUp.jsx`

### Project catalog

- [Project carousel](https://github.com/alialhamawy/portfolio2.0/blob/main/src/component/Landing-Projects/LandingProject.jsx): `src/component/Landing-Projects/LandingProject.jsx`
- [Project listing](https://github.com/alialhamawy/portfolio2.0/blob/main/src/component/Projects/Projects.jsx): `src/component/Projects/Projects.jsx`
- [Project catalog data](https://github.com/alialhamawy/portfolio2.0/blob/main/src/component/Projects/myProjects.js): `src/component/Projects/myProjects.js`
- [Project detail](https://github.com/alialhamawy/portfolio2.0/blob/main/src/component/Project/Project.jsx): `src/component/Project/Project.jsx`

### Contact

- [Contact form](https://github.com/alialhamawy/portfolio2.0/blob/main/src/component/Contact/Contact.jsx): `src/component/Contact/Contact.jsx`
- **EmailJS service**

### Other components

- **Visitor**

## Connections

- Visitor → React bootstrap: opens site
- React bootstrap → App routing: renders (evidence: `src/main.jsx`)
- App routing → Navigation header: renders (evidence: `src/App.jsx`)
- App routing → Profile hero: routes home (evidence: `src/App.jsx`)
- App routing → Error boundary: renders home (evidence: `src/App.jsx`)
- App routing → Featured projects: renders home (evidence: `src/App.jsx`)
- App routing → Skills section: renders home (evidence: `src/App.jsx`)
- App routing → Site footer: renders home (evidence: `src/App.jsx`)
- App routing → Scroll to top: renders home (evidence: `src/App.jsx`)
- App routing → Project listing: routes projects (evidence: `src/App.jsx`)
- App routing → Project detail: routes details (evidence: `src/App.jsx`)
- App routing → Contact form: routes contact (evidence: `src/App.jsx`)
- App routing → Vercel analytics: renders (evidence: `src/App.jsx`)
- Navigation header → App routing: navigates routes (evidence: `src/component/Header/Header.jsx`)
- Project listing → Project catalog data: reads projects (evidence: `src/component/Projects/Projects.jsx`)
- Featured projects → Project catalog data: reads projects (evidence: `src/component/Suggested-Projects/SuggestedProjects.jsx`)
- Project carousel → Project catalog data: reads projects (evidence: `src/component/Landing-Projects/LandingProject.jsx`)
- Project listing → Project detail: navigates details (evidence: `src/component/Projects/Projects.jsx`)
- Featured projects → Project detail: navigates details (evidence: `src/component/Suggested-Projects/SuggestedProjects.jsx`)
- Project carousel → Project detail: navigates details (evidence: `src/component/Landing-Projects/LandingProject.jsx`)
- Contact form → EmailJS service: sends message (evidence: `src/component/Contact/Contact.jsx`)
