You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
744 B
27 lines
744 B
@props([
|
|
'title' => null,
|
|
'subtitle' => null,
|
|
])
|
|
|
|
<div {{ $attributes->merge(['class' => 'card']) }}>
|
|
<div class="card-body">
|
|
<div class="mb-3 d-flex justify-content-between align-items-center">
|
|
<div>
|
|
@if ($title)
|
|
<h3 class="card-title">{{ $title }}</h3>
|
|
@endif
|
|
|
|
@if ($subtitle)
|
|
<h6 class="card-subtitle text-muted">{{ $subtitle }}</h6>
|
|
@endif
|
|
</div>
|
|
@isset($actions)
|
|
<div>
|
|
{{ $actions }}
|
|
</div>
|
|
@endisset
|
|
</div>
|
|
|
|
{{ $slot }}
|
|
</div>
|
|
</div>
|
|
|