@extends('web.layouts.layout')
@section('content')


<main>

    <!-- Start section -->
    @include('web.pages.components.header')

    <!-- Start section -->
    <section class="deals_txt_sec resturants-sec about-sec section">
        <div class="container-fluid px-0">
            <div class="row align-items-center justify-content-end">
                <div class="col-lg-6">
                    <div class="text_box">
                        <h1 class="title fw-bold mb-4 text-uppercase color-primary">
                            {{$pages[0]->title}}
                        </h1>
                            {!! $pages[0]->description !!}

                    </div>
                </div>
                <div class="col-lg-6">
                    <div class="img_box">
                        <img src="{{asset($pages[0]->second_image)}}" class="resturants_img1  ms-auto d-block" alt=""/>
                    </div>
                </div>

            </div>
        </div>
    </section>

    <!-- Start section -->
    <!-- <section class="rooms-sec pt-4 mt-lg-5 section">
        <div class="container">
            <div class="col-lg-6">
                <h1 class="title_sec mb-5 fw-bold text-uppercase color-primary">{{__('web.more_offers')}}</h1>
            </div>
            <div class="swiper-container rooms_swiper mt-5">
                <div class="swiper-wrapper">
                    @foreach($deals as $row)
                        @include('web.pages.components.offers.slide_offer',['deal'=>$row])
                    @endforeach
                </div>
            </div>
        </div>
        <img src="{{url('')}}/assets/web/images//pattern-1.svg" class="pattern" alt=""/>
    </section> -->

    <!-- Start section -->
   <!-- <section class="deals-sec meetings-sec about-sec section">
        <div class="container-fluid px-0">
            <div class="row justify-content-end align-items-center">
                <div class="col-lg-6">
                    <div class="text_box">
                        <h1 class="title mb-4 text-uppercase color-primary fw-bold">{!! $pages[1]->title !!}</h1>
                    </div>
                </div>
                <div class="col-lg-6">
                    <div class="img_box">
                        <img src="{{asset($pages[1]->image)}}" class="meetings_img1" alt=""/>
                        <img src="{{asset($pages[1]->second_image)}}" class="meetings_img2" alt=""/>

                    </div>
                </div>
            </div>
        </div>
        @if($deal)
        <div class="container">
            <div class="row">
                <div class="col-lg-6">
                    <img src="{{asset($deal->second_image)}}" class="sec-img img_bottom" alt=""/>
                </div>
                <div class="col-lg-6">
                    <div class="text_box text_box2 ps-0">
                        <h1 class="title mb-5 text-uppercase color-primary fw-bold">{{$deal->second_name}}</h1>
                        {!! $deal->description !!}
                    </div>
                </div>
            </div>
        </div>
        @endif
        <img src="{{url('')}}/assets/web/images/pattern-1.svg" class="pattern" alt=""/>
    </section> -->

    <!-- Start section -->
    @include('web.pages.components.be_member')

    <!-- Start section -->
    @include('web.pages.components.reward_program')
</main>
@stop
