1
0
Fork 0

Adding resources/views/components/divider.blade.php

This commit is contained in:
Henrik Hautakoski 2021-08-03 20:41:31 +02:00
parent 6325109e80
commit a8f5b2464a

View file

@ -0,0 +1,9 @@
@if (strlen($slot) > 0)
<div class="flex items-center justify-between my-4">
<div class="bg-gray-200 h-px w-full"></div>
<div class="text-gray-400 mx-4 uppercase">{{ $slot }}</div>
<div class="bg-gray-200 h-px w-full"></div>
</div>
@else
<div class="bg-gray-200 h-px w-full my-6"></div>
@endif