refactored header.blade
This commit is contained in:
@@ -1,7 +1,20 @@
|
||||
<div class="bg-zinc-700 w-full border-b border-accent">
|
||||
<div class="container mx-auto py-6 px-4 sm:px-6 lg:px-8">
|
||||
<h2 class="font-semibold text-xl text-gray-800 dark:text-gray-200 leading-tight">
|
||||
{{ $slot }}
|
||||
</h2>
|
||||
<div class="container mx-auto py-6 px-4 sm:px-6 lg:px-8 flex justify-between">
|
||||
<x-header.header-left>
|
||||
@isset($headerleft)
|
||||
{{ $headerleft }}
|
||||
@endisset
|
||||
</x-header.header-left>
|
||||
<div>
|
||||
<h2 class="font-semibold text-2xl text-gray-800 dark:text-gray-200 leading-tight">
|
||||
{{ $slot }}
|
||||
</h2>
|
||||
</div>
|
||||
<x-header.header-right>
|
||||
@isset($headerright)
|
||||
{{ $headerright }}
|
||||
@endisset
|
||||
</x-header.header-right>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user