@php use Modules\Testimonial\App\Models\Testimonial; $home2_testimonial = getContent('theme2_testimonial.content', true); $testimonials = Testimonial::with('translate')->where('status', 'active')->latest()->get(); @endphp
{{ getTranslatedValue($home2_testimonial, 'sub_title') }}

{{ getTranslatedValue($home2_testimonial, 'title') }}

{!! strip_tags(clean(getTranslatedValue($home2_testimonial, 'description')), '
') !!}

@if ($testimonials->count() > 0)
@foreach ($testimonials as $key => $testimonial)
{{ $testimonial?->translate?->name }}
{{ $testimonial?->translate?->name }}
{{ $testimonial?->translate?->designation }}

“ {{ $testimonial?->translate?->comment }} ”

@for ($i = 1; $i <= 5; $i++) @if ($i <= $testimonial->rating) @else @endif @endfor
@endforeach
@if (getTranslatedValue($home2_testimonial, 'show_pagination') == '1')
@endif
@endif
@push('style_section') @endpush