vagar

First Steps with Astro

This is placeholder writing while the publishing flow is taking shape. It gives the index a real entry and leaves a few Markdown examples available for styling work.

A small Astro component can keep data and markup together:

---
const greeting = "Hello from Astro";
---

<h1>{greeting}</h1>

The same component can render a list of links from an array:

---
const links = [
  { label: "Home", href: "/" },
  { label: "Writing", href: "/writing" },
];
---

<nav>
  {links.map((link) => <a href={link.href}>{link.label}</a>)}
</nav>