<?php if($data->isNotEmpty()): ?>
    <div class="section header-stick mb-2 py-3">
        <div class="container">
            <div class="row align-items-center">
                <div class="col-lg-auto">
                    <div class="d-flex">
                        <span class="badge bg-primary text-uppercase col-auto p-2">Pengumuman</span>
                    </div>
                </div>

                <div class="col-lg mt-2 mt-lg-0">
                    <div class="fslider" data-speed="800" data-pause="6000" data-arrows="false" data-pagi="false"
                         style="min-height: 0;">
                        <div class="flexslider">
                            <div class="slider-wrap" style="font-size: 11pt">
                                <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $res): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <div class="slide"><a class="text-black"
                                           href="<?php echo e(route('pengumuman', ['slug' => $res->slug])); ?>"><?php echo e(Str::words($res->judul, 40, '...')); ?></a>
                                    </div>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
<?php else: ?>
    <div class=" header-stick mb-2 py-3"></div>
<?php endif; ?>
<?php /**PATH /Users/aptika/Workspace/webprofilev2/resources/views/components/guest/slider-pengumuman.blade.php ENDPATH**/ ?>