# zekiroh/apd-website architecture

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

- Interactive diagram: https://gitdiagram.com/zekiroh/apd-website
- Repository: https://github.com/zekiroh/apd-website

## Overview

APD Website is a React single-page public site for the Assemblage of Programmers and Developers. The main workflow is browser entry into the app, an optional interactive terminal boot screen, then the organization’s landing-page sections and community information. Separate hidden experiences add a command-line console, games, mascot interactions, and achievement tracking. The graph follows documented component calls and source-index references; several feature implementations were not excerpted, so their internal wiring is omitted where it cannot be verified.

Main entry points: [`src/App.tsx`](https://github.com/zekiroh/apd-website/blob/main/src/App.tsx) (App orchestration), [`src/components/CommunityCultureSection.tsx`](https://github.com/zekiroh/apd-website/blob/main/src/components/CommunityCultureSection.tsx) (Community gallery), [`src/components/LoadingScreen.tsx`](https://github.com/zekiroh/apd-website/blob/main/src/components/LoadingScreen.tsx) (Terminal boot), [`src/easter-eggs/terminal/TerminalConsole.tsx`](https://github.com/zekiroh/apd-website/blob/main/src/easter-eggs/terminal/TerminalConsole.tsx) (Developer console)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Site experience"]
  node_entry["React entry<br/>[main.tsx]"]
  node_app["App orchestration<br/>[App.tsx]"]
end

subgraph group_content["Organization content"]
  node_hero["Hero section<br/>[HeroSection.tsx]"]
  node_about["History section<br/>[AboutSection.tsx]"]
  node_what_we_do["Activities section"]
  node_community["Community gallery"]
  node_gallery_card["Gallery card"]
  node_gallery_lightbox["Gallery lightbox"]
  node_video_modal["Community video"]
  node_content_data["Landing content data<br/>[landingPageData.ts]"]
  node_projects["Projects section"]
  node_officers["Officer directory"]
  node_events["Events section<br/>[EventsSection.tsx]"]
  node_recognition["Recognition section"]
  node_footer["Contact links<br/>[Footer.tsx]"]
end

subgraph group_terminal["Terminal experience"]
  node_boot["Terminal boot<br/>[LoadingScreen.tsx]"]
  node_terminal_engine["Boot routing<br/>[terminalEngine.ts]"]
  node_terminal_sequences["Boot sequences"]
  node_terminal_effects["Boot effects"]
end

subgraph group_discoveries["Hidden experiences"]
  node_achievements["Achievement tracking<br/>[useAchievements.ts]"]
  node_achievement_store[("Achievement storage")]
  node_easter_store[("Discovery storage")]
  node_terminal_console["Developer console"]
  node_debug_blaster["Debug Blaster<br/>[DebugBlaster.tsx]"]
  node_defense_game["APD Defense<br/>[APDDefense.tsx]"]
  node_mascot["Pixel mascot<br/>[PixelMascot.tsx]"]
end

node_visitor(("Site visitor"))

node_visitor -->|"opens site"| node_entry
node_entry -->|"renders"| node_app
node_app -->|"shows boot"| node_boot
node_app -->|"renders"| node_hero
node_app -->|"renders"| node_about
node_app -->|"renders"| node_what_we_do
node_app -->|"renders"| node_community
node_app -->|"renders"| node_projects
node_app -->|"renders"| node_officers
node_app -->|"renders"| node_events
node_app -->|"renders"| node_recognition
node_app -->|"renders"| node_footer
node_boot -->|"resolves commands"| node_terminal_engine
node_boot -->|"loads sequences"| node_terminal_sequences
node_boot -->|"renders effects"| node_terminal_effects
node_community -->|"reads content"| node_content_data
node_community -->|"renders cards"| node_gallery_card
node_community -->|"opens lightbox"| node_gallery_lightbox
node_community -->|"opens video"| node_video_modal
node_officers -->|"reads content"| node_content_data
node_achievements -->|"reads and writes"| node_achievement_store
node_terminal_console -->|"dispatches unlocks"| node_achievements
node_terminal_console -->|"dispatches mission events"| node_defense_game
node_terminal_console -->|"dispatches game events"| node_debug_blaster
node_debug_blaster -->|"dispatches unlocks"| node_achievements
node_debug_blaster -->|"marks discovery"| node_easter_store
node_defense_game -->|"reads and writes"| node_easter_store
node_defense_game -->|"dispatches messages"| node_mascot

click node_entry "https://github.com/zekiroh/apd-website/blob/main/src/main.tsx"
click node_app "https://github.com/zekiroh/apd-website/blob/main/src/App.tsx"
click node_boot "https://github.com/zekiroh/apd-website/blob/main/src/components/LoadingScreen.tsx"
click node_terminal_engine "https://github.com/zekiroh/apd-website/blob/main/src/components/terminal/terminalEngine.ts"
click node_terminal_sequences "https://github.com/zekiroh/apd-website/blob/main/src/components/terminal/terminalSequences.ts"
click node_terminal_effects "https://github.com/zekiroh/apd-website/blob/main/src/components/terminal/TerminalEffects.tsx"
click node_hero "https://github.com/zekiroh/apd-website/blob/main/src/components/HeroSection.tsx"
click node_about "https://github.com/zekiroh/apd-website/blob/main/src/components/AboutSection.tsx"
click node_what_we_do "https://github.com/zekiroh/apd-website/blob/main/src/components/WhatWeDoSection.tsx"
click node_community "https://github.com/zekiroh/apd-website/blob/main/src/components/CommunityCultureSection.tsx"
click node_gallery_card "https://github.com/zekiroh/apd-website/blob/main/src/components/community/CommunityGalleryCard.tsx"
click node_gallery_lightbox "https://github.com/zekiroh/apd-website/blob/main/src/components/community/CommunityGalleryLightbox.tsx"
click node_video_modal "https://github.com/zekiroh/apd-website/blob/main/src/components/community/CommunityVideoModal.tsx"
click node_content_data "https://github.com/zekiroh/apd-website/blob/main/src/data/landingPageData.ts"
click node_projects "https://github.com/zekiroh/apd-website/blob/main/src/components/ProjectsSection.tsx"
click node_officers "https://github.com/zekiroh/apd-website/blob/main/src/components/OfficersSection.tsx"
click node_events "https://github.com/zekiroh/apd-website/blob/main/src/components/EventsSection.tsx"
click node_recognition "https://github.com/zekiroh/apd-website/blob/main/src/components/RecognitionSection.tsx"
click node_footer "https://github.com/zekiroh/apd-website/blob/main/src/components/Footer.tsx"
click node_achievements "https://github.com/zekiroh/apd-website/blob/main/src/easter-eggs/achievements/useAchievements.ts"
click node_achievement_store "https://github.com/zekiroh/apd-website/blob/main/src/easter-eggs/achievements/achievementStorage.ts"
click node_easter_store "https://github.com/zekiroh/apd-website/blob/main/src/easter-eggs/core/easterEggStorage.ts"
click node_terminal_console "https://github.com/zekiroh/apd-website/blob/main/src/easter-eggs/terminal/TerminalConsole.tsx"
click node_debug_blaster "https://github.com/zekiroh/apd-website/blob/main/src/easter-eggs/debug-blaster/DebugBlaster.tsx"
click node_defense_game "https://github.com/zekiroh/apd-website/blob/main/src/easter-eggs/apd-defense/APDDefense.tsx"
click node_mascot "https://github.com/zekiroh/apd-website/blob/main/src/easter-eggs/mascot/PixelMascot.tsx"

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_entry,node_app toneBlue
class node_hero,node_about,node_what_we_do,node_community,node_gallery_card,node_gallery_lightbox,node_video_modal,node_content_data,node_projects,node_officers,node_events,node_recognition,node_footer toneAmber
class node_boot,node_terminal_engine,node_terminal_sequences,node_terminal_effects toneMint
class node_achievements,node_achievement_store,node_easter_store,node_terminal_console,node_debug_blaster,node_defense_game,node_mascot toneRose
class node_visitor toneIndigo
```

## Components

### Site experience

- [React entry](https://github.com/zekiroh/apd-website/blob/main/src/main.tsx): `src/main.tsx`
- [App orchestration](https://github.com/zekiroh/apd-website/blob/main/src/App.tsx): `src/App.tsx`

### Organization content

- [Hero section](https://github.com/zekiroh/apd-website/blob/main/src/components/HeroSection.tsx): `src/components/HeroSection.tsx`
- [History section](https://github.com/zekiroh/apd-website/blob/main/src/components/AboutSection.tsx): `src/components/AboutSection.tsx`
- [Activities section](https://github.com/zekiroh/apd-website/blob/main/src/components/WhatWeDoSection.tsx): `src/components/WhatWeDoSection.tsx`
- [Community gallery](https://github.com/zekiroh/apd-website/blob/main/src/components/CommunityCultureSection.tsx): `src/components/CommunityCultureSection.tsx`
- [Gallery card](https://github.com/zekiroh/apd-website/blob/main/src/components/community/CommunityGalleryCard.tsx): `src/components/community/CommunityGalleryCard.tsx`
- [Gallery lightbox](https://github.com/zekiroh/apd-website/blob/main/src/components/community/CommunityGalleryLightbox.tsx): `src/components/community/CommunityGalleryLightbox.tsx`
- [Community video](https://github.com/zekiroh/apd-website/blob/main/src/components/community/CommunityVideoModal.tsx): `src/components/community/CommunityVideoModal.tsx`
- [Landing content data](https://github.com/zekiroh/apd-website/blob/main/src/data/landingPageData.ts): `src/data/landingPageData.ts`
- [Projects section](https://github.com/zekiroh/apd-website/blob/main/src/components/ProjectsSection.tsx): `src/components/ProjectsSection.tsx`
- [Officer directory](https://github.com/zekiroh/apd-website/blob/main/src/components/OfficersSection.tsx): `src/components/OfficersSection.tsx`
- [Events section](https://github.com/zekiroh/apd-website/blob/main/src/components/EventsSection.tsx): `src/components/EventsSection.tsx`
- [Recognition section](https://github.com/zekiroh/apd-website/blob/main/src/components/RecognitionSection.tsx): `src/components/RecognitionSection.tsx`
- [Contact links](https://github.com/zekiroh/apd-website/blob/main/src/components/Footer.tsx): `src/components/Footer.tsx`

### Terminal experience

- [Terminal boot](https://github.com/zekiroh/apd-website/blob/main/src/components/LoadingScreen.tsx): `src/components/LoadingScreen.tsx`
- [Boot routing](https://github.com/zekiroh/apd-website/blob/main/src/components/terminal/terminalEngine.ts): `src/components/terminal/terminalEngine.ts`
- [Boot sequences](https://github.com/zekiroh/apd-website/blob/main/src/components/terminal/terminalSequences.ts): `src/components/terminal/terminalSequences.ts`
- [Boot effects](https://github.com/zekiroh/apd-website/blob/main/src/components/terminal/TerminalEffects.tsx): `src/components/terminal/TerminalEffects.tsx`

### Hidden experiences

- [Achievement tracking](https://github.com/zekiroh/apd-website/blob/main/src/easter-eggs/achievements/useAchievements.ts): `src/easter-eggs/achievements/useAchievements.ts`
- [Achievement storage](https://github.com/zekiroh/apd-website/blob/main/src/easter-eggs/achievements/achievementStorage.ts): `src/easter-eggs/achievements/achievementStorage.ts`
- [Discovery storage](https://github.com/zekiroh/apd-website/blob/main/src/easter-eggs/core/easterEggStorage.ts): `src/easter-eggs/core/easterEggStorage.ts`
- [Developer console](https://github.com/zekiroh/apd-website/blob/main/src/easter-eggs/terminal/TerminalConsole.tsx): `src/easter-eggs/terminal/TerminalConsole.tsx`
- [Debug Blaster](https://github.com/zekiroh/apd-website/blob/main/src/easter-eggs/debug-blaster/DebugBlaster.tsx): `src/easter-eggs/debug-blaster/DebugBlaster.tsx`
- [APD Defense](https://github.com/zekiroh/apd-website/blob/main/src/easter-eggs/apd-defense/APDDefense.tsx): `src/easter-eggs/apd-defense/APDDefense.tsx`
- [Pixel mascot](https://github.com/zekiroh/apd-website/blob/main/src/easter-eggs/mascot/PixelMascot.tsx): `src/easter-eggs/mascot/PixelMascot.tsx`

### Other components

- **Site visitor**

## Connections

- Site visitor → React entry: opens site
- React entry → App orchestration: renders (evidence: `src/main.tsx`)
- App orchestration → Terminal boot: shows boot (evidence: `src/App.tsx`)
- App orchestration → Hero section: renders (evidence: `src/App.tsx`)
- App orchestration → History section: renders (evidence: `src/App.tsx`)
- App orchestration → Activities section: renders (evidence: `src/App.tsx`)
- App orchestration → Community gallery: renders (evidence: `src/App.tsx`)
- App orchestration → Projects section: renders (evidence: `src/App.tsx`)
- App orchestration → Officer directory: renders (evidence: `src/App.tsx`)
- App orchestration → Events section: renders (evidence: `src/App.tsx`)
- App orchestration → Recognition section: renders (evidence: `src/App.tsx`)
- App orchestration → Contact links: renders (evidence: `src/App.tsx`)
- Terminal boot → Boot routing: resolves commands (evidence: `src/components/LoadingScreen.tsx`)
- Terminal boot → Boot sequences: loads sequences (evidence: `src/components/LoadingScreen.tsx`)
- Terminal boot → Boot effects: renders effects (evidence: `src/components/LoadingScreen.tsx`)
- Community gallery → Landing content data: reads content (evidence: `src/components/CommunityCultureSection.tsx`)
- Community gallery → Gallery card: renders cards (evidence: `src/components/CommunityCultureSection.tsx`)
- Community gallery → Gallery lightbox: opens lightbox (evidence: `src/components/CommunityCultureSection.tsx`)
- Community gallery → Community video: opens video (evidence: `src/components/CommunityCultureSection.tsx`)
- Officer directory → Landing content data: reads content (evidence: `src/components/OfficersSection.tsx`)
- Achievement tracking → Achievement storage: reads and writes (evidence: `src/easter-eggs/achievements/useAchievements.ts`)
- Developer console → Achievement tracking: dispatches unlocks (evidence: `src/easter-eggs/terminal/TerminalConsole.tsx`)
- Developer console → APD Defense: dispatches mission events (evidence: `src/easter-eggs/terminal/TerminalConsole.tsx`)
- Developer console → Debug Blaster: dispatches game events (evidence: `src/easter-eggs/terminal/TerminalConsole.tsx`)
- Debug Blaster → Achievement tracking: dispatches unlocks
- Debug Blaster → Discovery storage: marks discovery
- APD Defense → Discovery storage: reads and writes
- APD Defense → Pixel mascot: dispatches messages
