# sfcode85/sf_web_site architecture

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

- Interactive diagram: https://gitdiagram.com/sfcode85/sf_web_site
- Repository: https://github.com/sfcode85/sf_web_site

## Overview

This is a static French-language activities and events website for Spirit of Fire, with pages for activities, the team, photo galleries, contact, and performance requests. Visitors navigate the site and view media; on the team and gallery pages they can open image lightboxes. The shared client script also handles responsive navigation, media fallbacks, scroll-triggered effects, and consent-gated Google Analytics. The README is empty, so page-specific capabilities are inferred from the file tree and the sampled script; unsampled page markup and behavior are not verified.

Main entry points: [`site.js`](https://github.com/sfcode85/sf_web_site/blob/main/site.js) (Shared browser behavior), [`notre-equipe.html`](https://github.com/sfcode85/sf_web_site/blob/main/notre-equipe.html) (Team), [`galerie.html`](https://github.com/sfcode85/sf_web_site/blob/main/galerie.html) (Gallery), [`index.html`](https://github.com/sfcode85/sf_web_site/blob/main/index.html) (Home)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_pages["Visitor pages"]
  node_home["Home<br/>[index.html]"]
  node_activities["Activities<br/>[nos-activites.html]"]
  node_team["Team<br/>[notre-equipe.html]"]
  node_gallery["Gallery<br/>[galerie.html]"]
  node_contact["Contact<br/>[contact.html]"]
  node_requests["Performance requests"]
  node_legal["Legal notices"]
end

subgraph group_interaction["Shared interactions"]
  node_sitejs["Shared browser behavior<br/>[site.js]"]
  node_teamlightbox["Team lightbox<br/>[site.js]"]
  node_gallerylightbox["Gallery lightbox<br/>[site.js]"]
  node_cookies["Consent controls<br/>[site.js]"]
  node_mediafallback["Media fallbacks<br/>[site.js]"]
  node_scrollmedia["Scroll media effects<br/>[site.js]"]
end

subgraph group_media["Media assets"]
  node_teamassets["Team imagery"]
  node_galleryassets["Gallery imagery"]
  node_activityassets["Activity videos"]
  node_homevideo["Presentation video"]
end

subgraph group_measurement["Analytics"]
  node_analytics["Google Analytics"]
end

node_visitor(("Website visitor"))

node_visitor -->|"opens"| node_home
node_visitor -->|"opens"| node_activities
node_visitor -->|"opens"| node_team
node_visitor -->|"opens"| node_gallery
node_visitor -->|"opens"| node_contact
node_visitor -->|"opens"| node_requests
node_visitor -->|"opens"| node_legal
node_team -->|"opens images"| node_teamlightbox
node_gallery -->|"opens groups"| node_gallerylightbox
node_sitejs -->|"creates"| node_cookies
node_sitejs -->|"sets up"| node_mediafallback
node_sitejs -->|"observes"| node_scrollmedia
node_cookies -->|"loads on consent"| node_analytics
node_team -.->|"uses"| node_teamassets
node_gallery -.->|"uses"| node_galleryassets
node_activities -.->|"uses"| node_activityassets
node_home -.->|"uses"| node_homevideo

click node_home "https://github.com/sfcode85/sf_web_site/blob/main/index.html"
click node_activities "https://github.com/sfcode85/sf_web_site/blob/main/nos-activites.html"
click node_team "https://github.com/sfcode85/sf_web_site/blob/main/notre-equipe.html"
click node_gallery "https://github.com/sfcode85/sf_web_site/blob/main/galerie.html"
click node_contact "https://github.com/sfcode85/sf_web_site/blob/main/contact.html"
click node_requests "https://github.com/sfcode85/sf_web_site/blob/main/demande-prestations.html"
click node_legal "https://github.com/sfcode85/sf_web_site/blob/main/legals_mentions.html"
click node_sitejs "https://github.com/sfcode85/sf_web_site/blob/main/site.js"
click node_teamlightbox "https://github.com/sfcode85/sf_web_site/blob/main/site.js"
click node_gallerylightbox "https://github.com/sfcode85/sf_web_site/blob/main/site.js"
click node_cookies "https://github.com/sfcode85/sf_web_site/blob/main/site.js"
click node_mediafallback "https://github.com/sfcode85/sf_web_site/blob/main/site.js"
click node_scrollmedia "https://github.com/sfcode85/sf_web_site/blob/main/site.js"
click node_teamassets "https://github.com/sfcode85/sf_web_site/tree/main/assets_equipe_opt"
click node_galleryassets "https://github.com/sfcode85/sf_web_site/tree/main/assets_galerie_opt"
click node_activityassets "https://github.com/sfcode85/sf_web_site/tree/main/assets_activites"
click node_homevideo "https://github.com/sfcode85/sf_web_site/blob/main/assets_home/presentation_spirit_of_fire.mp4"

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_activities,node_team,node_gallery,node_contact,node_requests,node_legal toneBlue
class node_sitejs,node_teamlightbox,node_gallerylightbox,node_cookies,node_mediafallback,node_scrollmedia toneAmber
class node_teamassets,node_galleryassets,node_activityassets,node_homevideo toneMint
class node_analytics toneRose
class node_visitor toneIndigo
```

## Components

### Visitor pages

- [Home](https://github.com/sfcode85/sf_web_site/blob/main/index.html): `index.html`
- [Activities](https://github.com/sfcode85/sf_web_site/blob/main/nos-activites.html): `nos-activites.html`
- [Team](https://github.com/sfcode85/sf_web_site/blob/main/notre-equipe.html): `notre-equipe.html`
- [Gallery](https://github.com/sfcode85/sf_web_site/blob/main/galerie.html): `galerie.html`
- [Contact](https://github.com/sfcode85/sf_web_site/blob/main/contact.html): `contact.html`
- [Performance requests](https://github.com/sfcode85/sf_web_site/blob/main/demande-prestations.html): `demande-prestations.html`
- [Legal notices](https://github.com/sfcode85/sf_web_site/blob/main/legals_mentions.html): `legals_mentions.html`

### Shared interactions

- [Shared browser behavior](https://github.com/sfcode85/sf_web_site/blob/main/site.js): `site.js`
- [Team lightbox](https://github.com/sfcode85/sf_web_site/blob/main/site.js): `site.js`
- [Gallery lightbox](https://github.com/sfcode85/sf_web_site/blob/main/site.js): `site.js`
- [Consent controls](https://github.com/sfcode85/sf_web_site/blob/main/site.js): `site.js`
- [Media fallbacks](https://github.com/sfcode85/sf_web_site/blob/main/site.js): `site.js`
- [Scroll media effects](https://github.com/sfcode85/sf_web_site/blob/main/site.js): `site.js`

### Media assets

- [Team imagery](https://github.com/sfcode85/sf_web_site/tree/main/assets_equipe_opt): `assets_equipe_opt`
- [Gallery imagery](https://github.com/sfcode85/sf_web_site/tree/main/assets_galerie_opt): `assets_galerie_opt`
- [Activity videos](https://github.com/sfcode85/sf_web_site/tree/main/assets_activites): `assets_activites`
- [Presentation video](https://github.com/sfcode85/sf_web_site/blob/main/assets_home/presentation_spirit_of_fire.mp4): `assets_home/presentation_spirit_of_fire.mp4`

### Analytics

- **Google Analytics**

### Other components

- **Website visitor**

## Connections

- Website visitor → Home: opens
- Website visitor → Activities: opens
- Website visitor → Team: opens
- Website visitor → Gallery: opens
- Website visitor → Contact: opens
- Website visitor → Performance requests: opens
- Website visitor → Legal notices: opens
- Team → Team lightbox: opens images (evidence: `site.js`)
- Gallery → Gallery lightbox: opens groups (evidence: `site.js`)
- Shared browser behavior → Consent controls: creates (evidence: `site.js`)
- Shared browser behavior → Media fallbacks: sets up (evidence: `site.js`)
- Shared browser behavior → Scroll media effects: observes (evidence: `site.js`)
- Consent controls → Google Analytics: loads on consent (evidence: `site.js`)
- Team → Team imagery: uses
- Gallery → Gallery imagery: uses
- Activities → Activity videos: uses
- Home → Presentation video: uses
