Why I Rebuilt My Business Site with Astro

A quick note on ditching Next.js for a simpler stack on a site that didn't need the complexity.

This is an example blog post. Replace it with your own content.

MDX means you can write standard Markdown here, but also import and use React components:

import SomeComponent from "../../components/SomeComponent.tsx";
<SomeComponent />;

How to add a new post

  1. Duplicate this file in src/content/blog/
  2. Rename it to your post slug (e.g. my-new-post.mdx)
  3. Update the frontmatter at the top
  4. Write your content below the second ---
  5. Push to Git — it builds and deploys automatically