# taha-salesdev/taha.sales architecture

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

- Interactive diagram: https://gitdiagram.com/taha-salesdev/taha.sales
- Repository: https://github.com/taha-salesdev/taha.sales

## Overview

This is a static portfolio and marketing site for a freelance sales-development and virtual-assistance professional. Visitors can explore the portfolio, services, and blog; the clearest interactive workflow is submitting a contact inquiry, which the browser sends through CAPTCHA verification before forwarding it to a form service and showing a confirmation page. The source excerpts support the contact flow and several shared browser interactions. Most HTML pages were not sampled, so their internal links and page-specific behavior are not inferred.

Main entry points: [`js/script.js`](https://github.com/taha-salesdev/taha.sales/blob/main/js/script.js) (Contact form handling), [`contact.html`](https://github.com/taha-salesdev/taha.sales/blob/main/contact.html) (Contact page), [`api/contact.js`](https://github.com/taha-salesdev/taha.sales/blob/main/api/contact.js) (CAPTCHA verification API), [`thankyou.html`](https://github.com/taha-salesdev/taha.sales/blob/main/thankyou.html) (Confirmation page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_content["Portfolio content"]
  node_home["Home page<br/>[index.html]"]
  node_portfolio["Portfolio<br/>[portfolio.html]"]
  node_experience["Experience and resume<br/>[experience.html]"]
  node_about["About and certifications<br/>[about.html]"]
  node_blog["Blog<br/>[index.html]"]
end

subgraph group_services["Service offerings"]
  node_service_catalog["Services catalog<br/>[services.html]"]
  node_service_pages["Service detail pages"]
end

subgraph group_contact["Contact workflow"]
  node_contact_page["Contact page<br/>[contact.html]"]
  node_contact_script["Contact form handling<br/>[script.js]"]
  node_captcha_api["CAPTCHA verification API<br/>[contact.js]"]
  node_turnstile["Cloudflare Turnstile"]
  node_formsubmit["FormSubmit service"]
  node_thankyou["Confirmation page<br/>[thankyou.html]"]
end

subgraph group_browser["Browser interactions"]
  node_shared_ui["Shared page interactions<br/>[script.js]"]
end

node_visitor(("Site visitor"))

node_visitor -.->|"opens"| node_contact_page
node_contact_page -.->|"uses form handling"| node_contact_script
node_contact_script -->|"posts token"| node_captcha_api
node_captcha_api -->|"verifies token"| node_turnstile
node_contact_script -->|"submits inquiry"| node_formsubmit
node_contact_script -->|"redirects on success"| node_thankyou
node_visitor -->|"triggers interactions"| node_shared_ui

click node_home "https://github.com/taha-salesdev/taha.sales/blob/main/index.html"
click node_portfolio "https://github.com/taha-salesdev/taha.sales/blob/main/portfolio.html"
click node_experience "https://github.com/taha-salesdev/taha.sales/blob/main/experience.html"
click node_about "https://github.com/taha-salesdev/taha.sales/blob/main/about.html"
click node_blog "https://github.com/taha-salesdev/taha.sales/blob/main/blog/index.html"
click node_service_catalog "https://github.com/taha-salesdev/taha.sales/blob/main/services.html"
click node_service_pages "https://github.com/taha-salesdev/taha.sales/tree/main/services"
click node_contact_page "https://github.com/taha-salesdev/taha.sales/blob/main/contact.html"
click node_contact_script "https://github.com/taha-salesdev/taha.sales/blob/main/js/script.js"
click node_captcha_api "https://github.com/taha-salesdev/taha.sales/blob/main/api/contact.js"
click node_thankyou "https://github.com/taha-salesdev/taha.sales/blob/main/thankyou.html"
click node_shared_ui "https://github.com/taha-salesdev/taha.sales/blob/main/js/script.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_home,node_portfolio,node_experience,node_about,node_blog toneBlue
class node_service_catalog,node_service_pages toneAmber
class node_contact_page,node_contact_script,node_captcha_api,node_turnstile,node_formsubmit,node_thankyou toneMint
class node_shared_ui toneRose
class node_visitor toneIndigo
```

## Components

### Portfolio content

- [Home page](https://github.com/taha-salesdev/taha.sales/blob/main/index.html): `index.html`
- [Portfolio](https://github.com/taha-salesdev/taha.sales/blob/main/portfolio.html): `portfolio.html`
- [Experience and resume](https://github.com/taha-salesdev/taha.sales/blob/main/experience.html): `experience.html`
- [About and certifications](https://github.com/taha-salesdev/taha.sales/blob/main/about.html): `about.html`
- [Blog](https://github.com/taha-salesdev/taha.sales/blob/main/blog/index.html): `blog/index.html`

### Service offerings

- [Services catalog](https://github.com/taha-salesdev/taha.sales/blob/main/services.html): `services.html`
- [Service detail pages](https://github.com/taha-salesdev/taha.sales/tree/main/services): `services`

### Contact workflow

- [Contact page](https://github.com/taha-salesdev/taha.sales/blob/main/contact.html): `contact.html`
- [Contact form handling](https://github.com/taha-salesdev/taha.sales/blob/main/js/script.js): `js/script.js`
- [CAPTCHA verification API](https://github.com/taha-salesdev/taha.sales/blob/main/api/contact.js): `api/contact.js`
- **Cloudflare Turnstile**
- **FormSubmit service**
- [Confirmation page](https://github.com/taha-salesdev/taha.sales/blob/main/thankyou.html): `thankyou.html`

### Browser interactions

- [Shared page interactions](https://github.com/taha-salesdev/taha.sales/blob/main/js/script.js): `js/script.js`

### Other components

- **Site visitor**

## Connections

- Site visitor → Contact page: opens
- Contact page → Contact form handling: uses form handling
- Contact form handling → CAPTCHA verification API: posts token (evidence: `js/script.js`)
- CAPTCHA verification API → Cloudflare Turnstile: verifies token (evidence: `api/contact.js`)
- Contact form handling → FormSubmit service: submits inquiry (evidence: `js/script.js`)
- Contact form handling → Confirmation page: redirects on success (evidence: `js/script.js`)
- Site visitor → Shared page interactions: triggers interactions (evidence: `js/script.js`)
