@php if(empty($disabled)) { $disabled = NULL; } @endphp @if(isset($pageNosEngagements) && $pageNosEngagements->childPages->count())
@php $count = 1; @endphp @foreach($pageNosEngagements->childPages as $childPage) @php $route = \App\Helpers\RouteHelper::routeNameChecker("front.dynamic-pages.$childPage->id_key"); @endphp @if(isset($childPage->content['list_identification']))
$route === url()->current() || $disabled == $count, ])> @if(!empty($childPage->content['list_identification'][0]['image_icon']))
{{ !empty($childPage->content['list_identification'][0]['string_label']) ? $childPage->content['list_identification'][0]['string_label'] : 'engagement' }}
@endif @if(!empty($childPage['text']))
{{ $childPage['text'] }}
@endif {{ $childPage->content['list_identification'][0]['string_label'] }}
@endif @php $count++; @endphp @endforeach
@endif