src/pages/index.astro
---
import CounterCard from '../components/CounterCard.astro'
import '../styles/global.css'
const features = ['Real .astro syntax', 'Scoped styles', 'Local components']
---
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<meta
name="description"
content="A real Astro page compiled in the browser."
/>
<title>Astro Playground</title>
</head>
<body>
<main class="app-shell">
<p class="eyebrow">Astro 7 · Browser preview</p>
<h1>Build content-first pages</h1>
<p class="intro">
Edit Astro components, import local files, and use client scripts for
focused interaction.
</p>
<ul class="feature-list">
{features.map((feature) => <li>{feature}</li>)}
</ul>
<CounterCard start={2} />
</main>
</body>
</html>