@php $avatars = $testimonials->pluck('name', 'image')->all(); $avatarChunks = array_chunk($avatars, ceil(count($avatars) / 2), true); @endphp
htmlAttributes() !!} class="shortcode-testimonials shortcode-testimonials-style-3 section-testimonial-4 section-padding position-relative overflow-hidden">
@if ($subtitle = $shortcode->subtitle)
dots {!! BaseHelper::clean($subtitle) !!}
@endif @if ($title = $shortcode->title)
{!! BaseHelper::clean($title) !!}
@endif @if ($description = $shortcode->description)

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

@endif
@if($avatarChunks) @foreach($avatarChunks as $avatars)
$loop->last, 'mt-8' => $loop->first])> @foreach($avatars as $avatar => $name) @continue(! $avatar)
{{ RvMedia::image($avatar, $name, 'thumb', attributes: ['class' => 'assessor rounded-circle border border-5 border-primary-soft']) }}
@endforeach
@endforeach @endif
@foreach($testimonials as $testimonial)
{{ $testimonial->name }}
@if ($company = $testimonial->company) {{ $company }} @endif
@if ($content = $testimonial->content)

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

@endif
@endforeach
@if($shortcode->background_image)
{{ RvMedia::image($shortcode->background_image, __('Image')) }}
@endif