@if (getAuthUserInfo('avatar') && file_exists(public_path('storage/avatars/' . getAuthUserInfo('avatar'))))
@endif
@if (getAuthUserInfo('avatar') && file_exists(public_path('storage/avatars/' . getAuthUserInfo('avatar'))))
@php $avatar = getAuthUserInfo('avatar'); @endphp
@else
{{ ucfirst(getAuthUserInfo('username')[0]) }}
@endif