vito/resources/views/components/section.blade.php
Saeed Vaziry 5c72f12490 init
2023-07-02 12:47:50 +02:00

20 lines
609 B
PHP

<div {!! $attributes->merge(['class' => 'flex justify-between md:col-span-1 mb-5']) !!}>
@if(isset($title) || isset($description))
<div>
@if(isset($title))
<h3 class="text-lg font-medium text-gray-900 dark:text-gray-300">{{ $title }}</h3>
@endif
@if(isset($description))
<p class="mt-1 text-sm text-gray-600 dark:text-gray-400">
{{ $description }}
</p>
@endif
</div>
@endif
@if(isset($aside))
<div>
{{ $aside }}
</div>
@endif
</div>