# itsvasco/tfcz-website architecture

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

- Interactive diagram: https://gitdiagram.com/itsvasco/tfcz-website
- Repository: https://github.com/itsvasco/tfcz-website

## Overview

TFCZ is a static club website with public information pages and browser-based interactions, plus a Design Studio for managing and presenting tournament decks. The main visitor journey is browsing club information and using membership or event forms to make contact; the repository also includes a photo gallery and interactive widgets. The README describes a browser CMS, but its stated entry file is absent from the supplied tree, so it is not mapped. Source excerpts are limited, so only documented relationships are shown.

Main entry points: [`design-studio.html`](https://github.com/itsvasco/tfcz-website/blob/main/design-studio.html) (Design Studio), [`praesentationen/index.js`](https://github.com/itsvasco/tfcz-website/blob/main/praesentationen/index.js) (Presentation registry), [`galerie.html`](https://github.com/itsvasco/tfcz-website/blob/main/galerie.html) (Photo gallery), [`index.html`](https://github.com/itsvasco/tfcz-website/blob/main/index.html) (Home page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_public["Public website"]
  node_home["Home page<br/>[index.html]"]
  node_club["Club information"]
  node_history["Club history"]
  node_training["Training<br/>[tfcz-training.html]"]
  node_events["Events"]
  node_rules["Club rules<br/>[tfcz-regeln.html]"]
end

subgraph group_interaction["Visitor interactions"]
  node_membership["Membership<br/>[mitglied.html]"]
  node_forms["Form definitions<br/>[forms.js]"]
  node_navigation["Site navigation<br/>[nav.js]"]
  node_barometer["Fun barometer<br/>[baro.js]"]
end

subgraph group_studio["Studio and presentations"]
  node_studio["Design Studio<br/>[design-studio.html]"]
  node_registry["Presentation registry<br/>[index.js]"]
  node_prompt["Deck prompt<br/>[prompt.js]"]
  node_deck["Tournament decks"]
end

subgraph group_media["Media assets"]
  node_gallery["Photo gallery<br/>[galerie.html]"]
  node_gallery_data["Gallery data<br/>[galerie.json]"]
end

node_visitor(("Website visitor"))

node_visitor -->|"visits"| node_home
node_visitor -->|"visits"| node_club
node_visitor -->|"visits"| node_history
node_visitor -->|"visits"| node_training
node_visitor -->|"visits"| node_events
node_visitor -->|"visits"| node_rules
node_visitor -->|"visits"| node_membership
node_visitor -->|"visits"| node_gallery
node_visitor -->|"uses"| node_studio
node_studio -->|"lists decks"| node_registry
node_studio -->|"copies prompt"| node_prompt
node_registry -->|"registers deck"| node_deck
node_gallery -.->|"uses data"| node_gallery_data

click node_home "https://github.com/itsvasco/tfcz-website/blob/main/index.html"
click node_club "https://github.com/itsvasco/tfcz-website/blob/main/tfcz-ueber-uns.html"
click node_history "https://github.com/itsvasco/tfcz-website/blob/main/tfcz-geschichte.html"
click node_training "https://github.com/itsvasco/tfcz-website/blob/main/tfcz-training.html"
click node_events "https://github.com/itsvasco/tfcz-website/blob/main/tfcz-firmenevents.html"
click node_rules "https://github.com/itsvasco/tfcz-website/blob/main/tfcz-regeln.html"
click node_membership "https://github.com/itsvasco/tfcz-website/blob/main/mitglied.html"
click node_forms "https://github.com/itsvasco/tfcz-website/blob/main/system/forms.js"
click node_navigation "https://github.com/itsvasco/tfcz-website/blob/main/system/components/nav.js"
click node_barometer "https://github.com/itsvasco/tfcz-website/blob/main/system/components/baro.js"
click node_gallery "https://github.com/itsvasco/tfcz-website/blob/main/galerie.html"
click node_gallery_data "https://github.com/itsvasco/tfcz-website/blob/main/assets/fotos/galerie/galerie.json"
click node_studio "https://github.com/itsvasco/tfcz-website/blob/main/design-studio.html"
click node_registry "https://github.com/itsvasco/tfcz-website/blob/main/praesentationen/index.js"
click node_prompt "https://github.com/itsvasco/tfcz-website/blob/main/praesentationen/prompt.js"
click node_deck "https://github.com/itsvasco/tfcz-website/blob/main/praesentationen/zuerich-open-3-eroeffnung.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_home,node_club,node_history,node_training,node_events,node_rules toneBlue
class node_membership,node_forms,node_navigation,node_barometer toneAmber
class node_studio,node_registry,node_prompt,node_deck toneMint
class node_gallery,node_gallery_data toneRose
class node_visitor toneIndigo
```

## Components

### Public website

- [Home page](https://github.com/itsvasco/tfcz-website/blob/main/index.html): `index.html`
- [Club information](https://github.com/itsvasco/tfcz-website/blob/main/tfcz-ueber-uns.html): `tfcz-ueber-uns.html`
- [Club history](https://github.com/itsvasco/tfcz-website/blob/main/tfcz-geschichte.html): `tfcz-geschichte.html`
- [Training](https://github.com/itsvasco/tfcz-website/blob/main/tfcz-training.html): `tfcz-training.html`
- [Events](https://github.com/itsvasco/tfcz-website/blob/main/tfcz-firmenevents.html): `tfcz-firmenevents.html`
- [Club rules](https://github.com/itsvasco/tfcz-website/blob/main/tfcz-regeln.html): `tfcz-regeln.html`

### Visitor interactions

- [Membership](https://github.com/itsvasco/tfcz-website/blob/main/mitglied.html): `mitglied.html`
- [Form definitions](https://github.com/itsvasco/tfcz-website/blob/main/system/forms.js): `system/forms.js`
- [Site navigation](https://github.com/itsvasco/tfcz-website/blob/main/system/components/nav.js): `system/components/nav.js`
- [Fun barometer](https://github.com/itsvasco/tfcz-website/blob/main/system/components/baro.js): `system/components/baro.js`

### Studio and presentations

- [Design Studio](https://github.com/itsvasco/tfcz-website/blob/main/design-studio.html): `design-studio.html`
- [Presentation registry](https://github.com/itsvasco/tfcz-website/blob/main/praesentationen/index.js): `praesentationen/index.js`
- [Deck prompt](https://github.com/itsvasco/tfcz-website/blob/main/praesentationen/prompt.js): `praesentationen/prompt.js`
- [Tournament decks](https://github.com/itsvasco/tfcz-website/blob/main/praesentationen/zuerich-open-3-eroeffnung.html): `praesentationen/zuerich-open-3-eroeffnung.html`

### Media assets

- [Photo gallery](https://github.com/itsvasco/tfcz-website/blob/main/galerie.html): `galerie.html`
- [Gallery data](https://github.com/itsvasco/tfcz-website/blob/main/assets/fotos/galerie/galerie.json): `assets/fotos/galerie/galerie.json`

### Other components

- **Website visitor**

## Connections

- Website visitor → Home page: visits (evidence: `README.md`)
- Website visitor → Club information: visits (evidence: `README.md`)
- Website visitor → Club history: visits (evidence: `README.md`)
- Website visitor → Training: visits (evidence: `README.md`)
- Website visitor → Events: visits (evidence: `README.md`)
- Website visitor → Club rules: visits (evidence: `README.md`)
- Website visitor → Membership: visits (evidence: `README.md`)
- Website visitor → Photo gallery: visits (evidence: `README.md`)
- Website visitor → Design Studio: uses
- Design Studio → Presentation registry: lists decks (evidence: `praesentationen/index.js`)
- Design Studio → Deck prompt: copies prompt (evidence: `praesentationen/prompt.js`)
- Presentation registry → Tournament decks: registers deck (evidence: `praesentationen/index.js`)
- Photo gallery → Gallery data: uses data
