File: D:/HostingSpaces/SBogers10/reiskick.komma.nl/resources/views/templates/countries_show.blade.php
@extends('master', ['headerPullUp' => (isset($country->headingImage) && $country->headingImage->isNotEmpty())])
@section('title', $country->name . ' | ' . $page->translation->meta_title)
@section('content')
@if(isset($country->headingImage) && $country->headingImage->isNotEmpty())
@include('components.imageHeading', [
'modifiers' => 'country',
'imageHeadingTitle' => $country->name,
'imageHeadingImage' => $country->headingImage->first() ?? null,
])
@else
<div class="u-spacing-mb2 l-contain">
@include('components.pageTitle', [
'pageTitle' => $country->name,
])
</div>
@endif
@if(isset($sliderItems))
@include('organisms.countrySlider', [ 'modifiers' => isset($country->headingImage) && $country->headingImage->isNotEmpty() ? ['pull-up'] : [] ])
@endif
@if($country->mustDos->where('show_in_slider', 0)->count() > 0)
<div class="l-contain u-spacing-mb8">
<div class="u-spacing-mb4">
@include('components.heading', ['headingTitle' => 'Must Do\'s'])
</div>
@include('organisms.itemGrid', [
'items' => $country->mustDos->where('show_in_slider', 0),
])
</div>
@endif
@if($country->toDos->where('show_in_slider', 0)->count() > 0)
<div class="l-contain u-spacing-mb8">
<div class="u-spacing-mb4">
@include('components.heading', ['headingTitle' => 'To Do\'s'])
</div>
@include('organisms.itemGrid', [
'items' => $country->toDos->where('show_in_slider', 0),
])
</div>
@endif
@if($country->articles->where('show_in_slider', 0)->count() > 0)
<div class="l-contain u-spacing-mb8">
<div class="u-spacing-mb4">
@include('components.heading', ['headingTitle' => 'Artikelen'])
</div>
@include('organisms.itemGrid', [
'items' => $country->articles->where('show_in_slider', 0),
])
</div>
@endif
@if($country->overnights->where('show_in_slider', 0)->count() > 0)
<div class="l-contain u-spacing-mb8">
<div class="u-spacing-mb4">
@include('components.heading', ['headingTitle' => 'Overnachtingen'])
</div>
@include('organisms.itemGrid', [
'items' => $country->overnights->where('show_in_slider', 0),
])
</div>
@endif
@include('components.worldMap', ['withWrapper' => true])
@include('components.visitedCountries')
@endsection