@php $service = app(\App\Services\TestimonialService::class); $testimonials = $service->published(); $aggregate = $service->aggregateRating($testimonials); @endphp @if ($testimonials->isNotEmpty()) {{-- Overscanned photo with a strong scrim: clear parallax while the testimonials keep AA contrast. --}} @foreach ($testimonials as $testimonial) @if ($testimonial->rating) @for ($star = 1; $star <= 5; $star++) @endfor @endif “{{ $testimonial->quote }}” @if ($testimonial->logo_url) @else {{ $testimonial->initials }} @endif {{ $testimonial->name }} {{ $testimonial->role }}@if ($testimonial->role && $testimonial->company) · @endif{{ $testimonial->company }} @endforeach @if ($aggregate) @endif @endif
“{{ $testimonial->quote }}”
{{ $testimonial->name }}
{{ $testimonial->role }}@if ($testimonial->role && $testimonial->company) · @endif{{ $testimonial->company }}