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

41 lines
1.2 KiB
PHP
Raw Permalink 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>
<p>{{ $site->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($site->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 -->
2021-06-29 00:37:24 +00:00
@section('page-styles')
<link rel="stylesheet" href="{{ asset('plugin/animate/animate.min.css') }}">
@append
@section('page-scripts')
2018-07-31 04:11:00 +00:00
<!-- END SLIDER -->
@css('/site/js/jquery/plugins/owl.carousel/2.0.0/css/owl.carousel.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