Initial commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
@props(['title' => null, 'subtitle' => null])
|
||||
|
||||
<div class="overflow-hidden rounded-3xl border border-slate-200 bg-white shadow-sm shadow-slate-200/50">
|
||||
@if ($title || $subtitle)
|
||||
<div class="border-b border-slate-200 px-6 py-5">
|
||||
@if ($title)
|
||||
<h3 class="text-base font-semibold text-slate-900">{{ $title }}</h3>
|
||||
@endif
|
||||
@if ($subtitle)
|
||||
<p class="mt-1 text-sm text-slate-500">{{ $subtitle }}</p>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="p-6">
|
||||
{{ $slot }}
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user