BlueBando
{{ strtoupper(substr(auth()->user()->name ?? 'U',0,1)) }}
{{ auth()->user()->name ?? 'User' }}
@php $u = auth()->user(); $role = ($u && method_exists($u,'getRoleNames') && $u->getRoleNames()->count()) ? $u->getRoleNames()->first() : ($u->role ?? 'member'); @endphp {{ ucfirst($role) }} @php $freelancerProfile = \App\Models\Freelancer::where('user_id', auth()->id())->first(); @endphp @if($freelancerProfile) Freelancer Portal @endif
@csrf