Adding resources/views/components/divider.blade.php
This commit is contained in:
parent
6325109e80
commit
a8f5b2464a
1 changed files with 9 additions and 0 deletions
9
resources/views/components/divider.blade.php
Normal file
9
resources/views/components/divider.blade.php
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue