How this site is built
A short tour of what this site runs on, with a live look at its three typefaces.
This site is a small SvelteKit app. Every page is built ahead of time and served from Cloudflare, so there is nothing to wait for and little that can break.
The writing and the project pages are plain Markdown files, with a short block of metadata at the top. A build step checks that metadata, and that every link between projects and posts points at something real. A post can also embed a component when a picture is not enough, like the one below.
Type
Text is set in Cormorant Garamond, a serif with a calm, old-fashioned feel. Buttons and labels use Josefin Sans, and code and dates use JetBrains Mono. Drag the slider to see how much range the text face has.
Things are built better when you can see how they work.
Read the writing
const weight = $state(500)
The type scale, the spacing and the colours come from my own packages, so this site looks related to my other work without being a copy of it. Changing a typeface later is a one-line change.