{{-- The app is dark-only: .dark is fixed on the root rather than toggled. --}} {{ $title ?? 'Dashboard' }} — {{ config('app.name') }} @php // Built here rather than inline: Blade's @json directive cannot parse a // multi-line array argument and silently truncates it. $tfConfig = [ 'broadcast' => config('broadcasting.client'), 'csrf' => csrf_token(), ]; @endphp @vite(['resources/css/app.css', 'resources/js/app.js'])
{{-- ---------------------------------------------------------- sidebar --}} {{-- ------------------------------------------------------------- main --}}
@isset($header) {{ $header }} @else

{{ $title ?? 'Dashboard' }}

@endisset
{{-- user menu --}}
{{ $slot }}
@livewireScripts