@php $role = null; if(auth()->user()->hasRole('admin')) $role = 'Admin'; elseif(auth()->user()->hasRole('wholeseller')) $role = 'Wholeseller'; @endphp {{ config('app.name') }} - {{ $role }}