# drdakboyle/floppy-disko-site architecture

> Architecture diagram of the GitHub repository drdakboyle/floppy-disko-site, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-03). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/drdakboyle/floppy-disko-site
- Repository: https://github.com/drdakboyle/floppy-disko-site

## Overview

Floppy Disko is a static music and events website: visitors browse event listings, artist/about information, sound embeds, media galleries, and booking details. On the homepage, event data is classified and rendered into upcoming events and history; the media page renders configured videos and photos, including a photo lightbox. The README documents Netlify hosting, a booking form, and external media services. HTML page wiring and several page details were not sampled, so only documented or directly visible relationships are shown.

Main entry points: [`site.js`](https://github.com/drdakboyle/floppy-disko-site/blob/main/site.js) (Page renderer), [`sound.html`](https://github.com/drdakboyle/floppy-disko-site/blob/main/sound.html) (Sound page), [`index.html`](https://github.com/drdakboyle/floppy-disko-site/blob/main/index.html) (Homepage), [`booking.html`](https://github.com/drdakboyle/floppy-disko-site/blob/main/booking.html) (Booking page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_pages["Site pages"]
  node_home["Homepage<br/>[index.html]"]
  node_about["About<br/>[about-us.html]"]
  node_artists["Artists<br/>[artists.html]"]
  node_sound["Sound page<br/>[sound.html]"]
  node_media_page["Media page<br/>[media.html]"]
  node_booking["Booking page<br/>[booking.html]"]
end

subgraph group_content["Events and media"]
  node_event_data["Event list<br/>[events.js]"]
  node_media_data["Media lists<br/>[media.js]"]
  node_renderer["Page renderer<br/>[site.js]"]
  node_posters[("Event flyers")]
  node_gallery[("Gallery assets")]
end

subgraph group_integrations["External services"]
  node_youtube["YouTube"]
  node_soundcloud["SoundCloud"]
  node_netlify["Netlify hosting"]
  node_instagram["Instagram"]
end

node_visitor(("Visitor"))

node_visitor -->|"browses"| node_home
node_visitor -->|"browses"| node_about
node_visitor -->|"browses"| node_artists
node_visitor -->|"browses"| node_sound
node_visitor -->|"browses"| node_media_page
node_visitor -->|"browses"| node_booking
node_event_data -->|"supplies events"| node_renderer
node_media_data -->|"supplies media"| node_renderer
node_renderer -->|"renders events"| node_home
node_renderer -->|"renders galleries"| node_media_page
node_renderer -->|"loads flyers"| node_posters
node_renderer -->|"loads media"| node_gallery
node_renderer -->|"embeds videos"| node_youtube
node_sound -->|"embeds audio"| node_youtube
node_sound -->|"embeds audio"| node_soundcloud
node_booking -->|"submits form"| node_netlify
node_netlify -->|"hosts site"| node_home
node_renderer -->|"links when empty"| node_instagram

click node_home "https://github.com/drdakboyle/floppy-disko-site/blob/main/index.html"
click node_about "https://github.com/drdakboyle/floppy-disko-site/blob/main/about-us.html"
click node_artists "https://github.com/drdakboyle/floppy-disko-site/blob/main/artists.html"
click node_sound "https://github.com/drdakboyle/floppy-disko-site/blob/main/sound.html"
click node_media_page "https://github.com/drdakboyle/floppy-disko-site/blob/main/media.html"
click node_booking "https://github.com/drdakboyle/floppy-disko-site/blob/main/booking.html"
click node_event_data "https://github.com/drdakboyle/floppy-disko-site/blob/main/events.js"
click node_media_data "https://github.com/drdakboyle/floppy-disko-site/blob/main/media.js"
click node_renderer "https://github.com/drdakboyle/floppy-disko-site/blob/main/site.js"
click node_posters "https://github.com/drdakboyle/floppy-disko-site/tree/main/images/posters"
click node_gallery "https://github.com/drdakboyle/floppy-disko-site/tree/main/images"

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_about,node_artists,node_sound,node_media_page,node_booking toneBlue
class node_event_data,node_media_data,node_renderer,node_posters,node_gallery toneAmber
class node_youtube,node_soundcloud,node_netlify,node_instagram toneMint
class node_visitor toneIndigo
```

## Components

### Site pages

- [Homepage](https://github.com/drdakboyle/floppy-disko-site/blob/main/index.html): `index.html`
- [About](https://github.com/drdakboyle/floppy-disko-site/blob/main/about-us.html): `about-us.html`
- [Artists](https://github.com/drdakboyle/floppy-disko-site/blob/main/artists.html): `artists.html`
- [Sound page](https://github.com/drdakboyle/floppy-disko-site/blob/main/sound.html): `sound.html`
- [Media page](https://github.com/drdakboyle/floppy-disko-site/blob/main/media.html): `media.html`
- [Booking page](https://github.com/drdakboyle/floppy-disko-site/blob/main/booking.html): `booking.html`

### Events and media

- [Event list](https://github.com/drdakboyle/floppy-disko-site/blob/main/events.js): `events.js`
- [Media lists](https://github.com/drdakboyle/floppy-disko-site/blob/main/media.js): `media.js`
- [Page renderer](https://github.com/drdakboyle/floppy-disko-site/blob/main/site.js): `site.js`
- [Event flyers](https://github.com/drdakboyle/floppy-disko-site/tree/main/images/posters): `images/posters`
- [Gallery assets](https://github.com/drdakboyle/floppy-disko-site/tree/main/images): `images`

### External services

- **YouTube**
- **SoundCloud**
- **Netlify hosting**
- **Instagram**

### Other components

- **Visitor**

## Connections

- Visitor → Homepage: browses
- Visitor → About: browses
- Visitor → Artists: browses
- Visitor → Sound page: browses
- Visitor → Media page: browses
- Visitor → Booking page: browses
- Event list → Page renderer: supplies events (evidence: `site.js`)
- Media lists → Page renderer: supplies media (evidence: `site.js`)
- Page renderer → Homepage: renders events
- Page renderer → Media page: renders galleries
- Page renderer → Event flyers: loads flyers (evidence: `site.js`)
- Page renderer → Gallery assets: loads media (evidence: `site.js`)
- Page renderer → YouTube: embeds videos (evidence: `site.js`)
- Sound page → YouTube: embeds audio
- Sound page → SoundCloud: embeds audio
- Booking page → Netlify hosting: submits form
- Netlify hosting → Homepage: hosts site
- Page renderer → Instagram: links when empty (evidence: `site.js`)
