@props(['data' => []])
@if(!empty($data['section_title']) || !empty($data['section_subtitle']))
@if(!empty($data['section_badge']))

{{ $data['section_badge'] }}

@endif @if(!empty($data['section_title']))

{{ $data['section_title'] }}

@endif @if(!empty($data['section_subtitle']))

{{ $data['section_subtitle'] }}

@endif
@endif @if(!empty($data['testimonials']))
@foreach($data['testimonials'] as $testimonial)
@if(!empty($testimonial['rating']))
@for($i = 0; $i < ($testimonial['rating'] ?? 5); $i++) @endfor
@endif @if(!empty($testimonial['quote']))

"{{ $testimonial['quote'] }}"

@endif
@if(!empty($testimonial['avatar'])) avatar @endif
@if(!empty($testimonial['name']))
{{ $testimonial['name'] }}
@endif @if(!empty($testimonial['position']))

{{ $testimonial['position'] }}

@endif
@endforeach
@endif