merge(['class' => 'page-title']) }}>

{{ $pageTitle }} @lang('app.menu.home') • @php $link = ''; @endphp @for ($i = 1; $i <= count(Request::segments()); $i++) @if (($i < count(Request::segments())) && ($i > 0)) @php $link .= '/' . Request::segment($i); @endphp @if (Request::segment($i) != 'account') @php $langKey = 'app.'.str(Request::segment($i))->camel(); if (!Lang::has($langKey)) { $langKey = str($langKey)->replace('app.', 'app.menu.')->__toString(); } $segmentText = Lang::has($langKey) ? __($langKey) : ucwords(str_replace('-', ' ', Request::segment($i))); $segmentLink = str_contains(url()->current(), 'public') ? '/public' . $link : $link; @endphp @if (in_array(Request::segment($i), App\Enums\NonClickableSegments::getValues())) {{ $segmentText }} • @else {{ $segmentText }} • @endif @endif @else {{ $pageTitle }} @endif @endfor