TanchoToplineCargo/resources/views/client/niwida/inside/testimonial.blade.php
2024-05-05 10:32:49 +05:45

48 lines
2.4 KiB
PHP

@include('client.niwida.partials.headerincludes')
@include('client.niwida.nav')
<section class="testimonial tsti-clr">
<div class="container">
<div class="row">
<div class="col-xl-12">
<div class="pt-section-title-box text-center">
<span class="pt-section-sub-title" style="color:#fff;">Testimonial</span>
<h5 class="pt-section-title text-white">Hear from our clients</h5>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="pt-testimonial pt-testimonial-1">
<div class="owl-carousel owl-loaded owl-drag" data-dots="true" data-nav="false" data-desk_num="2" data-lap_num="2" data-tab_num="2" data-mob_num="1" data-mob_sm="1" data-autoplay="true" data-loop="true" data-margin="30">
@php
$testimonials = MPCMS::getarticle('testimonials');
@endphp
@foreach($testimonials->children as $testimonial)
<div class="pt-testmonial-style-1">
<div class="pt-testmonial-media">
<i class="fa fa-quote-right" aria-hidden="true"></i>
<img src="{{$testimonial->cover_photo}}" alt="servicebox">
</div>
<div class="pt-testmonial-info">
<h5 class="pt-testmonial-title">{{$testimonial->title}}</h5>
<span>Manager</span>
<div class="pt-testimonial-star">
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
</div>
</div>
<p class="pt-service-description">{!! substr($testimonial->text, 0, 1000)!!}</p>
</div>
@endforeach
</div>
</div>
</div>
</div>
</div>
</section><br>
@include('client.niwida.partials.footer')