@props(['title' => null, 'heading' => null, 'subheading' => null]) {{ $title ? $title.' — '.config('app.name') : config('app.name') }} @vite(['resources/css/app.css', 'resources/js/app.js'])
{{-- Sticky and exactly one viewport tall on desktop. As a plain static flex item it stretched to the height of the page, so the menu never needed to scroll and the account block sat at the foot of the page instead of the sidebar. --}}

{{ $heading ?? $title }}

@if ($subheading)

{{ $subheading }}

@endif
@isset($actions)
{{ $actions }}
@endisset
@if (session()->has('impersonator_id'))
Anda sedang melayari sebagai {{ auth()->user()->name }}.
@csrf @method('DELETE')
@endif
{{ $slot }}