@props(['subCategory', 'items', 'bundle']) @php $index = 0; @endphp
{{ $item }}
@endif @else @php $index++; @endphp @if(Str::contains($key, '://')) {!! App\Models\Url::from($key, $bundle)->toHtmlElement('[' . $index . ']') !!} @else {{ $key }} @endif @endif @endforeach