Welcome to My Blog

· Your Name 2 min read
A laptop with code on the screen
Modern web development with Astro

Welcome to my new blog! This is a sample post to get you started.

Why Astro?

Astro Framework

Astro is an amazing framework for building content-focused websites. Here are some reasons why:

  1. Performance: Astro ships zero JavaScript by default
  2. Flexibility: Use any UI framework you want
  3. Content-focused: Built-in support for Markdown and MDX
  4. Developer Experience: Amazing DX with hot module reloading

Here’s a simple example of using Astro components:

---
import Layout from '../layouts/Layout.astro';
import Card from '../components/Card.astro';

const title = "My Astro Site";
---

<Layout title={title}>
  <main>
    <h1>Welcome to {title}</h1>
    <Card 
      title="Getting Started"
      body="Create your first Astro site!"
      href="/docs/getting-started"
    />
  </main>
</Layout>

What’s Next?

Start writing your own blog posts! Just create new .md or .mdx files in the src/content/blog directory.

More Posts