<div class="offcanvas offcanvas-end " data-bs-scroll="true" data-bs-backdrop="false" tabindex="-1" id="offcanvasScrolling">
    <div class="offcanvas-header">
        <h4 class="offcanvas-title" id="offcanvasScrollingLabel"><?php echo e(__("What's new?")); ?></h4>
        <button type="button" class="btn-close" data-bs-dismiss="offcanvas"></button>
    </div>
    <div class="offcanvas-body">
        <div class="d-flex flex-column gap-3">
            <?php if(!empty($broadcasts) && is_array($broadcasts)): ?>
                <?php $__currentLoopData = $broadcasts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $broadcast): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="announcement">
                        <div class="announcement-header d-flex justify-content-between align-items-center gap-2 mb-3">
                            <div class="badge  <?php echo e($broadcast['badge']); ?>"><?php echo e($broadcast['tags']); ?></div>
                            <time
                                class="announcement-time text-muted small"><?php echo e(toDiffForHumans($broadcast['created_at'])); ?></time>
                        </div>
                        <div class="announcement-body">
                            <h5 class="announcement-title mb-3"><?php echo e($broadcast['title']); ?></h5>
                            <div class="announcement-text">
                                <?php if(!empty($broadcast['image'])): ?>
                                    <img height="150" alt="<?php echo e($broadcast['title']); ?>" src="<?php echo e($broadcast['image']); ?>">
                                <?php endif; ?>
                                <?php echo $broadcast['content']; ?>

                                <div class="announcement-more">
                                    <button class="btn">
                                        <?php echo e(__('Read More')); ?> <i class="fa fa-chevron-down fa-sm ms-1"></i>
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            <?php endif; ?>

        </div>
    </div>
</div>
<?php /**PATH /home/onemail/public_html/resources/views/admin/partials/whats-new.blade.php ENDPATH**/ ?>