@if($menu->children->count())
    @foreach($menu->children as $item)
        <div class="vt-menu-item">
            <a href="{{ $item->data->route()->getRoutePath() }}" class="vt-menu-link {{ request()->routeIs($item->data->route()->getRouteName()) ? 'active' : '' }}">
                <span class="vt-menu-icon">
                    {!! theme()->icon($item->data->route()->getRouteName() instanceof \Illuminate\Database\Eloquent\Model ? '' : $item->data->route()->getRouteName()) ?? '' !!}
                </span>
                <span class="vt-menu-text">{{ $item->data->title() }}</span>
            </a>
        </div>
    @endforeach
@endif
