Files
termscp/site/src/components/FeatureCard.astro
T
Christian Visintin a2d766d688 ci(site): add format/lint/test/build workflow for astro site
Add Site GitHub Actions workflow running prettier format check, astro
check, tests, and build on changes under site/. Wire prettier into the
site package with config, ignore, and scripts, and format existing
sources.
2026-06-08 10:16:00 +02:00

13 lines
252 B
Plaintext

---
interface Props {
title: string;
body: string;
}
const { title, body } = Astro.props;
---
<div class="rounded-lg border border-line bg-mantle p-5">
<h3 class="text-green">{title}</h3>
<p class="mt-2 text-sm text-subtext">{body}</p>
</div>