{{-- Always show Dashboard --}} Dashboard {{-- Admin Links --}} @if(auth()->user()->hasRole('Admin')) Admin Panel Projects Leads Financials Domains Attendance @endif {{-- Tech Lead Links --}} @if(auth()->user()->hasRole('Tech Lead')) Tech Lead Panel Education Leads @endif {{-- Developer Links --}} @if(auth()->user()->hasRole('Developer')) Dev Panel @endif {{-- Sales Links --}} @if(auth()->user()->hasRole('Sales')) Sales Panel @endif
{{ auth()->user()->getRoleNames()->first() ?? 'No Role' }}
{{ __('Profile') }}
@csrf {{ __('Log Out') }}
Dashboard @if(auth()->user()->hasRole('Admin')) Admin Panel Projects Leads Financials Domains Attendance @endif @if(auth()->user()->hasRole('Tech Lead')) Tech Lead Panel Education Leads @endif @if(auth()->user()->hasRole('Developer')) Dev Panel @endif @if(auth()->user()->hasRole('Sales')) Sales Panel @endif
{{ Auth::user()->name }}
{{ Auth::user()->name }}
{{ Auth::user()->email }}
{{ auth()->user()->getRoleNames()->first() ?? 'No Role' }}
Profile
@csrf