---
title: Rebuilding this site with Astro
description: Why the portfolio moved from a React template to a typed, content-driven Astro build.
pubDate: 2026-10-31
tags: ['meta', 'astro']
---

The previous version of this site was a client-side React template. Its biggest flaw was
not aesthetic, but architectural: everything was rendered in the browser, so link
previews, crawlers and RSS readers saw an empty shell. It also carried a 2019-era
toolchain that needed a compatibility flag just to build.

The new version is a plain Astro build. The rules it follows:

- **Everything is markdown.** Projects and log entries live in `src/content/` with
  typed frontmatter. The frontmatter is validated at build time; a missing `title`
  fails the build with the exact filename, which makes editing safe.
- **One brain.** The same renderer produces the homepage, project pages, tag pages,
  this blog, the RSS feed and the sitemap. Nothing is duplicated.
- **Static by default, islands when a demo earns it.** The NTT butterfly demo is a
  few kilobytes of vanilla JavaScript. No WebAssembly, no trackers, no external fonts.
- **Portable output.** The build emits root-absolute URLs, then a post-build step
  rewrites them to path-relative ones, so `dist/` renders correctly from any mount
  point — a subdirectory viewer today, a domain root tomorrow.

The writing is intentionally plain: status and authorship labels on every project, so
it is always clear what was built by hand and what was generated.
