@extends('layouts.home')
@section('title', 'Home - The LaLiT Hotels')
@section('nav-home', 'active')
@php
use Illuminate\Support\Facades\Storage;
@endphp
@section('hero')
Be A LaLiT Loyalist
@if ($homeData && $homeData->section_1 && isset($homeData->section_1['content']))
{{$homeData->section_1['content']}}
@endif
@if($benefits->count() > 0)
@foreach($benefits->take(3) as $benefit)
@if($benefit->featured_image && Storage::disk('public')->exists($benefit->featured_image))
 }})
@else
 . '.avif') }})
@endif
@if($benefit->custom_link)
{{ strtoupper($benefit->title) }}
@else
{{ strtoupper($benefit->title) }}
@endif
{{ $benefit->excerpt ?: strip_tags($benefit->content) }}
@endforeach
@else
Please add benefits from admin.
@endif
The LaLiT Exclusive Rewards
@if ($homeData && $homeData->section_2 && isset($homeData->section_2['content']))
{{$homeData->section_2['content']}}
@endif
@php
$rewardsArr = $rewards->all();
$total = count($rewardsArr);
$perSlide = 4;
$numSlides = $total > 0 ? ceil($total / $perSlide) : 0;
@endphp
@for($slide = 0; $slide < $numSlides; $slide++)
@for($i = 0; $i < $perSlide; $i++)
@php
$rewardIndex = ($slide * $perSlide + $i) % $total;
$reward = $rewardsArr[$rewardIndex];
@endphp
@endfor
@endfor
@if($numSlides > 1)
@endif
@if($numSlides > 1)
@for($index = 0; $index < $numSlides; $index++)
@endfor
@endif
{{--
--}}
@php
$i = 0;
@endphp
@foreach ($points as $point)
@if ($i++ % 2 == 0)
The LaLiT Loyalty Membership Tiers
@if ($homeData && $homeData->section_3 && isset($homeData->section_3['content']))
{{$homeData->section_3['content']}}
@endif
@foreach($tiers as $tier)
{{ $tier->title }}
{{ $tier->excerpt }}
{!! $tier->content !!}
@endforeach
{{--
Blue
Begin your journey with coveted benefits
- Annual spend of upto INR 50,000
Silver
Enjoy elevated service and curated experiences.
- Annual spend of INR 50,001 upto INR 1,50,000
Gold
Experience seamless luxury with personalized touches.
- Annual spend of INR 1,50,001 upto INR 4,00,000
Platinum
Unlock bespoke experiences tailored to your preferences.
- Annual spend of INR 4,00,001 and above
--}}
Help & Support
@if ($homeData && $homeData->section_4 && isset($homeData->section_4['content']))
{{$homeData->section_4['content']}}
@endif
{{--
About the Program
@if ($homeData && $homeData->section_5 && isset($homeData->section_5['content']))
{!! $homeData->section_5['content'] !!}
@endif
--}}
@endsection
@push('styles')
@endpush