@php $user = auth()->user(); $role = $user->roles->pluck('name')[0]; @endphp