@php use Botble\Base\Facades\BaseHelper; use Botble\Media\Facades\RvMedia; /** * Mirrors html/home-fashion.html `testimonial-v01 style-6 hover-img4` * (line 2643-2735). Each slide is a card with a 330x330 square image on top * (img-style4 hover effect) and beneath it: 5 stars, quote, then a * "name / role" line in caption text. 4-up swiper at xl, 3 at md, 2 at sm. */ $autoplay = ($shortcode->autoplay ?? 'yes') === 'yes'; @endphp
@foreach ($items as $i => $item) @php $rating = (int) ($item['rating'] ?? 0); @endphp
0) data-wow-delay="0.{{ $i }}s" @endif>
@if (! empty($item['avatar']))
{!! RvMedia::image($item['avatar'], $item['name'] ?? '', 'thumb', false, ['loading' => 'lazy', 'width' => 330, 'height' => 330, 'decoding' => 'async']) !!}
@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'] ?? '') }} @if (! empty($item['role'])) /{{ BaseHelper::clean($item['role']) }} @endif
@endforeach