28 lines
876 B
PHP
28 lines
876 B
PHP
|
<!-- TESTIMONIALS -->
|
||
|
<div class="col-md-5 testimonials-v1">
|
||
|
<div id="myCarousel" class="carousel slide">
|
||
|
<!-- Carousel items -->
|
||
|
<div class="carousel-inner">
|
||
|
@php($c=0)
|
||
|
@foreach($page_testimonials as $o)
|
||
|
<div class="item @if(! $c++) active @endif">
|
||
|
<blockquote><p>{{ $o['quote'] }}</p></blockquote>
|
||
|
<div class="carousel-info">
|
||
|
<img class="pull-left" src="{{ $o['photo'] }}" alt="">
|
||
|
<div class="pull-left">
|
||
|
<span class="testimonials-name">{{ $o['name'] }}</span>
|
||
|
<span class="testimonials-post">{{ $o['title'] }}</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
@endforeach
|
||
|
</div>
|
||
|
|
||
|
<!-- Carousel nav -->
|
||
|
<a class="left-btn" href="#myCarousel" data-slide="prev"></a>
|
||
|
<a class="right-btn" href="#myCarousel" data-slide="next"></a>
|
||
|
</div>
|
||
|
</div>
|
||
|
<!-- END TESTIMONIALS -->
|
||
|
{{-- @todo move the required javascript here --}}
|