# xaminezh/criot-club-website architecture

> Architecture diagram of the GitHub repository xaminezh/criot-club-website, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-05-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/xaminezh/criot-club-website
- Repository: https://github.com/xaminezh/criot-club-website

## Overview

##### Project type and purpose
- From the README (“site web de CRiot FSBM… centraliser les informations… mettre en valeur ses projets”) and the file tree, this is a purely static, multi‐page website for a robotics & IoT club.
- There is no dynamic backend, only HTML files, CSS stylesheets, media assets (images, video), and a PPTX for reference.

##### File structure
- Top-level HTML entry points: index.html, about.html (2about.html), members.html, activities.html, join.html, thanks.html.
- CSS files scoped per page (about.css, members.css, etc.) plus a few global styles (index.css, activities.css).
- A directory “activities  formations/events and formations” holding sub-pages, CSS, videos (video.mp4).
- A “pics” directory for images and a PPTX slide deck under website.pptx.
- No server-side code, build scripts, or deployment manifests – it’s hand-crafted static content.

##### Key components to surface
a. Client (web browser)
b. Hosting environment (e.g., static web server or CDN)
c. Static assets:
- HTML pages grouped by section (About, Members, Activities, Join, Thanks)
- CSS stylesheets (per-page and global)
- Media files (images in /pics, video.mp4)
- Presentation (website.pptx)
d. Optional services (if used): DNS provider, SSL/TLS termination, analytics (e.g., Google Analytics), CDN endpoints

##### Relationships & data flows
- Browser issues HTTP GET requests to the hosting/CDN for each HTML file.
- Each HTML references one or more CSS files and media assets; the browser fetches these in parallel.
- Assets are served directly from the static file server or CDN.
- Navigation between pages is client-driven via standard hyperlinks.

##### Architectural patterns & design principles
- “Static-site” pattern: no server-side rendering, purely client-side consumption of pre‐built assets.
- Clear separation of content (HTML), presentation (CSS), and static media (images/video).
- File naming and directory conventions reflect site sections and sub-sections.

##### Essential architecture
- No need to over-complicate with microservices or databases – this is a classic static site.
- Flow: Browser ↔ Static Server.
- Files by purpose to reflect the directory structure.

## Diagram (Mermaid)

```mermaid
flowchart TB
    %% Client
    Browser["Browser"]:::client

    %% Optional services
    DNS["DNS Provider / CDN Endpoint"]:::optional
    Analytics["Analytics Service"]:::optional

    %% Hosting
    Host["Static Web Host / CDN"]:::host

    %% Assets grouping
    subgraph "Assets on Host"
        direction TB
        subgraph "HTML Pages" 
            direction TB
            Index["index.html"]:::asset
            About["2about.html"]:::asset
            Members["3members.html"]:::asset
            Activities["4activities.html"]:::asset
            Join["5join.html"]:::asset
            Thanks["6thanks.html"]:::asset
            Formation["formation.html"]:::asset
            Evenement["évenement.html"]:::asset
        end
        subgraph "CSS Stylesheets"
            direction TB
            IndexCSS["index.css"]:::asset
            AboutCSS["about.css"]:::asset
            MembersCSS["members.css"]:::asset
            ActivitiesCSS["activities.css"]:::asset
            JoinCSS["join.css"]:::asset
            ThanksCSS["thanks.css"]:::asset
            FormationCSS["foormation.css"]:::asset
            EvenementCSS["événement.css"]:::asset
        end
        subgraph "Media Assets"
            direction TB
            Pics["/pics/"]:::asset
            Video["video.mp4"]:::asset
        end
        subgraph "Presentation"
            direction TB
            PPTX["website.pptx"]:::asset
        end
    end

    %% Flows
    Browser --> DNS
    DNS --> Host
    Browser -->|"GET /index.html"| Index
    Browser -->|"GET /2about.html"| About
    Browser -->|"GET /3members.html"| Members
    Browser -->|"GET /4activities.html"| Activities
    Browser -->|"GET /5join.html"| Join
    Browser -->|"GET /6thanks.html"| Thanks
    Browser -->|"GET /activities  formations/events and formations/formation.html"| Formation
    Browser -->|"GET /activities  formations/events and formations/évenement.html"| Evenement

    Browser -->|"GET CSS"| IndexCSS
    Browser -->|"GET CSS"| AboutCSS
    Browser -->|"GET CSS"| MembersCSS
    Browser -->|"GET CSS"| ActivitiesCSS
    Browser -->|"GET CSS"| JoinCSS
    Browser -->|"GET CSS"| ThanksCSS
    Browser -->|"GET CSS"| FormationCSS
    Browser -->|"GET CSS"| EvenementCSS

    Browser -->|"GET Images"| Pics
    Browser -->|"GET Video"| Video

    Browser -->|"GET PPTX"| PPTX

    Browser --> Analytics

    %% Click events
    click Index "https://github.com/xaminezh/criot-club-website/blob/main//index.html"
    click About "https://github.com/xaminezh/criot-club-website/blob/main//2about.html"
    click Members "https://github.com/xaminezh/criot-club-website/blob/main//3members.html"
    click Activities "https://github.com/xaminezh/criot-club-website/blob/main//4activities.html"
    click Join "https://github.com/xaminezh/criot-club-website/blob/main//5join.html"
    click Thanks "https://github.com/xaminezh/criot-club-website/blob/main//6thanks.html"
    click Formation "https://github.com/xaminezh/criot-club-website/blob/main//activities  formations/events and formations/formation.html"
    click Evenement "https://github.com/xaminezh/criot-club-website/blob/main//activities  formations/events and formations/évenement.html"
    click IndexCSS "https://github.com/xaminezh/criot-club-website/blob/main//index.css"
    click AboutCSS "https://github.com/xaminezh/criot-club-website/blob/main//about.css"
    click MembersCSS "https://github.com/xaminezh/criot-club-website/blob/main//members.css"
    click ActivitiesCSS "https://github.com/xaminezh/criot-club-website/blob/main//activities.css"
    click JoinCSS "https://github.com/xaminezh/criot-club-website/blob/main//join.css"
    click ThanksCSS "https://github.com/xaminezh/criot-club-website/blob/main//thanks.css"
    click FormationCSS "https://github.com/xaminezh/criot-club-website/blob/main//activities  formations/events and formations/foormation.css"
    click EvenementCSS "https://github.com/xaminezh/criot-club-website/blob/main//activities  formations/events and formations/événement.css"
    click Pics "https://github.com/xaminezh/criot-club-website/tree/main//pics/"
    click Video "https://github.com/xaminezh/criot-club-website/blob/main//activities  formations/events and formations/video.mp4"
    click PPTX "https://github.com/xaminezh/criot-club-website/blob/main//website.pptx"

    %% Styles
    classDef client fill:#D0E1FF,stroke:#0366d6,color:#0366d6;
    classDef host fill:#DFF2BF,stroke:#4F8A10,color:#4F8A10;
    classDef asset fill:#F2F2F2,stroke:#999999,color:#333333;
    classDef optional fill:#FFFFFF,stroke:#666666,stroke-dasharray: 5 5,color:#666666;
```
