# real-woong/blockthon2026-randingpage architecture

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

- Interactive diagram: https://gitdiagram.com/real-woong/blockthon2026-randingpage
- Repository: https://github.com/real-woong/blockthon2026-randingpage

## Overview

Blockblock is an interactive hackathon landing page. A visitor enters the page, sees the hero and its animated protocol field, then can navigate through event sections that appear only when their content is populated; the page also provides application calls to action. The graph includes the documented event-content and optional Spline branches. Some section implementations and field helpers were not excerpted, so those internal links are shown only where the page, README, or source index supports them.

Main entry points: [`app/page.tsx`](https://github.com/real-woong/blockthon2026-randingpage/blob/main/app/page.tsx) (Page assembly), [`content/sections.ts`](https://github.com/real-woong/blockthon2026-randingpage/blob/main/content/sections.ts) (Section visibility), [`components/hero/ProtocolField.tsx`](https://github.com/real-woong/blockthon2026-randingpage/blob/main/components/hero/ProtocolField.tsx) (Protocol field), [`content/index.ts`](https://github.com/real-woong/blockthon2026-randingpage/blob/main/content/index.ts) (Content resolver)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_page["Page composition"]
  node_layout["Root layout<br/>[layout.tsx]"]
  node_pageentry["Page assembly<br/>[page.tsx]"]
  node_header["Header navigation<br/>[Header.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
  node_brandmark["Brand mark<br/>[BrandMark.tsx]"]
end

subgraph group_content["Content and visibility"]
  node_eventdata["Event content<br/>[event.ts]"]
  node_mockdata["Preview content<br/>[mock.ts]"]
  node_contentresolver["Content resolver<br/>[index.ts]"]
  node_sectionrules["Section visibility<br/>[sections.ts]"]
  node_brandconfig["Brand and field words<br/>[brand.ts]"]
end

subgraph group_hero["Hero experience"]
  node_hero["Hero and word selector<br/>[Hero.tsx]"]
  node_herocontent["Hero copy<br/>[HeroContent.tsx]"]
  node_protocolfield["Protocol field<br/>[ProtocolField.tsx]"]
  node_wordfield["Word field generator<br/>[wordField.ts]"]
  node_fieldengine["Field interactions<br/>[fieldEngine.ts]"]
  node_pixelart["Pixel rendering helpers<br/>[pixelFont.ts]"]
  node_lockup["Logo lockup helper<br/>[logoLockup.ts]"]
  node_environment["Environment detection<br/>[useEnvironment.ts]"]
  node_spline["Optional Spline scene<br/>[SplineScene.tsx]"]
end

subgraph group_sections["Event information"]
  node_manifestostack["Manifesto and stack"]
  node_resourcesprogram["Resources and program"]
  node_trackscriteria["Tracks and criteria"]
  node_supportpartners["Support and partners"]
  node_faqapply["FAQ and application"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens page"| node_pageentry
node_layout -->|"wraps page"| node_pageentry
node_pageentry -->|"renders"| node_header
node_pageentry -->|"renders"| node_hero
node_pageentry -->|"renders"| node_manifestostack
node_pageentry -->|"renders"| node_resourcesprogram
node_pageentry -->|"renders"| node_trackscriteria
node_pageentry -->|"renders"| node_supportpartners
node_pageentry -->|"renders"| node_faqapply
node_pageentry -->|"renders"| node_footer
node_eventdata -->|"supplies real data"| node_contentresolver
node_mockdata -->|"supplies preview data"| node_contentresolver
node_contentresolver -->|"provides content"| node_sectionrules
node_sectionrules -->|"gates sections"| node_manifestostack
node_sectionrules -->|"gates sections"| node_resourcesprogram
node_sectionrules -->|"gates sections"| node_trackscriteria
node_sectionrules -->|"gates sections"| node_supportpartners
node_sectionrules -->|"gates sections"| node_faqapply
node_contentresolver -->|"provides navigation data"| node_header
node_brandconfig -->|"defines field words"| node_hero
node_hero -->|"renders field"| node_protocolfield
node_hero -->|"renders copy"| node_herocontent
node_protocolfield -->|"builds field"| node_wordfield
node_protocolfield -->|"starts interactions"| node_fieldengine
node_protocolfield -->|"checks environment"| node_environment
node_fieldengine -->|"uses field data"| node_wordfield
node_wordfield -->|"uses pixel font"| node_pixelart
node_wordfield -->|"uses logo lockup"| node_lockup
node_protocolfield -.->|"loads optionally"| node_spline
node_header -->|"renders mark"| node_brandmark
node_footer -->|"renders mark"| node_brandmark

click node_layout "https://github.com/real-woong/blockthon2026-randingpage/blob/main/app/layout.tsx"
click node_pageentry "https://github.com/real-woong/blockthon2026-randingpage/blob/main/app/page.tsx"
click node_header "https://github.com/real-woong/blockthon2026-randingpage/blob/main/components/layout/Header.tsx"
click node_footer "https://github.com/real-woong/blockthon2026-randingpage/blob/main/components/layout/Footer.tsx"
click node_brandmark "https://github.com/real-woong/blockthon2026-randingpage/blob/main/components/brand/BrandMark.tsx"
click node_eventdata "https://github.com/real-woong/blockthon2026-randingpage/blob/main/content/event.ts"
click node_mockdata "https://github.com/real-woong/blockthon2026-randingpage/blob/main/content/mock.ts"
click node_contentresolver "https://github.com/real-woong/blockthon2026-randingpage/blob/main/content/index.ts"
click node_sectionrules "https://github.com/real-woong/blockthon2026-randingpage/blob/main/content/sections.ts"
click node_brandconfig "https://github.com/real-woong/blockthon2026-randingpage/blob/main/content/brand.ts"
click node_hero "https://github.com/real-woong/blockthon2026-randingpage/blob/main/components/hero/Hero.tsx"
click node_herocontent "https://github.com/real-woong/blockthon2026-randingpage/blob/main/components/hero/HeroContent.tsx"
click node_protocolfield "https://github.com/real-woong/blockthon2026-randingpage/blob/main/components/hero/ProtocolField.tsx"
click node_wordfield "https://github.com/real-woong/blockthon2026-randingpage/blob/main/lib/wordField.ts"
click node_fieldengine "https://github.com/real-woong/blockthon2026-randingpage/blob/main/lib/fieldEngine.ts"
click node_pixelart "https://github.com/real-woong/blockthon2026-randingpage/blob/main/lib/pixelFont.ts"
click node_lockup "https://github.com/real-woong/blockthon2026-randingpage/blob/main/lib/logoLockup.ts"
click node_environment "https://github.com/real-woong/blockthon2026-randingpage/blob/main/lib/useEnvironment.ts"
click node_spline "https://github.com/real-woong/blockthon2026-randingpage/blob/main/components/hero/SplineScene.tsx"
click node_manifestostack "https://github.com/real-woong/blockthon2026-randingpage/tree/main/components/sections"
click node_resourcesprogram "https://github.com/real-woong/blockthon2026-randingpage/tree/main/components/sections"
click node_trackscriteria "https://github.com/real-woong/blockthon2026-randingpage/tree/main/components/sections"
click node_supportpartners "https://github.com/real-woong/blockthon2026-randingpage/tree/main/components/sections"
click node_faqapply "https://github.com/real-woong/blockthon2026-randingpage/tree/main/components/sections"

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_layout,node_pageentry,node_header,node_footer,node_brandmark toneBlue
class node_eventdata,node_mockdata,node_contentresolver,node_sectionrules,node_brandconfig toneAmber
class node_hero,node_herocontent,node_protocolfield,node_wordfield,node_fieldengine,node_pixelart,node_lockup,node_environment,node_spline toneMint
class node_manifestostack,node_resourcesprogram,node_trackscriteria,node_supportpartners,node_faqapply toneRose
class node_visitor toneIndigo
```

## Components

### Page composition

- [Root layout](https://github.com/real-woong/blockthon2026-randingpage/blob/main/app/layout.tsx): `app/layout.tsx`
- [Page assembly](https://github.com/real-woong/blockthon2026-randingpage/blob/main/app/page.tsx): `app/page.tsx`
- [Header navigation](https://github.com/real-woong/blockthon2026-randingpage/blob/main/components/layout/Header.tsx): `components/layout/Header.tsx`
- [Footer](https://github.com/real-woong/blockthon2026-randingpage/blob/main/components/layout/Footer.tsx): `components/layout/Footer.tsx`
- [Brand mark](https://github.com/real-woong/blockthon2026-randingpage/blob/main/components/brand/BrandMark.tsx): `components/brand/BrandMark.tsx`

### Content and visibility

- [Event content](https://github.com/real-woong/blockthon2026-randingpage/blob/main/content/event.ts): `content/event.ts`
- [Preview content](https://github.com/real-woong/blockthon2026-randingpage/blob/main/content/mock.ts): `content/mock.ts`
- [Content resolver](https://github.com/real-woong/blockthon2026-randingpage/blob/main/content/index.ts): `content/index.ts`
- [Section visibility](https://github.com/real-woong/blockthon2026-randingpage/blob/main/content/sections.ts): `content/sections.ts`
- [Brand and field words](https://github.com/real-woong/blockthon2026-randingpage/blob/main/content/brand.ts): `content/brand.ts`

### Hero experience

- [Hero and word selector](https://github.com/real-woong/blockthon2026-randingpage/blob/main/components/hero/Hero.tsx): `components/hero/Hero.tsx`
- [Hero copy](https://github.com/real-woong/blockthon2026-randingpage/blob/main/components/hero/HeroContent.tsx): `components/hero/HeroContent.tsx`
- [Protocol field](https://github.com/real-woong/blockthon2026-randingpage/blob/main/components/hero/ProtocolField.tsx): `components/hero/ProtocolField.tsx`
- [Word field generator](https://github.com/real-woong/blockthon2026-randingpage/blob/main/lib/wordField.ts): `lib/wordField.ts`
- [Field interactions](https://github.com/real-woong/blockthon2026-randingpage/blob/main/lib/fieldEngine.ts): `lib/fieldEngine.ts`
- [Pixel rendering helpers](https://github.com/real-woong/blockthon2026-randingpage/blob/main/lib/pixelFont.ts): `lib/pixelFont.ts`
- [Logo lockup helper](https://github.com/real-woong/blockthon2026-randingpage/blob/main/lib/logoLockup.ts): `lib/logoLockup.ts`
- [Environment detection](https://github.com/real-woong/blockthon2026-randingpage/blob/main/lib/useEnvironment.ts): `lib/useEnvironment.ts`
- [Optional Spline scene](https://github.com/real-woong/blockthon2026-randingpage/blob/main/components/hero/SplineScene.tsx): `components/hero/SplineScene.tsx`

### Event information

- [Manifesto and stack](https://github.com/real-woong/blockthon2026-randingpage/tree/main/components/sections): `components/sections`
- [Resources and program](https://github.com/real-woong/blockthon2026-randingpage/tree/main/components/sections): `components/sections`
- [Tracks and criteria](https://github.com/real-woong/blockthon2026-randingpage/tree/main/components/sections): `components/sections`
- [Support and partners](https://github.com/real-woong/blockthon2026-randingpage/tree/main/components/sections): `components/sections`
- [FAQ and application](https://github.com/real-woong/blockthon2026-randingpage/tree/main/components/sections): `components/sections`

### Other components

- **Visitor**

## Connections

- Visitor → Page assembly: opens page
- Root layout → Page assembly: wraps page (evidence: `app/layout.tsx`)
- Page assembly → Header navigation: renders (evidence: `app/page.tsx`)
- Page assembly → Hero and word selector: renders (evidence: `app/page.tsx`)
- Page assembly → Manifesto and stack: renders (evidence: `app/page.tsx`)
- Page assembly → Resources and program: renders (evidence: `app/page.tsx`)
- Page assembly → Tracks and criteria: renders (evidence: `app/page.tsx`)
- Page assembly → Support and partners: renders (evidence: `app/page.tsx`)
- Page assembly → FAQ and application: renders (evidence: `app/page.tsx`)
- Page assembly → Footer: renders (evidence: `app/page.tsx`)
- Event content → Content resolver: supplies real data (evidence: `content/index.ts`)
- Preview content → Content resolver: supplies preview data (evidence: `content/index.ts`)
- Content resolver → Section visibility: provides content (evidence: `content/sections.ts`)
- Section visibility → Manifesto and stack: gates sections (evidence: `content/sections.ts`)
- Section visibility → Resources and program: gates sections (evidence: `content/sections.ts`)
- Section visibility → Tracks and criteria: gates sections (evidence: `content/sections.ts`)
- Section visibility → Support and partners: gates sections (evidence: `content/sections.ts`)
- Section visibility → FAQ and application: gates sections (evidence: `content/sections.ts`)
- Content resolver → Header navigation: provides navigation data (evidence: `components/layout/Header.tsx`)
- Brand and field words → Hero and word selector: defines field words (evidence: `components/hero/Hero.tsx`)
- Hero and word selector → Protocol field: renders field (evidence: `components/hero/Hero.tsx`)
- Hero and word selector → Hero copy: renders copy (evidence: `components/hero/Hero.tsx`)
- Protocol field → Word field generator: builds field (evidence: `components/hero/ProtocolField.tsx`)
- Protocol field → Field interactions: starts interactions (evidence: `components/hero/ProtocolField.tsx`)
- Protocol field → Environment detection: checks environment (evidence: `components/hero/ProtocolField.tsx`)
- Field interactions → Word field generator: uses field data (evidence: `lib/fieldEngine.ts`)
- Word field generator → Pixel rendering helpers: uses pixel font (evidence: `lib/wordField.ts`)
- Word field generator → Logo lockup helper: uses logo lockup (evidence: `lib/wordField.ts`)
- Protocol field → Optional Spline scene: loads optionally (evidence: `components/hero/ProtocolField.tsx`)
- Header navigation → Brand mark: renders mark (evidence: `components/layout/Header.tsx`)
- Footer → Brand mark: renders mark (evidence: `components/layout/Footer.tsx`)
