File: D:/HostingSpaces/SBogers10/komma.pro/resources/views/site/pages/_service.blade.php
@extends('site.master')
@section('title', $service->translation->name . ' | Diensten | ' . Lang::get('site/meta.title'))
@section('content')
{{-- Intro header --}}
@include('site.partials.header',[
'key' => $service->code_name,
'title' => !empty($service->translation->visual_name) ? $service->translation->visual_name : $service->translation->name,
'description' => Lang::get('site/services/' . $service->code_name . '.intro.description')
])
{{-- Service description --}}
<section id="arrow-target" class="description-container contained-layout">
{{-- Line with back to grid and h2 --}}
<div class="col-14 centered column-container">
<div class="go-back-holder col-7">
<div class="alignment-controller">
<a class="back-to-grid" href="/diensten" data-name="services">Terug naar overzicht</a>
</div>
</div>
<div class="title-holder col-7">
<div class="alignment-controller">
<h2>{!! $service->name !!}</h2>
</div>
</div>
</div>
{{-- Line with image and text --}}
<div class="col-14 centered column-container">
{{-- Image --}}
<div class="image col-7">
<img class="stretch"
src="/img/komma/static/{!!__('site/services/' . $service->code_name . '.image.fileName')!!}"
alt="{!!__('site/services/' . $service->code_name . '.image.alt')!!}" />
</div>
{{-- Description --}}
<div class="text-block col-6">
{!!__('site/services/' . $service->code_name . '.description')!!}
<a href="{!!__('site/partials/buttons.conversation.href')!!}" class="button stroked blue arrow">
{!!__('site/partials/buttons.conversation.label')!!}
</a>
@if($nextService)
<hr />
<a class="next-service" href="/diensten/{{ $nextService->translation->slug }}">
<strong>Lees verder</strong>:
{{ strtolower($nextService->translation->name) }}</a>
@endif
</div>
</div>
</section>
{{-- Featured cases --}}
@include('site.partials.cases.featured',[
'featured' => Config::get('site.service.featuredCases.' . $service->code_name)
])
{{-- Other services--}}
<section class="contained-layout">
<div class="text-block col-5 offset-7 offset-sm-0">
@include('site.partials.servicesList')
</div>
</section>
{{-- Check of custom call to action block--}}
@if(Lang::has('site/partials/callToActions.' . $service->code_name . '.streamer'))
@include('site.partials.callToActionBlock',[
'streamer' => Lang::get('site/partials/callToActions.' . $service->code_name . '.streamer'),
'callToAction' => Lang::get('site/partials/callToActions.' . $service->code_name . '.callToAction'),
'buttonLabel' => Lang::get('site/partials/callToActions.' . $service->code_name . '.button'),
'buttonHref' => Lang::get('site/partials/callToActions.' . $service->code_name . '.href')
])
{{-- Default call to action block --}}
@else
@include('site.partials.callToActionBlock',[
'streamer' => Lang::get('site/partials/callToActions.fans.streamer'),
'callToAction' => Lang::get('site/partials/callToActions.fans.callToAction'),
'buttonLabel' => Lang::get('site/partials/callToActions.fans.button'),
'buttonHref' => Lang::get('site/partials/callToActions.fans.href')
])
@endif
{{-- Call to action bar --}}
@include('site.partials.callToActionBar',[
'key' => Config::get('site.service.manager.' . $service->code_name),
'streamer' => 'Loopt het water je al in de mond?'
])
@endsection
@section('footer_button')
@include('site.partials.footerButton',[
'label' => "Referenties",
'href' => "/referenties"])
@endsection