@if ($image = $shortcode->image) {{ RvMedia::image($image, $shortcode->title) }} @endif @if ($bgImage = $shortcode->background_image) {{ RvMedia::image($bgImage, $shortcode->title, attributes: ['class' => 'shape-one']) }} @endif @if ($bgImage1 = $shortcode->background_image_1) {{ RvMedia::image($bgImage1, $shortcode->title, attributes: ['class' => 'shape-two']) }} @endif @if ($bgImage2 = $shortcode->background_image_2) {{ RvMedia::image($bgImage2, $shortcode->title, attributes: ['class' => 'shape-three']) }} @endif
@if ($subtitle = $shortcode->subtitle) {!! BaseHelper::clean($subtitle) !!} @endif @if ($title = $shortcode->title)

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

@endif
@if ($testimonials->isNotEmpty())
@foreach($testimonials as $testimonial)
@if ($bgImage3 = $shortcode->background_image_3)
{{ RvMedia::image($bgImage3, $testimonial->name) }}
@endif

{!! BaseHelper::clean(Str::limit($testimonial->content, 150)) !!}

{{ RvMedia::image($testimonial->image, $testimonial->name) }}

{{ $testimonial->name }}

{{ $testimonial->company }}
@endforeach
@endif