osb/resources/theme/frontend/metronic/widgets/clients.blade.php

38 lines
1.1 KiB
PHP
Raw Normal View History

2018-07-31 04:11:00 +00:00
{{-- This is not working unless site_slider is running. Might be a problem with the carousel --}}
2017-12-04 12:37:14 +00:00
<!-- BEGIN CLIENTS -->
<div class="row margin-bottom-40 our-clients">
<div class="col-md-3">
<h2><a href="javascript:;">Our Clients</a></h2>
2018-05-20 12:53:14 +00:00
<p>{{ $so->clients_intro }}</p>
2017-12-04 12:37:14 +00:00
</div>
2018-05-20 12:53:14 +00:00
2017-12-04 12:37:14 +00:00
{{-- @todo make sure this scrolls --}}
<div class="col-md-9">
<div class="owl-carousel owl-carousel6-brands">
2018-05-20 12:53:14 +00:00
@foreach($so->clients as $c)
2017-12-04 12:37:14 +00:00
<div class="client-item">
<a href="javascript:;">
2018-05-20 12:53:14 +00:00
<img src="{{ $c['image'] }}" class="img-responsive" alt="">
<img src="{{ $c['hover'] }}" class="color-img img-responsive" alt="">
2017-12-04 12:37:14 +00:00
</a>
</div>
2018-05-20 12:53:14 +00:00
@endforeach
2017-12-04 12:37:14 +00:00
</div>
</div>
</div>
2018-07-31 04:11:00 +00:00
<!-- END CLIENTS -->
@section('scripts')
<!-- END SLIDER -->
@css('/site/js/jquery/plugins/owl.carousel/2.0.0/css/owl.carousel.css')
@css('/site/css/animate.css')
@js('/site/js/jquery/plugins/owl.carousel/2.0.0/js/owl.carousel.min.js','jq-owl-carousel','jquery')
<script type="text/javascript">
jQuery(document).ready(function() {
// Layout.initOWL();
});
</script>
@append