📅 Published on: 7 June 2025
9 days ago
#Astro #Web Development #Minimalism #Personal Site

Why I Built My Site with Astro, Tailwind, and MDX (And Skipped the Hype)

“Perfection is achieved not when there is nothing more to add, but when there is nothing left to take away.” — Antoine de Saint-Exupéry

This quote guided me as I sat down to build heynaveeen.space. I didn’t want animations for the sake of animations. I didn’t want a React app doing what plain HTML could do. I wanted a fast, minimal, and focused site — one that reflects my personality and serves my writing.

So, I chose Astro, TailwindCSS, and MDX.

Let me explain why.


Why Astro?

Astro is built for content-heavy sites. It lets me write in .mdx, build components in any framework (React, Vue, etc.), and output static HTML by default.

That last part is key. Most pages on my site — especially the /writings section — don’t need client-side interactivity. Astro strips out the JS and ships pure HTML/CSS. That makes it:

And when I do need interactivity? I can selectively hydrate components using Astro Islands.


Why TailwindCSS?

Tailwind makes styling declarative, predictable, and consistent. I’m not fighting with class names or scoping issues. I use the same mental model across components.

Here’s what Tailwind gives me:

It helps me focus on content, not CSS architecture.


Why MDX?

My writing — especially philosophical pieces or stories — needs occasional custom components: callouts, quotes, maybe footnotes. MDX lets me mix Markdown with components naturally.

It’s also how I separate layout logic from content. My /articles and /writings are powered by filesystem-based MDX files with frontmatter — clean, readable, and portable.


Why Not React/Next.js or WordPress?

React is great — for apps. But for a static site that’s 90% text? It’s overkill. I didn’t need routers, state management, or hydration on every page.

Next.js was tempting, but Astro is even more tailored for content-focused sites.

As for WordPress — I’ve used it, and I respect it. But for a minimalist developer who writes in Markdown and likes git versioning, it’s just not a good fit.


Site Structure That Works for Me

I’ve structured heynaveeen.space around my identity:

1. /writings

This is the core of my site.

Here I publish:

It’s intentionally minimal — so the words stand out. I use custom MDX layouts with optional tags like contentType to highlight whether it’s a ghazal, kavita, or nibandh.

2. /articles

This section hosts:

Each post shows tags, summaries, and a CTA like “Read full article →”. It’s structured for skim-readers and engineers alike.

3. Component-Based Structure with JSON-Configurable Styling


And everything sits on a clean, fast, accessible layout.


How It’s Benefiting Me


Final Thoughts

I built heynaveeen.space not to follow trends, but to create a space that reflects how I think and write — with clarity, calm, and intention.

Astro, Tailwind, and MDX gave me the tools to do that — without distractions or unnecessary complexity.

If you also value simplicity, speed, and writing-first design, this stack might just be the right fit for you too.