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


 <!--Contents-->
    <main>
         <div class="inner_header">
            <div class="container">
                <h2>{{__('site.contactus')}}</h2>
            </div>
            <img src="{{url('')}}/assets/lamis/images/home-topr.png" alt="" class="slider_shape">
        </div>
      
        <section class="registeration">
               @if ($errors->any())
      <div class="alert alert-danger">
          <ul>
              @foreach ($errors->all() as $error)
                  <li>{{ $error }}</li>
              @endforeach
          </ul>
      </div>
  @endif
   @if(Session::has('message'))
<p class="alert {{ Session::get('alert-class', 'alert-danger') }}">{{ Session::get('message') }}</p>
@endif
    @if(Session::has('error'))
<p class="alert {{ Session::get('alert-class', 'alert-danger') }}">{{ Session::get('error') }}</p>
@endif
  @if(Session::has('success'))
<p class="alert {{ Session::get('alert-class', 'alert-success') }}">{{ Session::get('success') }}</p>
@endif
            <div class="container">
                <div class="text-content text-center">
                    <h4>{{__('site.contactus')}}</h4>
                    
                </div>
                    <div class="form-container">
                       <form method="post" action="{{url(getCurrentLocale().'/contactus')}}">
                        @CSRF
                            <div class="row">
                                <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
                                    <label>{{__('site.full_name')}} </label>
                                    <input type="text" name="name" class="form-control" placeholder="{{__('site.full_name')}}..." value="{{old('full_name')}}">
            
                                </div>
                                <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
                                    <label>{{__('site.email')}} </label>
                                    <input type="email" name="email" class="form-control" placeholder="{{__('site.email')}}..." value="{{old('email')}}">
            
                                </div>
                                <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
                                    <label>{{__('site.phone')}} </label>
                                    <input type="number" name="phone" class="form-control" placeholder="{{__('site.phone')}}..." value="{{old('phone')}}">
            
                                </div>
                                <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
                                    <label>{{__('site.subject')}} </label>
                                    <input type="text" name="subject" class="form-control" placeholder="{{__('site.subject')}} ..." value="{{old('subject')}}">
            
                                </div>
                                
                                
                                <div class="col-12">
                                    <label>{{__('site.message')}} </label>
                                    <textarea class="form-control" name="message" placeholder=" {{__('site.message')}} ..."></textarea>
                                </div>
                                <div class="col-12 m-auto">
                                    <button type="submit" class="btn register-btn">{{__('site.send')}}</button>
                                </div>
                            </div>
                       </form>
                </div>
            </div>
            <img src="images/home-topr.png" alt="" class="r-top wow fadeInRight slow">
            <div class="polygan c-bottom"></div>
        </section>
    </main>
    <!--End-Contents-->





@stop