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

@@ -0,0 +1,10 @@
<div class="card bg-surface rounded border border-primary shadow">
@if(!empty($header))
<div class="card-header p-4 border-b border-primary">
<h3 class="font-semibold">{{ $header }}</h3>
</div>
@endif
<div class="card-body p-4">
{{ $slot }}
</div>
</div>