<div class="sidebar"> 
    <div class="sidebar-box">
        <div class="sidebar-box-inner">
            <?php ($programs = \App\Models\Program::where('status',1)->orderBy('rank','asc')->get()); ?>
            <?php $__currentLoopData = $programs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $program): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                
            
            <h3 class="sidebar-title"><?php echo e($program->title); ?></h3>
            <ul class="sidebar-categories">
                <?php $__currentLoopData = $program->courses; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $course): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <li><a href="<?php echo e(route('frontend.course' , $course->slug)); ?>"> <i class="fa fa-hand-o-right" aria-hidden="true"></i>  <?php echo e($course->title); ?> </a></li>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </ul>
            <hr/>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
    </div> 
    <div class="sidebar-box">
        <div class="sidebar-add-area overlay-primaryColor">
            <img src="<?php echo e(asset('frontend/img/banner/7.jpg')); ?>" class="img-responsive" alt="banner">
            <a href="<?php echo e(route('frontend.contact')); ?>" class="sidebar-ghost-btn">Apply Now!</a>
        </div>
    </div>
</div><?php /**PATH /home/canvascollegeedu/public_html/resources/views/layouts/sidebar.blade.php ENDPATH**/ ?>