Austin Hagel

Contact Me

Building a Personal Site with Astro

After years of putting it off, I finally rebuilt my personal website — and I'm pretty happy with how it turned out. Here's what I learned along the way.

Why Astro?

I've built personal sites in plain HTML, React, and even SvelteKit. This time I wanted something that felt right for mostly-static content but didn't force me to give up interactivity where I needed it.

Astro's island architecture was exactly that. Static by default, interactive on demand.

> The best tool is the one that gets out of your way.

The Component Split

I settled on a clear rule:

This turned out to be a great mental model. The AppBar needs scroll detection — Svelte. The footer is just links — Astro. No ambiguity.

Styling Without a Framework

I went with custom SCSS and CSS custom properties instead of Tailwind or any utility framework. A few reasons:

1. Full control over the design language 2. No purging concerns or class-name sprawl 3. OKLCH color space works beautifully with CSS variables

The breakout grid technique from Kevin Powell made layout a pleasure.

What I'd Do Differently

Overall though: Astro was the right call. Highly recommend it for anyone building a content-focused personal site.

A woman sitting on a ledge in front of a steel arch bridge at sunset
A woman sitting on a ledge in front of a steel arch bridge at sunset

Comments

Loading comments…