{{-- Fallback universal dashboard --}} {{ __('Dashboard') }} — {{ config('app.name', 'RP Learning Portal') }} @vite(['resources/css/app.css', 'resources/js/app.js'])

{{ __('Welcome back,') }} {{ auth()->user()?->name ?? 'User' }}!

{{ __('You are logged in to') }} {{ config('app.name') }}.

{{-- Checks Spatie roles collection directly to find unassigned users --}} @if(!auth()->user() || auth()->user()->getRoleNames()->isEmpty() || auth()->user()->hasRole('guest'))
{{ __('Your account has not been assigned a role yet. Please contact your administrator.') }}
@endif
{{ __('Home') }}
@csrf