| 1 | --- |
| 2 | // A plain Astro component styled with Tailwind utility classes. |
| 3 | interface Props { |
| 4 | title: string; |
| 5 | body: string; |
| 6 | } |
| 7 | |
| 8 | const { title, body } = Astro.props; |
| 9 | --- |
| 10 | |
| 11 | <div class="mt-6 max-w-md rounded-xl border border-slate-200 bg-white p-6 shadow-sm"> |
| 12 | <h2 class="text-lg font-semibold">{title}</h2> |
| 13 | <p class="mt-2 text-slate-600">{body}</p> |
| 14 | </div> |