{{-- ===== TESTIMONIALS ===== --}} @php $c = $content ?? collect(); $testTitle = $c->has('title') ? $c->get('title')->content_value : __('sections.testimonials.title'); $testSubtitle = $c->has('subtitle') ? $c->get('subtitle')->content_value : __('sections.testimonials.subtitle'); $itemsJson = $c->has('items') ? $c->get('items')->content_value : null; $items = $itemsJson ? json_decode($itemsJson, true) : []; @endphp @if(count($items))

{{ $testTitle }}

{{ $testSubtitle }}

@foreach($items as $item)
"{{ $item['text'] ?? '' }}"
{{ $item['initials'] ?? '' }}
{{ $item['name'] ?? '' }}
{{ $item['role'] ?? '' }}
@endforeach
@endif