<div class="widget widget_links">
    <h4 class="mb-2 ls-1 text-uppercase fw-bold">Kategori</h4>
    <div class="line line-xs line-sports"></div>
    <?php if($data->isNotEmpty()): ?>
        <ul>
            <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $res): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <li class="d-flex align-items-center">
                    <a href="<?php echo e(route('kategori', ['slug' => $res->slug])); ?>" class="flex-fill"><?php echo e($res->nama); ?></a>
                    <span class="badge text-light bg-sports"><?php echo e($res->to_post_count); ?></span>
                </li>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </ul>
    <?php else: ?>
    <span>Belum Ada Data</span>
    <?php endif; ?>
</div>
<?php /**PATH /Users/aptika/Workspace/webprofile-instagram/resources/views/components/guest/kategori.blade.php ENDPATH**/ ?>