@php $routeName = request()->route()->getName(); $segments = explode('.', $routeName); $firstSegment = $segments[0]; @endphp
/
@if (auth()->user()->hasRole(['customer']) && \Request::route()->getName() != 'welcome') @else @endif
@if (auth()->user()->hasRole(['customer'])) {{-- Notifications --}} @endif
@csrf @php $lang = App\Helpers\ConstantHelper::LANG; @endphp