<?php $__env->startSection('content'); ?>

  <main>
        <!-- Start page-heading -->
        <div class="page-heading">
            <div class="container">
                <nav aria-label="breadcrumb">
                    <ol class="breadcrumb mb-0">
                        <li class="breadcrumb-item"><a href="<?php echo e(url(getCurrentLocale().'/')); ?>"><img src="<?php echo e(url('')); ?>/assets/web/images/icons/nav/1.svg" alt="" class="home-icon"/></a></li>
                        <li class="breadcrumb-item active" aria-current="page">  <?php echo e(__('web.privacy')); ?> </li>
                    </ol>
                </nav>
                <h3 class="title text-center text-white mb-0"><b>  <?php echo e(__('web.privacy')); ?> </b></h3>
            </div>
            <img src="<?php echo e(url('')); ?>/assets/web/images/pattern-3.png" alt="" class="pattern"/>
        </div>
        <!-- Start content-sec -->
        <section class="content-sec">
            <div class="container">
                <div class="sec-heading wow fadeInUp">
                    <h2 class="title text-center text-white"><?php echo e(__('web.status')); ?> <span class="blue"><?php echo e(__('web.privacies')); ?></span></h2>
                </div>
                <div class="inner mt-5">
                    <div class="p mb-0">
                    <?php echo wbsetting('privacy'); ?>

                      </div>
                </div>
            </div>
        </section>
        <!-- Start newsletter-sec -->
       <section class="newsletter-sec">
            <div class="container">
                <div class="row">
                    <div class="col-lg-3">
                        <img src="<?php echo e(url('')); ?>/assets/web/images/icon.svg" alt="" class="logo wow zoomIn"/>
                    </div>
                    <div class="col-lg-5 col-md-6">
                        <div class="text  center-vr wow text-focus-in">
                           <h2 class="title text-white mb-3"><?php echo e(__('web.subscribe_mail')); ?></h2>
                            <p class="p text-white-50 mb-0"><?php echo e(__('web.enter_email')); ?> </p>
                        </div>
                    </div>
                    <div class="col-lg-4 col-md-6">
                        <div class="form-wrapper center-vr wow text-focus-in">
                            <form onsubmit="formemail(this)" id="formemail" method="post" action="<?php echo e(url(getCurrentLocale().'/subscribe')); ?>" class="row">
                                <?php echo csrf_field(); ?>
                                <input type="email" name="email" class="form-control col-10"  placeholder="<?php echo e(__('web.email')); ?>">
                                <button class="submit-butn col-2"><i class="fab fa-telegram-plane"></i></button>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </section>
         <div class="modal logoutModal fade" id="confirmModal" tabindex="-1" aria-labelledby="confirmModalLabel" aria-hidden="true">
            <div class="modal-dialog modal-dialog-centered modal-lg">
                <div class="modal-content">
                    <div class="modal-body">
                        <img src="<?php echo e(url('')); ?>/assets/web/images/confirmed.svg" alt="" class="main-img"/>
                        <h4 class="title text-center mt-3" id="success"><?php echo e(__('web.success')); ?></h4>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="main-butn active-butn" data-dismiss="modal"><span><?php echo e(__('web.ok')); ?></span></button>
                    </div>
                </div>
            </div>
        </div>
        <!-- Canceled Newsletter Modal --> 
        <div class="modal logoutModal fade" id="cancelModal" tabindex="-1" aria-labelledby="cancelModalLabel" aria-hidden="true">
            <div class="modal-dialog modal-dialog-centered modal-lg">
                <div class="modal-content">
                    <div class="modal-body">
                        <img src="<?php echo e(url('')); ?>/assets/web/images/cancel.svg" alt="" class="main-img"/>
                        <div  id="error">
                        
                        </div>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="main-butn active-butn" data-dismiss="modal"><span><?php echo e(__('web.ok')); ?></span></button>
                    </div>
                </div>
            </div>
        </div>
    </main>
    <?php $__env->startPush('js'); ?>
   <script>
   function formemail(elem){
        event.preventDefault(); 
       var action = $('#formemail').attr('action');
       var urls = action;
       var dataform = $('#formemail').serialize();
     
      $.ajax({
          url : urls,
          type: 'POST',              
          data: dataform,
          success:function(data)
          {
           $('#confirmModal').modal('show');
              $('#error').css("display", "none");
              $('#success').css("display", "block");
           
            
             
          }
          ,error:function(data) {
             $('#cancelModal').modal('show');
              $('#success').css("display", "none");
              $('#error').html('');
    $('#error').css("display", "block");
   
   $.each(data.responseJSON.errors, function(key,value) {
       
     $('#error').append('<h4 class="title text-center mt-3">'+value+'</h4>');
     
     
 }); 
 
}
        })
        }
       
    </script>
   <?php $__env->stopPush(); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('web.layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/omaralyomhost/public_html/raied/resources/views/web/pages/privacy.blade.php ENDPATH**/ ?>