@php // Dynamically determine the dashboard route based on the user's role column $dashboardRoute = match(auth()->user()->role ?? 'respondent') { 'admin' => route('admin.dashboard'), 'researcher' => route('researcher.dashboard'), default => route('respondent.dashboard'), }; @endphp
{{ __('Dashboard') }}
{{ __('Profile Settings') }} @if((auth()->user()->role ?? '') === 'respondent' && Route::has('respondent.profile.kyc')) {{ __('KYC Verification') }} @endif
@csrf {{ __('Log Out') }}
{{ __('Dashboard') }}
{{ Auth::user()->name }}
{{ Auth::user()->email }}
{{ __('Profile Settings') }} @if((auth()->user()->role ?? '') === 'respondent' && Route::has('respondent.profile.kyc')) {{ __('KYC Verification') }} @endif
@csrf {{ __('Log Out') }}