@php $testimonialContent = getContent('testimonial.content', true); $testimonials = getContent('testimonial.element', orderById: true); @endphp @if ($testimonials->count()) {{ __(@$testimonialContent->data_values->heading) }} {{ __(@$testimonialContent->data_values->subheading) }} @foreach ($testimonials as $testimonial) {{ __(@$testimonial->data_values->name) }} {{ __(@$testimonial->data_values->designation) }} @php echo displayRating(floatval(@$testimonial->data_values->rating)) @endphp {{ __(@$testimonial->data_values->quote) }} @endforeach @endif @push('script') @endpush
{{ __(@$testimonial->data_values->quote) }}