<?php $__env->startSection('main_content'); ?>
<!--==============================
Breadcrumb Area
==============================-->
<section class="breadcrumb__area fix" data-background="<?php echo e(asset('uploads/'.$global_setting->banner)); ?>">
    <div class="breadcrumb__bg-shape"></div>
    <div class="container">
        <div class="row">
            <div class="col-xl-12 d-flex justify-content-center">
                <div class="breadcrumb__content">
                    <h3 class="title"><?php echo e($global_page_item->projects_page_title); ?></h3>
                </div>
            </div>
            <div class="col-xl-12 d-flex justify-content-center">
                <div class="breadcrumb-wrap">
                    <nav class="breadcrumb">
                        <span property="itemListElement" typeof="ListItem">
                            <a href="<?php echo e(url('/')); ?>"><?php echo e(__('Home')); ?></a>
                        </span>
                        <span class="breadcrumb-separator">/</span>
                        <span property="itemListElement" typeof="ListItem"><?php echo e($global_page_item->projects_page_title); ?></span>
                    </nav>
                </div>
            </div>
        </div>
    </div>
</section>
<!-- breadcrumb-area-end -->

<!--==============================
Project Area
==============================-->
<section class="project-area-3 pt-120 pb-120 overflow-hidden">
    <div class="container">
        <div class="row gy-30">
            <?php $__currentLoopData = $projects; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $project): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="col-lg-6">
                <div class="project-card3 style2">
                    <div class="project-thumb image-anim">
                        <img src="<?php echo e(asset('uploads/'.$project->photo)); ?>" alt="img">
                    </div>
                    <div class="project-card-details">
                        <div class="project-card-content">
                            <h4 class="project-title"><a href="<?php echo e(route('project',$project->slug)); ?>"><?php echo e($project->title); ?></a></h4>
                            <p class="box-text">
                                <?php echo nl2br($project->short_description); ?>

                            </p>
                        </div>
                    </div>
                </div>
            </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>

        <?php if($projects->hasPages()): ?>
        <div class="row gy-30">
            <div class="col-md-12 d-flex justify-content-center">
                <div class="pagination__wrap mt-60">
                    <ul class="list-wrap d-flex flex-wrap">
                        <?php
                            $current = $projects->currentPage();
                            $last = $projects->lastPage();
                        ?>
                        <?php if(!$projects->onFirstPage()): ?>
                            <li>
                                <a href="<?php echo e($projects->previousPageUrl()); ?>" class="page-numbers">
                                    <svg width="15" height="13" viewBox="0 0 15 13" fill="none" xmlns="http://www.w3.org/2000/svg">
                                        <path d="M6 1L0 7M0 7L6 13M0 7H15" stroke="currentColor" stroke-width="1.5"/>
                                    </svg>
                                </a>
                            </li>
                        <?php endif; ?>
                        <?php for($page=1;$page<=$last;$page++): ?>
                            <?php if($page === $current): ?>
                                <li><span class="page-numbers current"><?php echo e(sprintf('%02d', $page)); ?></span></li>
                            <?php else: ?>
                                <li><a href="<?php echo e($projects->url($page)); ?>" class="page-numbers"><?php echo e(sprintf('%02d', $page)); ?></a></li>
                            <?php endif; ?>
                        <?php endfor; ?>
                        <?php if($projects->hasMorePages()): ?>
                            <li>
                                <a href="<?php echo e($projects->nextPageUrl()); ?>" class="page-numbers">
                                    <svg width="15" height="13" viewBox="0 0 15 13" fill="none" xmlns="http://www.w3.org/2000/svg">
                                        <path d="M9 1L15 7M15 7L9 13M15 7H0" stroke="currentColor" stroke-width="1.5"/>
                                    </svg>
                                </a>
                            </li>
                        <?php endif; ?>
                    </ul>
                </div>
            </div>
        </div>
        <?php endif; ?>
    </div>
</section>
<!--======== / Project Section ========-->

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

<?php echo $__env->make('front.layouts.master', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /Applications/MAMP/htdocs/arefindigital/lawyer_sohel/main_files/resources/views/front/projects.blade.php ENDPATH**/ ?>