File: D:/HostingSpaces/SBogers10/komma.pro/resources/views/site/pages/service.blade.php
@extends('site.master')
@section('title', $service->translation->meta_title)
@section('description', $service->translation->meta_description)
@section('header-button')
<div class="o-service-header">
@if(!empty($service->translation->button_link) && !empty($service->translation->button_text))
<a href="{{ $service->translation->button_link }}" class="o-service-header__button button stroked white arrow">
{{ $service->translation->button_text }}
</a>
@else
<a href="/gesprek-plannen" class="o-service-header__button button stroked white arrow">
Plan een gesprek
</a>
@endif
</div>
@endsection
@section('content')
{{-- Intro header --}}
@include('site.partials.header',[
'title' => !empty($service->translation->visual_name) ? $service->translation->visual_name : $service->translation->name,
'description' => $service->translation->intro,
'key' => 'services'
])
<section class="o-service-content">
{{-- @if(!empty($service->translation->usp_1))--}}
{{-- <div class="c-subsection c-subsection--full-width">--}}
{{-- <h2 class="c-subheader c-subheader--service">Dit maakt ons uniek.</h2>--}}
{{-- <ul class="c-benefits">--}}
{{-- @for($i = 1; $i <= 6; $i++)--}}
{{-- @continue(empty($service->translation->{'usp_'.$i}))--}}
{{-- <li class="c-benefits__item"><p class="c-benefits__text">{{ $service->translation->{'usp_'.$i} }}</p></li>--}}
{{-- @endfor--}}
{{-- </ul>--}}
{{-- </div>--}}
{{-- @endif--}}
@foreach($service->blocks as $block)
@if(\View::exists($block->view))
@include($block->view,[
'block' => $block
])
@endif
@endforeach
</section>
{{-- Check of custom call to action block--}}
@include('site.partials.callToActionBlock',[
'streamer' => Lang::get('site/partials/callToActions.fans.streamer'),
'callToAction' => 'Geen vraag is te gek en geen wens onmogelijk. Loop je vast? Of heb je nog geen flauw idee? Neem dan eens contact op, want we kunnen je gegarandeerd verder helpen.',
'buttonLabel' => Lang::get('site/partials/callToActions.fans.button'),
'buttonHref' => Lang::get('site/partials/callToActions.fans.href')
])
<div class="o-service-footer">
<div class="o-service-footer__featured">
<h2 class="o-service-footer__title">
<a href="/cases">Relevante cases</a>
</h2>
@if(!empty($service->case_1) && !empty($service->case_2))
@include('site.partials.cases.featured',[
'featured' => [$service->case_1, $service->case_2]
])
@endif
</div>
<div class="o-service-footer__list">
@include('site.partials.servicesList', [
'serviceListHeaderClasses' => 'o-service-footer__title'
])
</div>
</div>
{{-- Call to action bar --}}
@include('site.partials.callToActionBar',[
'key' => 'stef',
'streamer' => 'Loopt het water je al in de mond?'
])
@endsection
@section('footer_button')
@include('site.partials.footerButton',[
'label' => "Referenties",
'href' => "/referenties"])
@endsection