# mohamed-hussain-pentester/mohamed-hussain-portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/mohamed-hussain-pentester/mohamed-hussain-portfolio
- Repository: https://github.com/mohamed-hussain-pentester/mohamed-hussain-portfolio

## Overview

This is a static cybersecurity portfolio: visitors explore the owner’s background, skills, methodology, projects, labs, write-ups, certificates, and CV, then can contact him or follow profile links. The primary interaction is browsing the portfolio, opening certificate material or the browser-based CV, and submitting the contact form to an external delivery service before viewing confirmation. The supplied JavaScript excerpt shows shared page interactions and certificate/skill controls; other page capabilities and integrations are documented in the README, but their implementation was not sampled.

Main entry points: [`contact.html`](https://github.com/mohamed-hussain-pentester/mohamed-hussain-portfolio/blob/main/contact.html) (Contact page), [`index.html`](https://github.com/mohamed-hussain-pentester/mohamed-hussain-portfolio/blob/main/index.html) (Portfolio home), [`style.css`](https://github.com/mohamed-hussain-pentester/mohamed-hussain-portfolio/blob/main/style.css) (Site styling), [`script.js`](https://github.com/mohamed-hussain-pentester/mohamed-hussain-portfolio/blob/main/script.js) (Page interactions)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_presentation["Portfolio pages"]
  node_home["Portfolio home<br/>[index.html]"]
  node_contact_page["Contact page<br/>[contact.html]"]
  node_cv_page["CV viewer<br/>[cv.html]"]
  node_confirmation["Thank-you page<br/>[thank-you.html]"]
end

subgraph group_interaction["Browser interactions"]
  node_styling["Site styling<br/>[style.css]"]
  node_interactions["Page interactions<br/>[script.js]"]
end

subgraph group_materials["Portfolio materials"]
  node_portfolio_content["Portfolio content<br/>[index.html]"]
  node_certificates["Certificates"]
  node_cv_pdf["CV PDF"]
end

subgraph group_contact["Contact workflow"]
  node_formsubmit["FormSubmit"]
  node_professional_profiles["Professional profiles"]
end

node_visitor(("Visitor"))

node_visitor -->|"browses"| node_home
node_visitor -->|"opens"| node_contact_page
node_visitor -->|"opens"| node_cv_page
node_visitor -->|"views"| node_confirmation
node_visitor -->|"follows links"| node_professional_profiles
node_home -->|"presents"| node_portfolio_content
node_interactions -->|"enhances"| node_home
node_interactions -->|"opens"| node_certificates
node_interactions -->|"filters skills"| node_portfolio_content
node_cv_page -->|"displays"| node_cv_pdf
node_contact_page -.->|"submits form"| node_formsubmit
node_formsubmit -.->|"confirms submission"| node_confirmation
node_contact_page -->|"links to"| node_professional_profiles
node_styling -.->|"styles"| node_home
node_styling -.->|"styles"| node_contact_page
node_styling -.->|"styles"| node_cv_page

click node_home "https://github.com/mohamed-hussain-pentester/mohamed-hussain-portfolio/blob/main/index.html"
click node_contact_page "https://github.com/mohamed-hussain-pentester/mohamed-hussain-portfolio/blob/main/contact.html"
click node_cv_page "https://github.com/mohamed-hussain-pentester/mohamed-hussain-portfolio/blob/main/cv.html"
click node_confirmation "https://github.com/mohamed-hussain-pentester/mohamed-hussain-portfolio/blob/main/thank-you.html"
click node_styling "https://github.com/mohamed-hussain-pentester/mohamed-hussain-portfolio/blob/main/style.css"
click node_interactions "https://github.com/mohamed-hussain-pentester/mohamed-hussain-portfolio/blob/main/script.js"
click node_portfolio_content "https://github.com/mohamed-hussain-pentester/mohamed-hussain-portfolio/blob/main/index.html"
click node_certificates "https://github.com/mohamed-hussain-pentester/mohamed-hussain-portfolio/tree/main/assets/certificates"
click node_cv_pdf "https://github.com/mohamed-hussain-pentester/mohamed-hussain-portfolio/blob/main/assets/certificates/MOHAMED_HUSSAIN_CV.pdf"

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_contact_page,node_cv_page,node_confirmation toneBlue
class node_styling,node_interactions toneAmber
class node_portfolio_content,node_certificates,node_cv_pdf toneMint
class node_formsubmit,node_professional_profiles toneRose
class node_visitor toneIndigo
```

## Components

### Portfolio pages

- [Portfolio home](https://github.com/mohamed-hussain-pentester/mohamed-hussain-portfolio/blob/main/index.html): `index.html`
- [Contact page](https://github.com/mohamed-hussain-pentester/mohamed-hussain-portfolio/blob/main/contact.html): `contact.html`
- [CV viewer](https://github.com/mohamed-hussain-pentester/mohamed-hussain-portfolio/blob/main/cv.html): `cv.html`
- [Thank-you page](https://github.com/mohamed-hussain-pentester/mohamed-hussain-portfolio/blob/main/thank-you.html): `thank-you.html`

### Browser interactions

- [Site styling](https://github.com/mohamed-hussain-pentester/mohamed-hussain-portfolio/blob/main/style.css): `style.css`
- [Page interactions](https://github.com/mohamed-hussain-pentester/mohamed-hussain-portfolio/blob/main/script.js): `script.js`

### Portfolio materials

- [Portfolio content](https://github.com/mohamed-hussain-pentester/mohamed-hussain-portfolio/blob/main/index.html): `index.html`
- [Certificates](https://github.com/mohamed-hussain-pentester/mohamed-hussain-portfolio/tree/main/assets/certificates): `assets/certificates`
- [CV PDF](https://github.com/mohamed-hussain-pentester/mohamed-hussain-portfolio/blob/main/assets/certificates/MOHAMED_HUSSAIN_CV.pdf): `assets/certificates/MOHAMED_HUSSAIN_CV.pdf`

### Contact workflow

- **FormSubmit**
- **Professional profiles**

### Other components

- **Visitor**

## Connections

- Visitor → Portfolio home: browses (evidence: `README.md`)
- Visitor → Contact page: opens (evidence: `README.md`)
- Visitor → CV viewer: opens (evidence: `README.md`)
- Visitor → Thank-you page: views (evidence: `README.md`)
- Visitor → Professional profiles: follows links (evidence: `README.md`)
- Portfolio home → Portfolio content: presents (evidence: `README.md`)
- Page interactions → Portfolio home: enhances (evidence: `script.js`)
- Page interactions → Certificates: opens (evidence: `script.js`)
- Page interactions → Portfolio content: filters skills (evidence: `script.js`)
- CV viewer → CV PDF: displays (evidence: `README.md`)
- Contact page → FormSubmit: submits form (evidence: `README.md`)
- FormSubmit → Thank-you page: confirms submission (evidence: `README.md`)
- Contact page → Professional profiles: links to (evidence: `README.md`)
- Site styling → Portfolio home: styles
- Site styling → Contact page: styles
- Site styling → CV viewer: styles
