Skip to content

Site B: audience-first nav + story homepage - #47

Merged
OliEder merged 7 commits into
feat/site-a-diagramsfrom
feat/site-b-nav-homepage
Aug 28, 2026
Merged

OliEder merged 7 commits into
feat/site-a-diagramsfrom
feat/site-b-nav-homepage

Conversation

@OliEder

@OliEder OliEder commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Plan B of the site redesign. Stacked on Site A (#46) — base is feat/site-a-diagrams, so this diff shows only Plan B. Merge #46 first, then this retargets to main automatically.

What

  • Nav → audience-first: Home · Learn · Use · Build (+ GitHub). Nav.astro is data-driven, so only the navItems array changed; drawer markup/CSS/focus-trap untouched.
  • Homepage rewritten as a non-technical story scroll, no diagram, in order: (1) the problem (locked in proprietary apps) → (2) what OCF is → (3) multi-sport (sport cards, deliberately before structure) → (4) rough structure (court coords · entities & actions · frames) → (5) where next (Learn/Use/Build). Keeps the JSON-LD; drops the old code example / validator section (those live under Use/Build now).
  • Three area hubs — /learn/, /use/, /build/ — linking to the existing pages at their current URLs. No page moving/merging yet (that's Plan C/D). Sport cards point at /learn/ for now; they upgrade to /learn/sports/* in Plan C.
  • CI: /learn/, /use/, /build/ added to the axe route list.

Verified

  • npm run build: 14 pages, all top-level routes resolve.
  • Nav shows the new labels in both inline nav + mobile drawer; old nav-only labels gone.
  • Homepage: 5 sections in the required order, multi-sport before structure, JSON-LD kept, old technical content removed.

Leaving the merge to you. Next: Plan C (Try-it + sport pages), Plan D (arc42).

🤖 Generated with Claude Code

@OliEder
OliEder merged commit a0a3b00 into feat/site-a-diagrams Aug 28, 2026
1 check passed
@OliEder
OliEder deleted the feat/site-b-nav-homepage branch August 28, 2026 18:50
OliEder added a commit that referenced this pull request Aug 29, 2026
* docs(design): site redesign — audience-first IA, merged Try-it, Kroki diagrams, arc42

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* docs(design): correct diagram pipeline — Kroki(PlantUML)+mmdc(Mermaid)

Verified public kroki.io renders PlantUML but 500s on Mermaid; spec uses only
PlantUML, arc42 uses only Mermaid. Split into two renderers behind one façade.

* docs(plan): Site Plan A — diagram pipeline (Kroki/PlantUML)

* feat(site): diagram façade with Kroki PlantUML renderer

* feat(site): replace PlantUML literalblocks with inline SVG at build

* style(site): large, responsive inline diagrams on the spec page

* ci(site): run diagram pipeline unit tests before the build

* Site B: audience-first nav + story homepage (#47)

---------

Co-authored-by: Oliver-Marcus Eder <github.dev@oliver-eder.de>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant