@foreach($navItems as $item)
@php
$link = $item->getLink();
$target = $item->getTarget();
$icon = $item->getIconHtml();
$hasChildren = $item->hasChildren();
$dropdownClass = $item->getDropdownClass();
@endphp
@if($hasChildren && $item->level < 4)
@else
{!! $icon !!} {{ $item->getDisplayLabel() }}
@endif
@endforeach