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

64 lines
2.5 KiB
PHP

@section('header')
<title>Testimonials - {{env("APP_NAME")}}</title>
@endsection
@include('client.sunsari.partials.header')
@include('client.sunsari.nav')
<!-- PAGE HERO START -->
<div class="pages-hero page-hero-video">
<div class="pages-hero-diagonal hero-diagonal-bg-2"></div>
<div class="container">
<div class="pages-title-center">
<h1>Testimonials</h1>
</div>
<div class="left-page-nav">
<!-- Breadcrumbs -->
<ul class="breadcrumb">
<li><a href="#">Home</a></li>
<li>Employers</li>
<li class="current">Testimonials</li>
</ul>
<!--/ Breadcrumbs -->
</div>
</div>
</div>
<!-- PAGE HERO END -->
<div class="testimonial-banner mt-5">
</div>
<div class="container up-testimonial-layer mb-5">
<div class="center-title mb-3">
<h5>THIS IS OUT INSPIRATION</h5>
<h2>What Our Customer Says</h2>
</div>
<div class="testimonials-carousel">
<div class="owl-carousel owl-theme">
@php
$testimonials = MPCMS::getarticle('testimonials');
@endphp
@foreach($testimonials->children as $testimonial)
<div class="item">
<div class="testimonial-box">
<div class="testimonial-text">
<p><i class="fas fa-quote-left"></i></p>
<p>{!! substr($testimonial->text, 0, 1000)!!}</p>
<div class="bottom-line"></div>
</div>
<figure class="author-avatar">
<img src="{{ site_url($testimonial->cover_photo) }}" alt="">
</figure>
<h4>{{$testimonial->title}}</h4>
</div>
</div>
@endforeach
</div>
<div class="owl-theme">
<div class="owl-controls">
<div class="custom-nav owl-nav"></div>
</div>
</div>
</div>
</div>
@include('client.sunsari.partials.footer')