updated headerbar with headeraction option
This commit is contained in:
@@ -23,15 +23,25 @@
|
||||
<x-banner />
|
||||
|
||||
<div>
|
||||
<x-navbar></x-navbar>
|
||||
<x-navbar />
|
||||
|
||||
<!-- Page Heading -->
|
||||
@if (isset($header))
|
||||
<header class="bg-white dark:bg-gray-800 shadow-sm">
|
||||
<div class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
|
||||
{{ $header }}
|
||||
</div>
|
||||
</header>
|
||||
@if (isset($header) || isset($headeraction))
|
||||
<div class="bg-white dark:bg-zinc-700 shadow-sm ">
|
||||
<div class="flex justify-between max-w-7xl mx-auto">
|
||||
@if (isset($header))
|
||||
<x-header>
|
||||
{{ $header }}
|
||||
</x-header>
|
||||
@endif
|
||||
|
||||
@if (isset($headeraction))
|
||||
<x-headeraction>
|
||||
{{ $headeraction }}
|
||||
</x-headeraction>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<!-- Page Content -->
|
||||
|
||||
Reference in New Issue
Block a user