added card component

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Pedro Cabral
2026-05-08 22:06:56 +02:00
parent 1bc3e5f885
commit 38df2d4fc8
4 changed files with 74 additions and 4 deletions

View File

@@ -56,11 +56,16 @@
<!-- CARDS -->
<section class="space-y-4">
<h2 class="text-xl font-semibold">Cards</h2>
<h3 class="text-l font-semibold">With Header</h3>
<div class="bg-surface p-6 rounded shadow">
<h3 class="font-semibold">Card title</h3>
<p class="text-text-muted">This is a simple card component.</p>
</div>
<x-card header="Card Header">
<p class="text-text-muted">This is a card component with header.</p>
</x-card>
<h3 class="text-l font-semibold">Without Header</h3>
<x-card>
<p class="text-text-muted">This is a card component without header.</p>
</x-card>
</section>
<!-- TYPOGRAPHY -->