@php $user = Auth::user(); @endphp
@if ($user->getFirstMediaUrl('avatar')) @else @endif

{{ Auth::user()->name }}

4.61 (18 Ratings)