
<?php $__env->startSection('metades'); ?>
    <meta name="description" content="<?php echo e($data['metaDescription']); ?>" />
    <meta name="author" content="Kultikri Teacher Training Institute of Higher Studies (KTTIHS)" />
    <meta name="keywords" content="Kultikri Teacher Training Institute of Higher Studies (KTTIHS)" />
<?php $__env->stopSection(); ?>
<?php $__env->startSection('title'); ?>
    <title><?php echo e($data['metaTitle']); ?></title>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
    <?php $__currentLoopData = $data['moduleItems']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <?php if($item['slug'] == 'notice-3'): ?>
            <section class="features-box py-5">
                <div class="features-box1 py-5">
                    <div class="container">
                        <div class="row">
                            <div class="col-md-12 mb-sm-0 mb-3 ">
    <div class="w-100 title-bx1">
        <h3 class="one8"><?php echo e($item['title']); ?> </h3>
    </div>
    <?php if(count($item['dynamicSections']) > 0): ?>
        
        <?php
            $sortedSections = collect($item['dynamicSections'])->sortByDesc('createdAt');
        ?>
        <?php $__currentLoopData = $sortedSections; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $dynamicSection): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="notice-part">
                <a href="<?php echo e(url('/noticedetails')); ?>/<?php echo e($dynamicSection['slug']); ?>">
                    <h3><?php echo e($dynamicSection['title']); ?>

                      
                    </h3>
                    <h3><?php echo e(\Carbon\Carbon::parse($dynamicSection['createdAt'])->format('d M Y')); ?></h3>
                </a>
                <?php if($dynamicSection['createdAt'] >= now()->subDays(15)->endOfDay()): ?>
                    <button>new </button>
                <?php endif; ?>
            </div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    <?php endif; ?>
</div>

                        </div>
                    </div>
                </div>
            </section>
        <?php endif; ?>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/websites/kttihs/resources/views/home/notice.blade.php ENDPATH**/ ?>