<?php $__env->startSection('title'); ?>
    <?php if(LaravelLocalization::getCurrentLocale() == 'ar'): ?>
        <?php echo e($menu['ar']['view.home']); ?><?php else: ?><?php echo e($menu['en']['view.home']); ?>

    <?php endif; ?>
<?php $__env->stopSection(); ?>
 

<?php $__env->startSection('content'); ?>
<div id="slider" class="inspiro-slider background-black" data-height-xs="360">
   <div class="slide" style="background-image:url('<?php echo e(asset('storage/' . ($main_slider->image ?? ''))); ?>');">
      <div class="bg-overlay" data-style="10"></div>
      <div class="container">
         <div class="slide-captions text-center text-light">
            <h3>  <?php if(LaravelLocalization::getCurrentLocale() == 'ar'): ?>
                <?php echo e($main_slider->title_ar); ?><?php else: ?><?php echo e($main_slider->title); ?>

                <?php endif; ?>  </h3>
            <h2><span class="text-rotator" data-animation="flip" data-speed="5000"> <?php if(LaravelLocalization::getCurrentLocale() == 'ar'): ?>
                <?php echo e($main_slider->sub_title_ar); ?><?php else: ?><?php echo e($main_slider->sub_title); ?>

                <?php endif; ?>  </span></h2>
            <button type="button" class="btn btn-danger" data-target="#modal-2" data-toggle="modal" href="#"><span class="btn-label"><i class="fa fa-check"></i></span>احصل على عرض أسعار</button>
         </div>
      </div>
   </div>
</div>
<div class="modal fade" id="modal-2" tabindex="-1" role="modal" aria-labelledby="modal-label-2" aria-hidden="true">
   <div class="modal-dialog">
      <div class="modal-content">
         <div class="modal-header">
            <button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button>
            <h2 class="m-t-10 m-b-10">ابق على تواصل معنا</h2>
            <p class="m-b-0 p-b-0">هذا النص هو مثال لنص يمكن أن يستبدل في نفس المساحة، لقد تم توليد هذا النص من مولد النص العربى،
               حيث يمكنك أن تولد مثل هذا النص أو العديد من النصوص الأخرى إضافة إلى زيادة عدد الحروف التى يولدها التطبيق. 
            </p>
         </div>
         <div class="modal-body">
            <form class="widget-contact-form" novalidate action="include/contact-form.php.json" role="form" method="post">
               <div class="row">
                  <div class="form-group col-lg-6">
                     <label for="name">الاسم</label>
                     <input type="text" aria-required="true" name="widget-contact-form-name" class="form-control required name" placeholder="أدخل أسمك">
                  </div>
                  <div class="form-group col-lg-6">
                     <label for="email">البريد الإلكتروني</label>
                     <input type="email" aria-required="true" required name="widget-contact-form-email" class="form-control required email" placeholder="أدخل بريدك الإلكتروني">
                  </div>
               </div>
               <div class="form-group">
                  <label for="message">رسالة</label>
                  <textarea type="text" name="widget-contact-form-message" rows="8" class="form-control required" placeholder="أدخل رسالتك"></textarea>
               </div>
               <div class="form-group">
                  <button class="btn btn-light" type="submit" id="form-submit"><i class="fa fa-paper-plane"></i>&nbsp;أرسل رسالة</button>
               </div>
            </form>
         </div>
      </div>
   </div>
</div>
<section class="background-black">
   <div class="container">
      <div class="portfolio">
         <nav class="grid-filter gf-outline gf-light" data-layout="#portfolio">
            <ul>
               <li class = "active"> <a href="#" data-category="*"> إظهار الكل </a> </li>
               <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
               <li> <a href="#" data-category=".c<?php echo e($category->id); ?>"><?php echo e($category->title_ar); ?></a> </li>
               <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> 
            </ul>
         </nav>
         <div id="portfolio" class="grid-layout portfolio-4-columns" data-margin="10">
            <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> 
            <?php $__currentLoopData = $category->workes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="portfolio-item img-zoom c<?php echo e($category->id); ?>">  
                <div class="portfolio-item-wrap">
                    <div class="portfolio-image">
                       <a href="<?php echo e(route('view.work',$item->id )); ?>"><img src="<?php echo e(asset('storage/works/' . ($item->image ?? ''))); ?>" alt=""></a>
                    </div>
                    <div class="portfolio-description">
                        <?php if($item->v_link): ?>
                        <a title="Paper Pouch!" data-lightbox="iframe" href="<?php echo e($item->v_link); ?>"><i class="fa fa-play"></i></a>
                        <?php endif; ?> 
                        <a href="<?php echo e(route('view.work',$item->id )); ?>">
                          <h3><?php if(LaravelLocalization::getCurrentLocale() == 'ar'): ?>
                            <?php echo e($item->title_ar); ?><?php else: ?><?php echo e($item->title); ?>

                            <?php endif; ?>
                          </h3> 
                       </a>
                    </div>
                 </div> 
            </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> 
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> 
             
         </div>
      </div>
   </div>
</section>
     
<?php $__env->stopSection(); ?>

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


<?php echo $__env->make('front.layout.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\crm\resources\views/front/index.blade.php ENDPATH**/ ?>