Design Hubs

A reference system for web design, organised into eight connected hubs rather than a list of tips.

Visit Design Hubs

Purpose

Most design advice is organised by trend or by tool. Design Hubs is organised by discipline: form, typography, colour, layout, content, accessibility, interaction and motion.

Each hub works through its subject as a sequence, not a grab bag. The structure is part of the teaching, not just navigation around it.

What's There

Eight hubs, fifteen articles each, plus an index and a working checklist page per hub — 144 pages in total, statically generated with no server or database behind them.

Several hubs include interactive tools rather than static diagrams: a contrast checker, a type-scale calculator, easing-curve comparisons. These are built as ordinary Astro pages with small React components where client-side state is actually needed, not as a framework-wide default.

Search is handled by Pagefind, indexing the built content directly rather than a separate search backend.

Technical Implementation

Reading progress, checklists and theme preferences remain in the browser. Anonymous website usage statistics are collected separately through GoatCounter.

Dark mode is applied before first paint by a small inline script, so there's no flash of the wrong theme while the page loads.

Internal links between articles are checked against the actual set of article files by a script run before anything is published, rather than relied on by eye.

Testing

The site carries its own automated test suite, covering accessibility, colour contrast, navigation, search, console errors and performance, in addition to the link check above.

Tests run against the actual built output, not the source files, so what's tested is what a visitor would get.

Lessons

Treating content as data with required frontmatter, rather than loose prose, made the cross-link check and the per-hub checklist both possible without extra tooling.

Keeping all visitor state in the browser removed an entire category of privacy and infrastructure decisions before they had to be made.