← All projects

Portfolio Website

This site — a fast, static portfolio built with Astro and deployed on Vercel.

  • Astro
  • TypeScript
  • Vercel
  • CSS

This site itself — a personal portfolio built with Astro and deployed on Vercel.

Aim

I wanted a portfolio I could actually maintain: somewhere adding a project is a single Markdown file rather than hand-written HTML, that loads fast on a phone, that reads well in both light and dark, and that search engines and link previews understand. Just as much, I wanted the site to be a project in its own right — evidence of the same requirements-first, structured approach I bring to other work, not just a page that lists it.

What I built

  • Content-driven projects. Each project is a Markdown file validated against a typed schema (title, description, dd/mm/yyyy date, tags, optional links, featured and draft flags). Drafts are excluded from the build and invalid dates fail it, so the content can’t quietly drift out of shape.
  • Fast by default. Astro ships zero client-side JavaScript here, so pages are static HTML and CSS. One data file (site.ts) holds everything personal, so updating the site never means touching markup.
  • Designed for both themes. A single set of CSS custom properties drives a light and dark palette that follows the visitor’s system preference, with reduced-motion handling for anyone who asks for it.
  • Accessible. A skip link, visible keyboard focus, and aria-current navigation, checked against astro check and the dev server.
  • SEO and sharing. Canonical URLs, Open Graph and Twitter card tags, a generated sitemap.xml, a robots.txt, and a custom 404 — with the canonical site URL derived from Vercel’s environment so it stays correct across preview and production deploys.

Result

A live site at henrybrock.dev that deploys automatically on every push to main and that I can extend by dropping in a new Markdown file. The write-up you’re reading is one of those files.