Hello World: Building a Modern Blog with Astro
Introduction
Welcome to my new personal tech blog! This project was built from scratch to be fast, minimal, and geeky.
Tech Stack
Here is the tech stack I chose for this project:
- Framework: Astro (v5.0)
- Styling: Tailwind CSS + Shadcn/UI
- Language: TypeScript
Code Snippet
Here is how I defined the content schema:
// src/content/config.ts
import { defineCollection, z } from 'astro:content';
const blog = defineCollection({
type: 'content',
schema: z.object({
title: z.string(),
// ...
}),
});
Stay tuned for more updates!