@php $path=isset(Auth::user()->pegawai) ? asset(Auth::user()->pegawai->foto) : 'https://images.unsplash.com/photo-1511367461989-f85a21fda167?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1631&q=80';
if (Storage::exists(Auth::user()->photos)) {
$path = Storage::url(Auth::user()->photos);
}
@endphp
{{ ucwords(Auth::user()->name) }}