
<li class="nav-item dropdown">
    <a class="nav-link position-relative tt-notification" href="#" role="button" id="notificationDropdown"
      data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" data-bs-auto-close="outside">
      <i data-feather="bell"></i>
      <span class="tt-notification-dot tt-notification-number bg-danger rounded-circle"> <?php echo e($countMesage); ?></span>
    </a>
    <div class="dropdown-menu dropdown-menu-end py-0 shadow border-0" aria-labelledby="notificationDropdown">
      <div class="card position-relative border-0">
        <div class="card-body p-0 border-bottom-0">
          <div class="scrollbar-overlay">
            <?php if($notifications->count() > 0): ?>
                <?php $__currentLoopData = $notifications; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $msg): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>                
                <div class="p-3 position-relative border-bottom">
                    <a href="<?php echo e(route('admin.notifications.index', ['id'=>$msg->id, 'is_read'=> 1])); ?>">
                      <div class="d-flex">               
                          <div class="me-2 flex-1">
                          <h4 class="small mb-0"><?php echo e($msg->title); ?></h4>
                          <span class="text-muted small"><?php echo e(date('d-M-Y', strtotime($msg->created_at))); ?></span>
                          </div>
                      </div>
                   </a>
                </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            <?php else: ?>  
            <div class="p-3 position-relative border-bottom">
                <div class="d-flex">               
                    <div class="me-2 flex-1">
                    <h4 class="small"><?php echo e(localize('No Notification found')); ?></h4>
                    
                    </div>
                </div>
            </div>    
            <?php endif; ?>
           
          </div>
        </div>
        <div class="card-footer py-0 px-3  border-0 d-flex justify-content-between">
          <a class="fw-bolder my-2 text-center d-block small" href="<?php echo e(route('admin.notifications.read-all')); ?>"><?php echo e(localize('Read All')); ?></a>
          <a class="fw-bolder my-2 text-center d-block small" href="<?php echo e(route('admin.notifications.index')); ?>"><?php echo e(localize('Go History')); ?></a>
        </div>
      </div>
    </div>
  </li><?php /**PATH E:\xampp\htdocs\ai\pinterai\resources\views/components/navbar-notification.blade.php ENDPATH**/ ?>