@php use Botble\Base\Facades\BaseHelper; use Botble\Media\Facades\RvMedia; /** * Mirrors home-sneaker.html §8 `testimonial-v05` (lines 2750-2820): 2-up swiper * with cards split LEFT (345×380 lifestyle image) + RIGHT (5★ + quote + name). * White card bg on cream section wrap. */ $autoplay = ($shortcode->autoplay ?? 'yes') === 'yes'; @endphp {{-- .testimonials-style-card-image-left + .testimonial-v05 split-card layout lives in assets/sass/component/_inline-migrated.scss. --}}
@foreach ($items as $i => $item) @php $rating = (int) ($item['rating'] ?? 5); @endphp
0) data-wow-delay="0.{{ $i }}s" @endif> @if (! empty($item['avatar']))
{!! RvMedia::image($item['avatar'], $item['name'] ?? '', 'medium', false, ['loading' => 'lazy', 'width' => 345, 'height' => 380]) !!}
@endif
@if ($rating > 0)
@for ($s = 1; $s <= 5; $s++) @endfor
@endif @if (! empty($item['content']))

{!! BaseHelper::clean($item['content']) !!}

@endif
{{ BaseHelper::clean($item['name'] ?? '') }}
@endforeach