<?php echo $__env->make('nn_site.partials.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

    <section class="section projects">
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    <div class="projects-ul">
                        <ul>
                            <li <?php echo e((empty(request()->route('status')) && request()->route('status') != '0') ? 'class=active':""); ?>><a href="<?php echo e(fullUrl('projects')); ?>" title="<?php echo e($translate->all); ?>"><?php echo e($translate->all); ?></a></li>
                            <li <?php echo e((request()->route('status')== '0') ? 'class=active':""); ?>><a href="<?php echo e(fullUrl('projects/0')); ?>" title="<?php echo e($translate->currentProjects); ?>"><?php echo e($translate->currentProjects); ?></a></li>
                            <li <?php echo e((request()->route('status')== '1')? 'class=active':""); ?>><a href="<?php echo e(fullUrl('projects/1')); ?>" title="<?php echo e($translate->doneProjects); ?>"><?php echo e($translate->doneProjects); ?></a></li>
                        </ul>
                    </div>
                    <!-- /.projects-ul -->
                </div>
                <!-- /.col-md-12 -->
                <?php $__currentLoopData = $projects; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $project): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="col-md-4">
                    <div class="projects-item">
                        <a href="<?php echo e(fullUrl('projects/details/'.$project->slug)); ?>" title="<?php echo e($project->name); ?>">
                            <figure>
                                <picture><source srcset="<?php echo e($project->imgurl); ?>" type="image/webp"><img src="<?php echo e($project->imgurl); ?>" alt="<?php echo e($project->name); ?>"></picture>
                            </figure>
                            <div class="projects-item__title">
                                <span><?php echo e(($project->status == 1) ? $translate->doneProjects : $translate->currentProjects); ?></span>
                                <h2><?php echo e($project->name); ?></h2>
                            </div>
                            <!-- /.projects-item__title -->
                        </a>
                    </div>
                    <!-- /.projects-item -->
                </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                <div class="col-md-12 mt-4">
                    <!-- Pagination -->

                    <?php echo $__env->make('nn_site.partials.pager',['items'=>$projects, 'slug'=>'projects'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        
 
                </div>
            </div>
            <!-- /.row -->
        </div>
        <!-- /.container -->
    </section>
    <!-- /.section projects -->
   
    <?php echo $__env->make('nn_site.partials.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\Nodar\Desktop\ciprf\resources\views/nn_site/pages/projects.blade.php ENDPATH**/ ?>