# seifmohsen324/my-portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/seifmohsen324/my-portfolio
- Repository: https://github.com/seifmohsen324/my-portfolio

## Overview

This is Seif Mohsen’s single-page engineering portfolio. A visitor enters the home page, which composes the visual background, navigation, and profile sections; those sections present projects, experience, skills, certifications, and contact options. Portfolio content is centralized in a data module, while the contact form sends submissions through EmailJS. The graph emphasizes documented composition and data use; source excerpts are incomplete, so it omits unshown behavior and does not infer links between sibling sections.

Main entry points: [`app/page.tsx`](https://github.com/seifmohsen324/my-portfolio/blob/main/app/page.tsx) (Home page), [`lib/portfolio-data.ts`](https://github.com/seifmohsen324/my-portfolio/blob/main/lib/portfolio-data.ts) (Portfolio data), [`components/contact-section.tsx`](https://github.com/seifmohsen324/my-portfolio/blob/main/components/contact-section.tsx) (Contact form), [`components/navigation.tsx`](https://github.com/seifmohsen324/my-portfolio/blob/main/components/navigation.tsx) (Navigation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Page composition"]
  node_home["Home page<br/>[page.tsx]"]
  node_particle["Particle background<br/>[particle-field.tsx]"]
  node_navigation["Navigation<br/>[navigation.tsx]"]
end

subgraph group_showcase["Portfolio showcase"]
  node_hero["Hero<br/>[hero-section.tsx]"]
  node_tech["Technology stack<br/>[tech-stack.tsx]"]
  node_about["About<br/>[about-section.tsx]"]
  node_projects["Projects"]
  node_experience["Experience"]
  node_skills["Skills<br/>[skills-section.tsx]"]
  node_certifications["Certifications"]
  node_footer["Footer<br/>[footer.tsx]"]
  node_data["Portfolio data<br/>[portfolio-data.ts]"]
end

subgraph group_contact["Contact flow"]
  node_contact_form["Contact form"]
  node_emailjs["EmailJS"]
end

subgraph group_ui["UI components"]
  node_button["Button<br/>[button.tsx]"]
  node_input["Input<br/>[input.tsx]"]
  node_textarea["Textarea<br/>[textarea.tsx]"]
  node_label["Label<br/>[label.tsx]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_home
node_home -->|"renders"| node_particle
node_home -->|"renders"| node_navigation
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_tech
node_home -->|"renders"| node_about
node_home -->|"renders"| node_projects
node_home -->|"renders"| node_experience
node_home -->|"renders"| node_skills
node_home -->|"renders"| node_certifications
node_home -->|"renders"| node_contact_form
node_home -->|"renders"| node_footer
node_navigation -->|"reads"| node_data
node_hero -->|"reads"| node_data
node_about -->|"reads"| node_data
node_projects -->|"reads"| node_data
node_experience -->|"reads"| node_data
node_skills -->|"reads"| node_data
node_certifications -->|"reads"| node_data
node_footer -->|"reads"| node_data
node_contact_form -->|"reads"| node_data
node_contact_form -->|"uses"| node_button
node_contact_form -->|"uses"| node_input
node_contact_form -->|"uses"| node_textarea
node_contact_form -->|"uses"| node_label
node_contact_form -->|"sends message"| node_emailjs

click node_home "https://github.com/seifmohsen324/my-portfolio/blob/main/app/page.tsx"
click node_particle "https://github.com/seifmohsen324/my-portfolio/blob/main/components/particle-field.tsx"
click node_navigation "https://github.com/seifmohsen324/my-portfolio/blob/main/components/navigation.tsx"
click node_hero "https://github.com/seifmohsen324/my-portfolio/blob/main/components/hero-section.tsx"
click node_tech "https://github.com/seifmohsen324/my-portfolio/blob/main/components/tech-stack.tsx"
click node_about "https://github.com/seifmohsen324/my-portfolio/blob/main/components/about-section.tsx"
click node_projects "https://github.com/seifmohsen324/my-portfolio/blob/main/components/projects-section.tsx"
click node_experience "https://github.com/seifmohsen324/my-portfolio/blob/main/components/experience-section.tsx"
click node_skills "https://github.com/seifmohsen324/my-portfolio/blob/main/components/skills-section.tsx"
click node_certifications "https://github.com/seifmohsen324/my-portfolio/blob/main/components/certifications-section.tsx"
click node_footer "https://github.com/seifmohsen324/my-portfolio/blob/main/components/footer.tsx"
click node_data "https://github.com/seifmohsen324/my-portfolio/blob/main/lib/portfolio-data.ts"
click node_contact_form "https://github.com/seifmohsen324/my-portfolio/blob/main/components/contact-section.tsx"
click node_button "https://github.com/seifmohsen324/my-portfolio/blob/main/components/ui/button.tsx"
click node_input "https://github.com/seifmohsen324/my-portfolio/blob/main/components/ui/input.tsx"
click node_textarea "https://github.com/seifmohsen324/my-portfolio/blob/main/components/ui/textarea.tsx"
click node_label "https://github.com/seifmohsen324/my-portfolio/blob/main/components/ui/label.tsx"

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,node_particle,node_navigation toneBlue
class node_hero,node_tech,node_about,node_projects,node_experience,node_skills,node_certifications,node_footer,node_data toneAmber
class node_contact_form,node_emailjs toneMint
class node_button,node_input,node_textarea,node_label toneRose
class node_visitor toneIndigo
```

## Components

### Page composition

- [Home page](https://github.com/seifmohsen324/my-portfolio/blob/main/app/page.tsx): `app/page.tsx`
- [Particle background](https://github.com/seifmohsen324/my-portfolio/blob/main/components/particle-field.tsx): `components/particle-field.tsx`
- [Navigation](https://github.com/seifmohsen324/my-portfolio/blob/main/components/navigation.tsx): `components/navigation.tsx`

### Portfolio showcase

- [Hero](https://github.com/seifmohsen324/my-portfolio/blob/main/components/hero-section.tsx): `components/hero-section.tsx`
- [Technology stack](https://github.com/seifmohsen324/my-portfolio/blob/main/components/tech-stack.tsx): `components/tech-stack.tsx`
- [About](https://github.com/seifmohsen324/my-portfolio/blob/main/components/about-section.tsx): `components/about-section.tsx`
- [Projects](https://github.com/seifmohsen324/my-portfolio/blob/main/components/projects-section.tsx): `components/projects-section.tsx`
- [Experience](https://github.com/seifmohsen324/my-portfolio/blob/main/components/experience-section.tsx): `components/experience-section.tsx`
- [Skills](https://github.com/seifmohsen324/my-portfolio/blob/main/components/skills-section.tsx): `components/skills-section.tsx`
- [Certifications](https://github.com/seifmohsen324/my-portfolio/blob/main/components/certifications-section.tsx): `components/certifications-section.tsx`
- [Footer](https://github.com/seifmohsen324/my-portfolio/blob/main/components/footer.tsx): `components/footer.tsx`
- [Portfolio data](https://github.com/seifmohsen324/my-portfolio/blob/main/lib/portfolio-data.ts): `lib/portfolio-data.ts`

### Contact flow

- [Contact form](https://github.com/seifmohsen324/my-portfolio/blob/main/components/contact-section.tsx): `components/contact-section.tsx`
- **EmailJS**

### UI components

- [Button](https://github.com/seifmohsen324/my-portfolio/blob/main/components/ui/button.tsx): `components/ui/button.tsx`
- [Input](https://github.com/seifmohsen324/my-portfolio/blob/main/components/ui/input.tsx): `components/ui/input.tsx`
- [Textarea](https://github.com/seifmohsen324/my-portfolio/blob/main/components/ui/textarea.tsx): `components/ui/textarea.tsx`
- [Label](https://github.com/seifmohsen324/my-portfolio/blob/main/components/ui/label.tsx): `components/ui/label.tsx`

### Other components

- **Visitor**

## Connections

- Visitor → Home page: opens (evidence: `README.md`)
- Home page → Particle background: renders (evidence: `app/page.tsx`)
- Home page → Navigation: renders (evidence: `app/page.tsx`)
- Home page → Hero: renders (evidence: `app/page.tsx`)
- Home page → Technology stack: renders (evidence: `app/page.tsx`)
- Home page → About: renders (evidence: `app/page.tsx`)
- Home page → Projects: renders (evidence: `app/page.tsx`)
- Home page → Experience: renders (evidence: `app/page.tsx`)
- Home page → Skills: renders (evidence: `app/page.tsx`)
- Home page → Certifications: renders (evidence: `app/page.tsx`)
- Home page → Contact form: renders (evidence: `app/page.tsx`)
- Home page → Footer: renders (evidence: `app/page.tsx`)
- Navigation → Portfolio data: reads (evidence: `components/navigation.tsx`)
- Hero → Portfolio data: reads (evidence: `components/hero-section.tsx`)
- About → Portfolio data: reads (evidence: `components/about-section.tsx`)
- Projects → Portfolio data: reads (evidence: `components/projects-section.tsx`)
- Experience → Portfolio data: reads (evidence: `components/experience-section.tsx`)
- Skills → Portfolio data: reads (evidence: `components/skills-section.tsx`)
- Certifications → Portfolio data: reads (evidence: `components/certifications-section.tsx`)
- Footer → Portfolio data: reads (evidence: `components/footer.tsx`)
- Contact form → Portfolio data: reads (evidence: `components/contact-section.tsx`)
- Contact form → Button: uses (evidence: `components/contact-section.tsx`)
- Contact form → Input: uses (evidence: `components/contact-section.tsx`)
- Contact form → Textarea: uses (evidence: `components/contact-section.tsx`)
- Contact form → Label: uses (evidence: `components/contact-section.tsx`)
- Contact form → EmailJS: sends message (evidence: `components/contact-section.tsx`)
