@extends('lamis.layout.main')
@section('content')


  
    <!--Contents-->
      <main>
        <!-- ------------------ slider -------------------- -->
        <div class="slider">
            <div class="swiper-head">
                <div class="swiper-wrapper">
                    @foreach($sliders as $row)
                    <div class="swiper-slide">
                        <div class="head-content has-overlay wow fadeIn valign" style=" background-image: url({{asset($row->image)}}); ">
                            <div class=" container-fluid ">
                                <div class="row justify-content-center ">
                                    <div class="col-lg-11 ">
                                        <div class="info valign">
                                            <div class="content ">
                                                <h2>{{slidername($row->id)}}</h2>
                                                <p>{{sliderdescription($row->id)}}</p>
                                                <a href="{{sliderurl($row->id)}}" class="butn color"><span>{{__('site.see_more')}}</span></a>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    @endforeach
                </div>
                <!-- Add Pagination -->
                <div class="swiper-pagination"></div>
            </div>
            <img src="http://omar.alyomhost.net/lamis/public/assets/lamis/images/home-topr.png" alt="" class="slider_shape">
        </div>
        <!-- ------------------ about -------------------- -->
        <div class="about section-padding">
            <div class="container">
                <div class="row">
                    <div class="col-lg-6">
                        <div class="info">
                            <div class="section-head">
                                <h2>{{aboutname($about->id)}} </h2>
                            </div>
                            <p>{{aboutdescription($about->id)}}</p>
                           
                        </div>
                    </div>
                    <div class="col-lg-6">
                        <div class="img">
                            <img src="{{asset($about->image)}}" alt="">
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- ------------------ gallery -------------------- -->
        <div class="gallery section-padding bg-gray">
            <div class="container">
                <div class="section-head text-center mb-5">
                    <h2>{{__('site.gallery')}} </h2>
                </div>
                <div class="content">
                    <div class="row">
                        @foreach($galleries as $row)
                        <div class="col-lg-4">
                            <div class="items">
                                <div class="img">
                                    <img src="{{asset($row->image)}}" alt="">
                                    <a class="zoom" href="{{asset($row->image)}}" data-fancybox="">
                                        <span></span>
                                        <span></span>
                                        <span></span>
                                    </a>
                                </div>
                            </div>
                        </div>
                        @endforeach
                    </div>
                </div>
            </div>
        </div>
        <!-- -------------- partners ----------------- -->
        <div class="partners">
            <div class="container">
                <div class="section-head text-center mb-5">
                    <h2>{{__('site.partners')}} </h2>
                </div>
                <div class="content owl-carousel owl-theme">
                    @foreach($partners as $row)
                    <div class="img">
                        <img style="height: 151px;" src="{{asset($row->image)}}" alt="">
                    </div>
                   @endforeach
                </div>
            </div>
        </div>
        <!-- -------------- subscribe ----------------- -->
        <div class="subscribe">
            <div class="container">
                <div class="row justify-content-center">
                    <div class="col-lg-10">
                        <div class="content text-center  wow fadeInUp">
                           <h2>{{__('site.mail')}}</h2>
                            <form action="{{getCurrentLocale().'/subscribe'}}" method="post">
                                 @CSRF
                                <div class="form-group">
                                    <input type="text" name="email" placeholder="{{__('site.email')}}">
                                    <button class="butn color"> <span>{{__('site.send')}}</span> </button>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </main>



@stop