@php $user = auth()->user(); $roleName = $user->role->nama ?? '-'; $initials = collect(explode(' ', $user->name ?? '?'))->map(fn ($w) => mb_substr($w, 0, 1))->take(2)->implode(''); @endphp

@yield('page-title', 'Dashboard')

@hasSection('page-subtitle')

@yield('page-subtitle')

@endif