@extends('user-front.layout') @section('tab-title') {{ $keywords['Home'] ?? 'Home' }} @endsection @php Config::set('app.timezone', $userBs->timezoneinfo->timezone ?? ''); @endphp @section('meta-description', !empty($userSeo) ? $userSeo->home_meta_description : '') @section('meta-keywords', !empty($userSeo) ? $userSeo->home_meta_keywords : '') @section('content')
@if (count($sliders) > 0) @foreach ($sliders as $key => $slider)
{{ $slider->title }}

{{ $slider->subtitle }}

{{ $slider->btn_name }}
@endforeach @else
{{ __('Welcome to Hotelia') }}

{{ __('Luxury Living') }}

{{ __('get started') }}
{{ __('Welcome to Hotelia') }}

{{ __('Luxury Living') }}

{{ __('get started') }}
@endif
@csrf
shape
shape
shape
@if (isset($home_sections->intro_section) && $home_sections->intro_section == 1) @php $isIntroEmpty = empty($home_text->about_title) && empty($home_text->about_subtitle) && empty($home_text->about_content) && empty($home_text->about_image); $isCounterEmpty = empty($counterInformations) || count($counterInformations) == 0; @endphp
@if ($isIntroEmpty) This is the Intro section

Welcome to our website

Intro content will appear here once added.

@else @isset($home_text->about_title) {{ $home_text->about_title }} @endisset @isset($home_text->about_subtitle)

{{ $home_text->about_subtitle }}

@endisset @isset($home_text->about_content)

{{ $home_text->about_content }}

@endisset @endif
@if (isset($home_sections->counter_info_section) && $home_sections->counter_info_section == 1)
@if ($isCounterEmpty)

This is the Counter Info section

@else
@foreach ($counterInformations as $key => $counterInformation)
{{ $counterInformation->count }}

{{ $counterInformation->title }}

@endforeach
@endif
@endif
@endif @if (isset($home_sections->rooms_section) && $home_sections->rooms_section == 1) @php $isRoomsTextEmpty = empty($home_text->rooms_section_title) && empty($home_text->rooms_section_subtitle) && empty($home_text->rooms_section_content); $isRoomsEmpty = empty($rooms) || count($rooms) == 0; @endphp
@if ($isRoomsTextEmpty) This is the Rooms section

Rooms will be displayed here

Room details and descriptions will appear once added.

@else @isset($home_text->rooms_section_title) {{ convertUtf8($home_text->rooms_section_title) }} @endisset @isset($home_text->rooms_section_subtitle)

{!! convertUtf8($home_text->rooms_section_subtitle) !!}

@endisset @isset($home_text->rooms_section_content)

{{ convertUtf8($home_text->rooms_section_content) }}

@endisset @endif @if (!$isRoomsEmpty)
@endif
@if ($isRoomsEmpty)

No rooms available at the moment.

@else
@foreach ($rooms as $room) @if (!is_null($room->room))

{{ $userBs->base_currency_symbol_position == 'left' ? $userBs->base_currency_symbol : '' }} {{ formatNumber($room->room->rent) }} {{ $userBs->base_currency_symbol_position == 'right' ? $userBs->base_currency_symbol : '' }} / {{ $keywords['Night'] ?? 'Night' }}

@if ($roomSetting->room_category_status == 1) @endif

{{ convertUtf8($room->title) }}

{{ $room->summary }}

  • {{ $room->room->bed }} {{ $room->room->bed == 1 ? $keywords['Bed'] ?? 'Bed' : $keywords['Beds'] ?? 'Beds' }}
  • {{ $room->room->bath }} {{ $room->room->bath == 1 ? $keywords['Bath'] ?? 'Bath' : $keywords['Baths'] ?? 'Baths' }}
  • @if (!empty($room->room->max_guests))
  • {{ $room->room->max_guests }} {{ $room->room->max_guests == 1 ? $keywords['Guest'] ?? 'Guest' : $keywords['Guests'] ?? 'Guests' }}
  • @endif
@endif @endforeach
@endif
@endif @if (isset($home_sections->featured_services_section) && $home_sections->featured_services_section == 1) @php $isServiceSectionEmpty = empty($home_text->service_title) && empty($home_text->service_subtitle) && (empty($services) || count($services) == 0); @endphp
@if ($isServiceSectionEmpty) This is the Services section

