<div>
    <h2 class="text-lg font-semibold mb-1 text-white ml-2">CATEGORIES</h2>
    <div class="space-y-2 ml-4 md:space-y-0 md:space-x-4 md:flex md:mr-5">
        <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <a href="<?php echo e(route('by-category', $category)); ?>"
               class="text-base text-gray-300 hover:text-blue-400 block md:inline-block"
               @click.stop>
                <?php echo e($category->title); ?>

            </a>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </div>
</div><?php /**PATH /home/laravel/portfoliio/resources/views/components/category-list.blade.php ENDPATH**/ ?>