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

 <main>
      <div class="inner_header">
            <div class="container">
                <h2><?php echo e(__('site.platform')); ?></h2>
            </div>
            <img src="<?php echo e(url('')); ?>/assets/lamis/images/home-topr.png" alt="" class="slider_shape">
        </div>
            <section class="main-info">
                <div class="container">
                    <div class="text text-center">
                        <h4><?php echo e(__('site.platforms')); ?></h4>
                    </div>
                    <div class="row pt-5">
                        <div class="col-lg-10 col-md-12 col-sm-12 col-xs-12">
                            <div class="info-inner">
                                <div class="heading">
                                    <h6><?php echo e(__('site.projects')); ?></h6>
                                    <a href="<?php echo e(url(getCurrentLocale().'/add/project')); ?>" class="edit-button">
                                        <i class="fas fa-plus-circle"></i>
                                    </a>
                                </div>
                            </div>
                            <?php $__currentLoopData = $projects; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="card">
                                <div class="card-header text-center">
                                   
                                    <h5 class="main-color"><?php if(is_null($row->project_name)): ?> <?php echo e(__('site.not_enter')); ?> <?php else: ?> <?php echo e($row->project_name); ?> <?php endif; ?></h5>
                                </div>
                                <div class="card-body">
                                    <?php if(project_per($row->id)): ?>
                                      <h5 class="main-color"><?php echo e(__('site.complete')); ?></h5>
                                      <?php else: ?>
                                      <h5 class="main-color"><?php echo e(__('site.incomplete')); ?></h5>
                                   <?php endif; ?>
                                </div>
                                <div class="card-footer text-center background-gray">
                                    <form method="get" action="<?php echo e(url(getCurrentLocale().'/edit/project/'.$row->id)); ?>">
                                        
                                        
                                     <button><a><?php echo e(__('site.edit')); ?></a></button>  
                                    </form>
                                    
                                      <button> <a href="<?php echo e(url(getCurrentLocale().'/project/'.$row->id)); ?>">
                                       <?php echo e(__('site.gotojourney')); ?>

                                    </a>
                                     </button>
                                   
                                 <?php if(project_per($row->id)): ?>
                                      <h5 class="main-color"><?php echo e(__('site.hint')); ?></h5>
                                     
                                   <?php endif; ?>
                                </div>
                            </div>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </div>
 
                        
                    </div>
                </div>
                <img src="<?php echo e(url('')); ?>/assets/lamis/images/home-topr.png" alt="" class="r-top wow fadeInRight slow">
                <img src="<?php echo e(url('')); ?>/assets/lamis/images/home-bottomr.png" alt="" class="r-bottom animated fadeInRight slow">
                <span class="c-shap r-bottom animated zoomIn slow"></span>
            </section>
        </main>
      


<?php $__env->stopSection(); ?>
<?php echo $__env->make('lamis.layout.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/omaralyomhost/public_html/lamis/resources/views/lamis/projects.blade.php ENDPATH**/ ?>