| 1 | <script setup lang="ts"> |
| 2 | // A Vue component styled with Tailwind utility classes. |
| 3 | defineProps<{ title: string; body: string }>(); |
| 4 | </script> |
| 5 | |
| 6 | <template> |
| 7 | <div |
| 8 | class="mt-6 max-w-md rounded-xl border border-slate-200 bg-white p-6 shadow-sm" |
| 9 | > |
| 10 | <h2 class="text-lg font-semibold">{{ title }}</h2> |
| 11 | <p class="mt-2 text-slate-600">{{ body }}</p> |
| 12 | </div> |
| 13 | </template> |