@php use Botble\Base\Facades\BaseHelper; use Botble\Media\Facades\RvMedia; use Botble\Shortcode\Facades\Shortcode; $heading = (string) ($shortcode->heading ?? ''); $subtitle = (string) ($shortcode->subtitle ?? ''); $verifiedLabel = (string) ($shortcode->verified_label ?? __('Verified Buyer')); $items = Shortcode::fields()->getTabsData(['image', 'name', 'text'], $shortcode); $resolveImage = static fn (?string $path): string => $path ? RvMedia::getImageUrl($path, null, false, RvMedia::getDefaultImage()) : RvMedia::getDefaultImage(); @endphp {{-- .testimonial-v01 image sizing rules live in assets/sass/component/_inline-migrated.scss. --}}
htmlAttributes() !!} class="flat-spacing">
@if ($heading || $subtitle)
@if ($heading)

{{ $heading }}

@endif @if ($subtitle)

{!! BaseHelper::clean($subtitle) !!}

@endif
@endif
@foreach ($items as $tes)
@if (! empty($tes['image']))
{{ $tes['name'] ?? '' }}
@endif
@for ($s = 0; $s < 5; $s++) @endfor
@if (! empty($tes['name']))

{{ $tes['name'] }}

@endif
{{ $verifiedLabel }}
@if (! empty($tes['text']))

{!! BaseHelper::clean($tes['text']) !!}

@endif
@endforeach