@php use Botble\Base\Facades\BaseHelper; use Botble\Media\Facades\RvMedia; /** * Feature callout quad — central exploded product image + 4 feature callouts arranged * around it. Mirrors home-sneaker.html §7 (lines 2670-2740) `section-feature-v2 > * banner-feature style-2` with `feature-image` (central) + `feature-detail_list * sm-col-2` (2x2 grid of pst-s1..s4 callouts). * * Each callout has icon + name + desc. Position classes (pst-s1..s4) determine the * layout: s1+s2 = LEFT side (text-right aligned), s3+s4 = RIGHT side. */ $features = []; foreach ([1, 2, 3, 4] as $i) { $name = trim((string) ($shortcode->{"feature_{$i}_name"} ?? '')); $icon = trim((string) ($shortcode->{"feature_{$i}_icon"} ?? '')); $desc = trim((string) ($shortcode->{"feature_{$i}_desc"} ?? '')); if ($name === '' && $icon === '') continue; $features[] = ['name' => $name, 'icon' => $icon, 'desc' => $desc]; } @endphp {{-- .section-feature-v2 central exploded product image + 4 feature callouts layout lives in assets/sass/component/_inline-migrated.scss. --}}
htmlAttributes() !!} class="section-feature-v2 flat-spacing">
@if (! empty($shortcode->title ?? '') || ! empty($shortcode->subtitle ?? ''))
@if (! empty($shortcode->title ?? ''))

{!! BaseHelper::clean($shortcode->title) !!}

@endif @if (! empty($shortcode->subtitle ?? ''))

{!! BaseHelper::clean($shortcode->subtitle) !!}

@endif
@endif