@vite(['resources/css/app.css', 'resources/js/app.js']) @stack("styles") {{-- Added for consistency if any page pushes styles --}} {{-- Make this a flex column container to allow footer with mt-auto to stick to bottom --}}
@include('layouts.navigation') @if (isset($header))
{{-- Added dark:bg-gray-800 for dark mode consistency --}}
{{ $header }}
@endif
{{-- Added flex-grow to make main content take available space --}} @hasSection('content') @yield('content') @else {{ $slot ?? '' }} @endif
{{-- Copied Footer from admin.blade.php --}}
@stack("scripts") {{-- Added for consistency if any page pushes scripts --}}