@php $testimonialContent = getContent('testimonial.content', true); $testimonialElements = getContent('testimonial.element', orderById: true); @endphp
{{ __(@$testimonialContent->data_values->title) }}

{{ __(@$testimonialContent->data_values->heading) }}

@foreach ($testimonialElements as $testimonialElement)
    @for ($i = 0; $i < $testimonialElement->data_values->rating; $i++)
  • @endfor

{{ __(@$testimonialElement->data_values->quote) }}

{{ __(@$testimonialElement->data_values->name) }}
{{ __(@$testimonialElement->data_values->designation) }}
@endforeach