@php $testimonial = getContent('testimonial.content',true); $testimonialElements = getContent('testimonial.element',false); @endphp
{{__($testimonial->data_values->top_heading)}}

{{__($testimonial->data_values->heading)}} Animate-shape

{{__($testimonial->data_values->subheading)}}

@foreach ($testimonialElements as $item)
testimonial img
@if(strlen(__($item->data_values->title)) >20) {{substr( __($item->data_values->title), 0,20).'...' }} @else {{__($item->data_values->title)}} @endif
@if(strlen(__($item->data_values->designation)) >30) {{substr( __($item->data_values->designation), 0,30).'...' }} @else {{__($item->data_values->designation)}} @endif

@if(strlen(__($item->data_values->description)) >180) {{substr( __($item->data_values->description), 0,180).'...' }} @else {{__($item->data_values->description)}} @endif

    @if($item->data_values->star_count == 1)
  • @elseif($item->data_values->star_count == 2)
  • @elseif($item->data_values->star_count == 3)
  • @elseif($item->data_values->star_count == 4)
  • @else
  • @endif
@endforeach