comparison publishable/resources/views/components/card.blade.php @ 4:84c75d9d90be

Changing usage to be bootstrap 5, not everything is reviewed but it's been started
author luka
date Tue, 19 Aug 2025 20:33:35 -0400
parents b44434aaa767
children
comparison
equal deleted inserted replaced
3:e107504fa22c 4:84c75d9d90be
4 'empty' => 'Nothing to show.', 4 'empty' => 'Nothing to show.',
5 'footer' => null, // Optional (e.g. a "View All" link) 5 'footer' => null, // Optional (e.g. a "View All" link)
6 'headerButton' => null, //button or link for the right side of the header 6 'headerButton' => null, //button or link for the right side of the header
7 ]) 7 ])
8 8
9 <div class="bg-white p-4 rounded-lg shadow min-h-[200px]"> 9 <div class="dashboard-card">
10 <div class="flex justify-between items-center">
11 <h4 class="font-semibold text-gray-800 mb-3 flex items-center">
12 {!! $icon ?? '' !!}
13 <span class="ml-2">{{ $title }}</span>
14 </h4>
15 {!! $headerButton !!}
16 </div>
17 {{ $slot }}
18 @if ($footer)
19 <div class="text-right mt-3">
20 {!! $footer !!}
21 </div>
22 @endif
23 </div> 10 </div>