@stack('head') @php $viteHot = file_exists(public_path('hot')); $viteManifest = file_exists(public_path('build/manifest.json')); @endphp @if($viteHot || $viteManifest) @vite(['resources/css/app.css', 'resources/js/app.js']) @else @endif
Super Admin {{ auth()->user()->name ?? 'Super Admin' }}
{{ strtoupper(substr(auth()->user()->name ?? 'SA', 0, 1)) }}
@if(isset($header) || $__env->hasSection('header'))
@hasSection('header') @yield('header') @elseif(isset($header)) {{ $header }} @endif @if(session('success'))

{{ session('success') }}

@endif @if(session('error'))

{{ session('error') }}

@endif
@else

@yield('title', 'Super Admin Dashboard')

@yield('subtitle', 'Complete business oversight and management')

@if(session('success'))

{{ session('success') }}

@endif @if(session('error'))

{{ session('error') }}

@endif
@endif
@hasSection('content') @yield('content') @else {{ $slot ?? '' }} @endif
@stack('scripts')