# blackpearl97410/sitepavielalexandre architecture

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

- Interactive diagram: https://gitdiagram.com/blackpearl97410/sitepavielalexandre
- Repository: https://github.com/blackpearl97410/sitepavielalexandre

## Overview

This is a static portfolio and marketing site for an AI trainer and consultant. The visitor journey starts at the main page, explores training offers, demonstrations and tools, then can review legal information or use the contact form, which prepares an email rather than sending one. The README documents interactive offer and tool carousels, a lazy-loaded 3D view, and YouTube consent. The supplied excerpts do not include the page or interaction source, so connections to individual scripts are marked unverified; the graph excludes build and delivery machinery.

Main entry points: [`index.html`](https://github.com/blackpearl97410/sitepavielalexandre/blob/main/index.html) (Main page), [`assets/scripts/learning-scene.js`](https://github.com/blackpearl97410/sitepavielalexandre/blob/main/assets/scripts/learning-scene.js) (Learning scene), [`assets/scripts/privacy.js`](https://github.com/blackpearl97410/sitepavielalexandre/blob/main/assets/scripts/privacy.js) (Privacy controls), [`assets/scripts/offers-scroll.js`](https://github.com/blackpearl97410/sitepavielalexandre/blob/main/assets/scripts/offers-scroll.js) (Offer carousel)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Site and content"]
  node_main["Main page<br/>[index.html]"]
end

subgraph group_interactive["Interactive experiences"]
  node_offers["Offer carousel<br/>[offers-scroll.js]"]
  node_tools["Tools rail<br/>[tools-rail.js]"]
  node_scene["Learning scene<br/>[learning-scene.js]"]
  node_renderer["3D renderer<br/>[learning-three.mjs]"]
  node_service_visuals["Service visuals<br/>[service-visuals.js]"]
  node_signature_motion["Signature motion"]
end

subgraph group_privacy["Privacy and legal"]
  node_privacy_controls["Privacy controls<br/>[privacy.js]"]
  node_legal_info["Legal information"]
  node_terms_sales["Sales terms<br/>[cgv.html]"]
  node_terms_use["Use terms<br/>[cgu.html]"]
  node_privacy_page["Privacy notice"]
  node_cookies_page["Cookie choices<br/>[cookies.html]"]
end

node_visitor(("Visitor"))
node_youtube["YouTube"]
node_mail_client["Visitor mail app"]

node_visitor -->|"opens"| node_main
node_main -.->|"uses"| node_offers
node_main -.->|"uses"| node_tools
node_main -.->|"uses"| node_scene
node_scene -.->|"loads"| node_renderer
node_main -.->|"uses"| node_service_visuals
node_main -.->|"uses"| node_signature_motion
node_main -.->|"uses"| node_privacy_controls
node_privacy_controls -->|"loads after consent"| node_youtube
node_main -->|"prepares email"| node_mail_client
node_visitor -.->|"reviews"| node_legal_info
node_visitor -.->|"reviews"| node_terms_sales
node_visitor -.->|"reviews"| node_terms_use
node_visitor -.->|"reviews"| node_privacy_page
node_visitor -->|"changes choices"| node_cookies_page

click node_main "https://github.com/blackpearl97410/sitepavielalexandre/blob/main/index.html"
click node_offers "https://github.com/blackpearl97410/sitepavielalexandre/blob/main/assets/scripts/offers-scroll.js"
click node_tools "https://github.com/blackpearl97410/sitepavielalexandre/blob/main/assets/scripts/tools-rail.js"
click node_scene "https://github.com/blackpearl97410/sitepavielalexandre/blob/main/assets/scripts/learning-scene.js"
click node_renderer "https://github.com/blackpearl97410/sitepavielalexandre/blob/main/assets/scripts/learning-three.mjs"
click node_service_visuals "https://github.com/blackpearl97410/sitepavielalexandre/blob/main/assets/scripts/service-visuals.js"
click node_signature_motion "https://github.com/blackpearl97410/sitepavielalexandre/blob/main/assets/scripts/signature-motion.js"
click node_privacy_controls "https://github.com/blackpearl97410/sitepavielalexandre/blob/main/assets/scripts/privacy.js"
click node_legal_info "https://github.com/blackpearl97410/sitepavielalexandre/blob/main/mentions-legales.html"
click node_terms_sales "https://github.com/blackpearl97410/sitepavielalexandre/blob/main/cgv.html"
click node_terms_use "https://github.com/blackpearl97410/sitepavielalexandre/blob/main/cgu.html"
click node_privacy_page "https://github.com/blackpearl97410/sitepavielalexandre/blob/main/confidentialite.html"
click node_cookies_page "https://github.com/blackpearl97410/sitepavielalexandre/blob/main/cookies.html"

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_main toneBlue
class node_offers,node_tools,node_scene,node_renderer,node_service_visuals,node_signature_motion toneAmber
class node_privacy_controls,node_legal_info,node_terms_sales,node_terms_use,node_privacy_page,node_cookies_page toneMint
class node_visitor,node_youtube,node_mail_client toneIndigo
```

## Components

### Site and content

- [Main page](https://github.com/blackpearl97410/sitepavielalexandre/blob/main/index.html): `index.html`

### Interactive experiences

- [Offer carousel](https://github.com/blackpearl97410/sitepavielalexandre/blob/main/assets/scripts/offers-scroll.js): `assets/scripts/offers-scroll.js`
- [Tools rail](https://github.com/blackpearl97410/sitepavielalexandre/blob/main/assets/scripts/tools-rail.js): `assets/scripts/tools-rail.js`
- [Learning scene](https://github.com/blackpearl97410/sitepavielalexandre/blob/main/assets/scripts/learning-scene.js): `assets/scripts/learning-scene.js`
- [3D renderer](https://github.com/blackpearl97410/sitepavielalexandre/blob/main/assets/scripts/learning-three.mjs): `assets/scripts/learning-three.mjs`
- [Service visuals](https://github.com/blackpearl97410/sitepavielalexandre/blob/main/assets/scripts/service-visuals.js): `assets/scripts/service-visuals.js`
- [Signature motion](https://github.com/blackpearl97410/sitepavielalexandre/blob/main/assets/scripts/signature-motion.js): `assets/scripts/signature-motion.js`

### Privacy and legal

- [Privacy controls](https://github.com/blackpearl97410/sitepavielalexandre/blob/main/assets/scripts/privacy.js): `assets/scripts/privacy.js`
- [Legal information](https://github.com/blackpearl97410/sitepavielalexandre/blob/main/mentions-legales.html): `mentions-legales.html`
- [Sales terms](https://github.com/blackpearl97410/sitepavielalexandre/blob/main/cgv.html): `cgv.html`
- [Use terms](https://github.com/blackpearl97410/sitepavielalexandre/blob/main/cgu.html): `cgu.html`
- [Privacy notice](https://github.com/blackpearl97410/sitepavielalexandre/blob/main/confidentialite.html): `confidentialite.html`
- [Cookie choices](https://github.com/blackpearl97410/sitepavielalexandre/blob/main/cookies.html): `cookies.html`

### Other components

- **Visitor**
- **YouTube**
- **Visitor mail app**

## Connections

- Visitor → Main page: opens (evidence: `README.md`)
- Main page → Offer carousel: uses
- Main page → Tools rail: uses
- Main page → Learning scene: uses
- Learning scene → 3D renderer: loads
- Main page → Service visuals: uses
- Main page → Signature motion: uses
- Main page → Privacy controls: uses
- Privacy controls → YouTube: loads after consent (evidence: `README.md`)
- Main page → Visitor mail app: prepares email (evidence: `README.md`)
- Visitor → Legal information: reviews
- Visitor → Sales terms: reviews
- Visitor → Use terms: reviews
- Visitor → Privacy notice: reviews
- Visitor → Cookie choices: changes choices (evidence: `README.md`)
