osb/resources/views/theme/frontend/metronic/welcome/widgets/testimonials.blade.php

28 lines
877 B
PHP
Raw Normal View History

2017-12-04 12:37:14 +00:00
<!-- TESTIMONIALS -->
<div class="col-md-5 testimonials-v1">
<div id="myCarousel" class="carousel slide">
<!-- Carousel items -->
<div class="carousel-inner">
@php($c=0)
@foreach($site->testimonials as $o)
2017-12-04 12:37:14 +00:00
<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 --}}