Site Engineering

Colophon

Version 2.0 of alhibb.devclans.org.ng is engineered as a static-first research and software publication built for fast rendering, accessible contrast, and long-term maintainability.

Architecture & Dependencies

  • Static Compiler: Built with Astro 5 (output: 'static'), outputting semantic HTML, scoped CSS and progressive inline controls without shipping a client-side UI framework runtime.
  • Self-Hosted Typography: Variable WOFF2 files for Geist (headings), Inter (long-form prose) and IBM Plex Mono (code, hashes, dates and tabular metrics) with zero third-party Google Fonts network requests.
  • Math & Code Rendering: Build-time KaTeX (HTML + MathML, zero client JS) and dual-theme Shiki syntax highlighting.
  • Media Optimization: Authentic repository screenshots converted via sharp into responsive AVIF and WebP assets with explicit dimensions to prevent layout shift.

Accessibility & Design Tokens

Both Dark (#0E0E10 / #18181B) and Light (#FAFAF8 / #FFFFFF) color tokens are validated programmatically in scripts/validate-content.mjs and tested via @axe-core/playwright against WCAG 2.2 AA contrast thresholds, keyboard navigation, skip links, reduced-motion media queries and print layouts.

Data & GitHub Sync

Structured content lives in Zod-validated JSON schemas (data/*.json) and Markdown collections (src/content/writing/). GitHub upstream statistics (last synced 2026-11-30T05:14:00Z) count only pull requests merged into explicitly configured external repositories, excluding self-owned forks, and preserve the last valid snapshot if API synchronization is unavailable.