@php use Illuminate\Support\Str; @endphp @aware(['page'])

Categories

@foreach($categories as $category) @php $catId = Str::slug($category['name']) @endphp @if(!empty($category['image']) && !empty($category['subitems']))
@foreach($category['subitems'] as $subitem) @php $subId = Str::slug($subitem['title']) @endphp @if(!empty($subitem['image']))
@if(isset($subitem['pointers'])) @if($subitem['pointers']) @push('inlinescript') @php $safeVarName = 'pointers' . preg_replace('/[^A-Za-z0-9_]/', '_', $subitem['name']); @endphp @endpush @endif @endif
@endif @endforeach
@endif @endforeach