updated headerbar with headeraction option

This commit is contained in:
2025-03-10 16:14:49 +01:00
parent df43c77f87
commit 9fd01ee43a
5 changed files with 30 additions and 12 deletions
+17 -7
View File
@@ -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 -->