File: D:/HostingSpaces/SBogers10/medvalue.komma.pro/resources/views/site/pages/clients.blade.php
@extends('site.master', ['view' => 'default'])
@section('title', $page->translation->meta_title)
@section('meta_description', $page->translation->meta_description)
@section('content')
<section class="dynamic-content">
<div class="grid-row">
@include('site.partials.dynamic.dynamicBlocks', [ 'dynamicContent' => $page->translation->description ])
</div>
</section>
<section class="clients-row">
@if( $clients->count() != 0)
<div class="squares-grid index-grid-row">
<section class="overview grid-row">
@foreach($clients as $client)
<article id="model-{{$loop->index}}">
<a @if(isset($client->link) && $client->link != '') href="{{$client->link}}" @endif>
<figure>
@if(isset($client->images) && $client->images->count() != 0)<img class="{{Str::slug($client->name)}}" alt="logo {{$client->name}}" src="{{$client->images->first()->medium_image_url}}"/> @endif
<span class="image"
@if(isset($client->images) && $client->images->count() != 0) style="background-image: url('{{ $client->images->first()->medium_image_url }}');" @endif></span>
</figure>
</a>
</article>
@endforeach
</section>
</div>
@endif
</section>
@include('site.partials.blocks.ctaRow', [
'ctaTrigger1' => (object)[
'title' => trans('site/global.ctaRow.title'),
'subTitle' => trans('site/global.ctaRow.subTitle'),
'button' => (object)[
'link' => "/".$links->contact->route,
'text' => trans('site/home.contactUs'),
],
],
'ctaPerson' => (object)[
'image' => '/img/contact-person.jpg',
'name' => trans('site/global.ctaRow.person'),
'text' => trans('site/global.ctaRow.phoneTitle'),
'button' => (object)[
'link' => 'tel:' . \Config::get('site.company.phone.call'),
'text' => \Config::get('site.company.phone.display')
]
],
])
@endsection