{{-- --}}
{{--
--}}
@auth
{{ auth()->user()->name }}
{{ collect(auth()->user()->roles ?? [])->pluck('name')->join(', ') ?: 'Admin' }}
  • الملف الشخصي
  • @csrf
@else {{-- Optionnel : affichage pour visiteurs (bouton connexion, icône, etc) --}} @endauth
{{-- scripts (keep bundle) --}}