{{ __('Dashboard') }} @if(Auth::user()->roles->count() > 0) - {{ Auth::user()->roles->first()->name }} @endif

{{ now()->format('l, F j, Y') }}

Welcome back, {{ Auth::user()->name }}!

Here's your dashboard overview for today.

Your Role:

@if(Auth::user()->roles->count() > 0) {{ Auth::user()->roles->first()->name }} @else No Role Assigned @endif
@if(Auth::user()->hasRole('SuperAdmin')) @include('dashboard.superadmin') @elseif(Auth::user()->hasRole('Contractor')) @include('dashboard.contractor') @elseif(Auth::user()->hasRole('Consultant')) @include('dashboard.consultant') @elseif(Auth::user()->hasRole('ClientA')) @include('dashboard.client-a') @elseif(Auth::user()->hasRole(['ClientB', 'ClientC'])) @include('dashboard.client-bc') @else @include('dashboard.default') @endif