@extends('layouts.app') @section('title', __('pages.meta.index.title')) @section('meta_description', __('pages.meta.index.description')) @section('meta_keywords', __('pages.meta.index.keywords')) @section('meta_author', __('pages.meta.author')) @section('content') @php $bannerSlides = $homePageData['bannerSlides'] ?? []; $highlights = $homePageData['highlights'] ?? []; $benefits = $homePageData['benefits'] ?? []; $trends = $homePageData['trends'] ?? []; $categories = $homePageData['categories'] ?? []; $stories = $homePageData['stories'] ?? []; $about = $homePageData['about'] ?? []; $floatingActions = $homePageData['floatingActions'] ?? []; $mobileNavData = $homePageData['mobileNavData'] ?? []; @endphp
@include('pages.home.shared.header')
@foreach ($bannerSlides as $slide)

{{ $slide['title'] ?? '' }}

{{ $slide['subtitle'] ?? '' }}

{{ $slide['hotSearchesLabel'] ?? 'Hot Searches' }}
@foreach (($slide['hotSearches'] ?? []) as $tag) @endforeach
{{ $slide['recentSearchesLabel'] ?? 'Recent Searches' }}
@foreach (($slide['recentSearches'] ?? []) as $tag) @php $tagText = is_array($tag) ? (string) ($tag['text'] ?? '') : (string) $tag; $tagId = is_array($tag) ? (string) ($tag['id'] ?? '') : ''; @endphp @if ($tagText !== '') @endif @endforeach
@endforeach
@foreach ($highlights as $item)
{{ $item['alt'] ?? ($item['title'] ?? '') }}

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

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

@endforeach
@include('pages.home.shared.section-benefits', ['sectionBenefitsData' => $benefits])
@if (!empty($trends['title']))

{{ $trends['title'] }}

@endif @if (!empty($trends['subtitle']))
{{ $trends['subtitle'] }}
@endif

{!! $trends['disclaimer'] ?? '' !!}

{{ $categories['title'] ?? '' }}

@foreach (($categories['groups'] ?? []) as $group)
@foreach ($group as $item) {{ $item['text'] ?? '' }}

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

@endforeach
@endforeach

{{ $stories['title'] ?? '' }}

@foreach (($stories['content'] ?? []) as $story) @endforeach

{!! $about['content'] ?? '' !!}
@include('pages.home.shared.footer') @include('pages.home.shared.popup-booking')
@foreach ($floatingActions as $action) @php $width = $action['width'] ?? 25; $height = $action['height'] ?? 25; $actionId = $action['id'] ?? ''; @endphp {{ $action['alt'] ?? '' }} @if (!empty($action['badge'])) {{ $action['badge'] }} @endif @if (!empty($action['text'])) {{ $action['text'] }} @endif @endforeach
@endsection @push('scripts') @endpush