refactored header.blade

This commit is contained in:
2025-03-16 00:41:01 +01:00
parent 78e7338aa8
commit 2f19be09de
7 changed files with 52 additions and 12 deletions
+17 -4
View File
@@ -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>