<div id="<?php echo e($sliderId); ?>" class="carousel slide col-md-9 ozel-md-9" data-bs-ride="carousel" data-bs-interval="6000">
    <div class="carousel-inner">
        <?php $i = 0; ?> 
        <?php $__currentLoopData = $slides; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $slide): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="carousel-item <?php if($i == 0): ?> active <?php endif; ?>">
                <?php echo getNewsLink($slide); ?>

                <div class="sliderInCorusel">
                    <div class="slideTit">
                        <span class="badge bg-primary" style="background-color:#<?php echo e($slide->category->color); ?> !important;"><?php echo e($slide->category->name); ?></span>
                        <span>
                            <h2><?php echo e($slide->name); ?></h2>
                        </span>
                    </div>
                    <img src="/uploads/images/news/<?php echo e(date("Y/m/d", strtotime($slide->date))); ?>/<?php echo e($slide->news_image); ?>" class="d-block w-100" alt="<?php echo e($slide->name); ?>">
                </div>
                </a>
            </div>
            <?php $i++; ?>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </div>
    <ul class="number-indicators">
        <?php $i = 0; ?> 
        <?php $__currentLoopData = $slides; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $slide): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <a href="#" id="slideItem-<?php echo e($sliderId); ?>-<?php echo e($i); ?>" data-bs-slide-to="<?php echo e($i); ?>" class="indicator-item <?php if($i == 0): ?> active <?php endif; ?>"> <?php echo e($i + 1); ?></a>
            <?php $i++; ?>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </ul>          </div>    
<div class="col-md-3  mt-3">
  <div class="col-md-12 ads">
                <?php echo showAd('302','14'); ?>

              </div>
 <?php $__currentLoopData = $news; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $guncelhaberNews): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                          <div class="col-12 col-md-12 col-lg-12">
                 <div class="news-card">
              <?php echo getNewsLink($guncelhaberNews); ?><img src="/uploads/images/news/<?php echo e(date("Y/m/d", strtotime($guncelhaberNews->date))); ?>/<?php echo e($guncelhaberNews->news_image); ?>" alt="<?php echo e($guncelhaberNews->name); ?>"></a>
            <div class="news-badge" style="background-color:#<?php echo e($guncelhaberNews->category->color); ?> !important;"><?php echo e($guncelhaberNews->category->name); ?></div>
             <div class="card-body">
                <h5 class="card-title">   <?php echo getNewsLink($guncelhaberNews); ?><div class="news-title"><?php echo e($guncelhaberNews->name); ?></div></a></h5></div>
        </div>
            </div>
                      <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>               
            </div>
                        

<?php /**PATH /home/demohabercode/public_html/resources/views/sliders/category_slider.blade.php ENDPATH**/ ?>