Services will be displayed here

@else @isset($home_text->service_title) {{ convertUtf8($home_text->service_title) }} @endisset @isset($home_text->service_subtitle)

{!! $home_text->service_subtitle !!}

@endisset @endif
@if (!$isServiceSectionEmpty)
@foreach ($services as $service)
{{ $loop->iteration }}

{{ convertUtf8($service->name) }}

{!! strlen(strip_tags($service->content)) > 80 ? mb_substr(strip_tags($service->content), 0, 80, 'UTF-8') . '...' : strip_tags($service->content) !!}

detail_page == 1) href="{{ route('front.user.service.detail', [getParam(), 'slug' => $service->slug, 'id' => $service->id]) }}" @endif class="read-more"> {{ $keywords['read_more'] ?? 'read more' }}
@endforeach
@endif
@endif @if (isset($home_sections->video_section) && $home_sections->video_section == 1) @php $videoBg = $videoSectionDetails->video_section_image ?? 'video_bg_one.jpg'; $isVideoSectionEmpty = empty($videoSectionDetails->video_section_title) && empty($videoSectionDetails->video_section_subtitle) && empty($videoSectionDetails->video_section_button_url) && empty($videoSectionDetails->video_section_button_text) && empty($videoSectionDetails->video_section_url); @endphp
@if ($isVideoSectionEmpty) This is the Video section

Video subtitle will appear here

Watch Video @else @if (!empty($videoSectionDetails->video_section_title)) {{ $videoSectionDetails->video_section_title }} @endif

{{ $videoSectionDetails->video_section_subtitle ?? '' }}

@if (!empty($videoSectionDetails->video_section_button_url)) {{ $videoSectionDetails->video_section_button_text }} @endif @endif
@if (!$isVideoSectionEmpty && !empty($videoSectionDetails->video_section_url)) @elseif ($isVideoSectionEmpty) @endif
@endif @if (isset($home_sections->why_choose_us_section) && $home_sections->why_choose_us_section == 1) @php $isChooseUsTextEmpty = empty($home_text->why_choose_us_section_title) && empty($home_text->why_choose_us_section_subtitle); $isChooseUsItemsEmpty = empty($chooseUsItems) || count($chooseUsItems) == 0; $isChooseUsImageEmpty = empty($home_text->why_choose_us_section_image); @endphp
@if ($isChooseUsTextEmpty) This is the Why Choose Us section

Popular reasons to choose us

@else @isset($home_text->why_choose_us_section_title) {{ $home_text->why_choose_us_section_title }} @endisset @isset($home_text->why_choose_us_section_subtitle)

{{ $home_text->why_choose_us_section_subtitle }}

@endisset @endif
    @if ($isChooseUsItemsEmpty)
  • No features available

    Features will be displayed here once added.

  • @else @foreach ($chooseUsItems as $item)
  • {{ $item->title }}

    {{ $item->content }}

  • @endforeach @endif

{{ $keywords['popular_features'] ?? 'Popular Features' }}

image
@endif @if (isset($home_sections->testimonials_section) && $home_sections->testimonials_section == 1) @php $isTestimonialTextEmpty = empty($home_text->testimonial_title) && empty($home_text->testimonial_subtitle); $isTestimonialsEmpty = empty($testimonials) || count($testimonials) == 0; @endphp
@if ($isTestimonialTextEmpty) This is the Testimonials section

What our customers say

@else @if (!empty($home_text->testimonial_title)) {{ $home_text->testimonial_title }} @endif

{{ $home_text->testimonial_subtitle ?? '' }}

@endif
@if ($isTestimonialsEmpty)

No testimonials available yet.

@else
@foreach ($testimonials as $testimonial)

{{ replaceBaseUrl($testimonial->content) }}

@endforeach
@endif
@endif @if (isset($home_sections->brand_section) && $home_sections->brand_section == 1) @php $isBrandSectionEmpty = empty($brands) || count($brands) == 0; @endphp
@if ($isBrandSectionEmpty)

This the brand section.

@else
@foreach ($brands as $brand) brand image @endforeach
@endif
@endif
@endsection