separate component views

This commit is contained in:
hackerESQ
2024-08-03 23:52:53 -05:00
parent 7b4b80620c
commit 6eabf6bbf4
5 changed files with 59 additions and 10 deletions
@@ -0,0 +1,10 @@
@props(['title' => ''])
<x-card
{{ $attributes->merge(['class' => 'bg-slate-100 dark:bg-base-200 rounded-lg']) }}
>
<h2 class="text-xl mb-2"> {{ $title }} </h2>
{{ $slot }}
</x-card>