#astro
5 posts tagged #astro.
Static-First for a Site That Never Needs to Be Fresh
Why this site builds to plain files instead of running a server, and the honest cases where that trade-off would flip.
Hand-Rolled Lightbox
Why the image viewer on this site is built directly on the Pointer Events API instead of pulling in a lightbox library, and when that call is the wrong one.
Six Categories, Chosen Before the First Post
Why this blog launched as an empty collection with a fixed six-category enum decided in advance, instead of open-ended tags growing organically.
Every Page Is Its Own File
A documented convention in this codebase: route files contain the page's markup directly instead of re-exporting a single component, and the one honest trade-off it accepts.
Two Content Collections, One Blog
Why this site's bilingual log is modeled as two independent Astro content collections instead of one collection with translated fields, and what that trade gives up and buys back.