@extends('layout.ext-app') @php($s = $page?->sections ?? collect()) @section('title', $page?->title) @section('meta_description', $page?->meta_description) @section('content') {{-- Banner --}} @if($hero = $s->get('hero'))

{{ $hero->heading }}

@if($hero->subheading)

{{ $hero->subheading }}

@endif
@endif {{-- Search (booking engine) --}} {{-- Introduction --}} @if($about = $s->get('about'))
@if($about->imageUrl()){{ $about->heading }}@endif
@if($about->subheading)
{{ $about->subheading }}
@endif

{{ $about->heading }}

{{ \App\Cms\Cms::markdown($about->body) }}
@if($about->button_text){{ $about->button_text }}@endif
@endif {{-- Destinations --}} @if($destinations = $s->get('destinations'))
@if($destinations->subheading)
{{ $destinations->subheading }}
@endif

{{ $destinations->heading }}

@if($destinations->body)
{{ \App\Cms\Cms::markdown($destinations->body) }}
@endif
@foreach($destinations->activeItems() as $item)

{{ $item['title'] }}

@if(!empty($item['text']))

{{ $item['text'] }}

@endif
@endforeach
@endif {{-- Featured stays (live from the booking engine) --}} @if(($featured = $s->get('featured')) && $featuredStays->isNotEmpty())
@if($featured->subheading)
{{ $featured->subheading }}
@endif

{{ $featured->heading }}

@if($featured->body)

{{ $featured->body }}

@endif
@if($featured->button_text) @endif
@endif {{-- Why book with us --}} @if($why = $s->get('why'))
@if($why->subheading)
{{ $why->subheading }}
@endif

{{ $why->heading }}

@foreach($why->activeItems() as $index => $item)

{{ $item['title'] }}

{{ $item['text'] ?? '' }}

@endforeach
@endif {{-- Travel journal --}} @if(($blog = $s->get('blog')) && $posts->isNotEmpty())
@if($blog->subheading)
{{ $blog->subheading }}
@endif

{{ $blog->heading }}

@foreach($posts as $post) @include('blog._card', ['post' => $post]) @endforeach
@if($blog->button_text) @endif
@endif {{-- Property owners --}} @if($owners = $s->get('owners'))
@if($owners->subheading)
{{ $owners->subheading }}
@endif

{{ $owners->heading }}

{{ $owners->body }}

@if($owners->button_text){{ $owners->button_text }}@endif
@endif @stop @section('scripts') @stop