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

<!-- page-title -->
<div class="prt-titlebar-wrapper prt-bg about-img">
    <div class="prt-titlebar-wrapper-bg-layer prt-bg-layer"></div>
    <div class="prt-titlebar-wrapper-inner">
        <div class="container">
            <div class="row align-items-center">
                <div class="col-lg-12">
                    <div class="prt-page-title-row-heading">
                        <div class="page-title-heading">
                            <h2 class="title">All Courses</h2>
                        </div>
                        <div class="breadcrumb-wrapper">
                            <i class="flaticon-home"></i>
                            <span>
                                <a title="Homepage" href="/">Home</a>
                            </span>
                            <div class="prt-sep"> - </div>
                            <span>All Courses</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- page-title end -->



<!-- ==================== Start Courses ==================== -->
<div class="site-main">
    <!--services-section-->
    <section class="prt-row service01-services-section clearfix">
        <div class="prt-row-wrapper-bg-layer prt-bg-layer"></div>
        <div class="container">
            <div class="row">
                <?php $__currentLoopData = $courses; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $course): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="col-lg-4 col-md-6">
                        <!-- featured-imagebox-post -->
                        <div class="featured-imagebox featured-imagebox-services style1">
                            <!-- featured-thumbnail -->
                            <div class="featured-thumbnail">
                                <img class="img-fluid" src="<?php echo e(asset('../backend/images/courses/'.$course->course_img)); ?>" alt="<?php echo e($course->course_name); ?>" title="<?php echo e($course->course_name); ?>">
                                <div class="course-year">
                                    <a class="#" tabindex="0"><span><?php echo e($course->course_duration); ?></span></a>
                                </div>
                            </div><!-- featured-thumbnail end-->
                            <div class="featured-details-wrap">
                                <div class="featured-content">
                                    <div class="featured-title">
                                        <h3><a href="<?php echo e(route('viewcourses',$course->slug )); ?>" tabindex="0"><?php echo e($course->course_name); ?></a></h3>
                                    </div>
                                </div>
                                <div class="featured-explore-more">
                                    <a href="<?php echo e(route('viewcourses',$course->slug )); ?>">Read More</a>
                                </div>
                            </div>
                            <div class="services-details-wrap">
                                <div class="services-details-box">
                                    <div class="services-content">
                                        <div class="services-title">
                                            <h3><a href="<?php echo e(route('viewcourses',$course->slug )); ?>" tabindex="0"><?php echo e($course->course_name); ?></a></h3>
                                        </div>
                                        <div class="services-desc">
                                            <p><?php echo $course->course_description; ?></p>
                                        </div>
                                    </div>
                                    <div class="services-explore-more">
                                        <a href="<?php echo e(route('viewcourses',$course->slug )); ?>">Read More</a>
                                    </div>
                                </div>
                            </div>
                        </div><!-- featured-imagebox-post end -->
                    </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
        </div>
    </section>
    <!--services-section end-->
</div>
<!-- ==================== End Courses ==================== -->
<?php $__env->stopSection(); ?>

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