mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
24 lines
649 B
PHP
24 lines
649 B
PHP
<div class="{{ $cardClasses }}">
|
|
@if ($header)
|
|
{{ $header }}
|
|
@elseif ($title || $action)
|
|
<div class="{{ $headerClasses }}">
|
|
<h3 class="font-medium whitespace-normal text-md text-secondary-700 dark:text-secondary-400">{{ $title }}</h3>
|
|
|
|
@if ($action)
|
|
{{ $action }}
|
|
@endif
|
|
</div>
|
|
@endif
|
|
|
|
<div {{ $attributes->merge(['class' => "{$padding} text-secondary-700 rounded-b-xl grow dark:text-secondary-400"]) }}>
|
|
{{ $slot }}
|
|
</div>
|
|
|
|
@if ($footer)
|
|
<div class="{{ $footerClasses }}">
|
|
{{ $footer }}
|
|
</div>
|
|
@endif
|
|
</div>
|