@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) --}} Where @include('public._whereInput', ['id' => 'search-area', 'value' => '']) Check-in Check-out Guests per room Any @foreach($occupancies as $occupancy) {{ $occupancy->occupancy }} ({{ $occupancy->occupancy_name }}) @endforeach Rooms @for($i = 1; $i <= \App\Services\BookingQuotes::MAX_ROOMS; $i++) {{ $i }} @endfor Search stays {{-- Introduction --}} @if($about = $s->get('about')) @if($about->imageUrl())@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 @foreach($featuredStays as $stayItem) {{ $stayItem['property']->property_name }} {{ $stayItem['property']->city?->city_name }}, {{ $stayItem['property']->city?->district?->district_name }} @if($stayItem['price'] !== null) from {{ $visitorCurrency->code ?? 'LKR' }} {{ number_format($stayItem['price'], 0) }} / night @else See rooms and prices @endif @endforeach @if($featured->button_text) {{ $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) {{ $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
{{ $hero->subheading }}
{{ $item['text'] }}
{{ $featured->body }}
{{ $stayItem['property']->city?->city_name }}, {{ $stayItem['property']->city?->district?->district_name }}
{{ $item['text'] ?? '' }}
{{ $owners->body }}