{{-- HomeAuto banner trio — mirrors html/home-auto.html: bare-section / swiper data-preview="3" / banner-image-text type-abs style-7 hover-img. --}}
@foreach ($items as $i => $item) @php $idx = $i + 1; $image = $item['image'] ?? null; $link = $item['link'] ?? '#'; $title = (string) ($shortcode->{"title_$idx"} ?? ''); $desc = (string) ($shortcode->{"description_$idx"} ?? ''); $btn = (string) ($shortcode->{"button_text_$idx"} ?? __('View More')); $buttonClass = $idx === 3 ? 'tf-btn btn-white hv-primary small' : 'tf-btn btn-white small'; @endphp
@endforeach