@php use Illuminate\Support\Facades\Auth; $role = Auth::user()->role ?? null; $currentRoute = Route::currentRouteName(); $navbarHexColor = '#003366'; // Custom navbar color $avatarUrl = asset('images/avatar-human.png'); // Avatar path @endphp {{-- Public Menu --}} Home About Contact Us {{-- Role-Specific Dashboards --}} @auth @if ($role === 'admin') Admin Dashboard @elseif ($role === 'agent') Agent Dashboard @elseif ($role === 'client') Client Dashboard @endif Profile Logout @csrf @endauth