<?php if($courses->hasPages()): ?>
<div class="page-nav-wrap wow fadeInUp" data-wow-delay=".3s">
    <ul>
        <?php if($courses->onFirstPage()): ?>
            <li><span class="page-numbers disabled"><i class="fa-solid fa-chevron-left"></i></span></li>
        <?php else: ?>
            <li><a class="page-numbers" href="<?php echo e($courses->previousPageUrl()); ?>"><i class="fa-solid fa-chevron-left"></i></a></li>
        <?php endif; ?>

        <?php $__currentLoopData = $courses->getUrlRange(1, $courses->lastPage()); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $page => $url): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <?php if($page == $courses->currentPage()): ?>
                <li class="active"><span class="page-numbers"><?php echo e($page); ?></span></li>
            <?php else: ?>
                <li><a class="page-numbers" href="<?php echo e($url); ?>"><?php echo e($page); ?></a></li>
            <?php endif; ?>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

        <?php if($courses->hasMorePages()): ?>
            <li><a class="page-numbers" href="<?php echo e($courses->nextPageUrl()); ?>"><i class="fa-solid fa-chevron-right"></i></a></li>
        <?php else: ?>
            <li><span class="page-numbers disabled"><i class="fa-solid fa-chevron-right"></i></span></li>
        <?php endif; ?>
    </ul>
</div>
<?php endif; ?>

<?php /**PATH /Users/mahmudul/Codecanyone/edu_ex_full/Eduex_laravel/resources/views/courses/partials/pagination.blade.php ENDPATH**/ ?>