<div class="table-container animate-up">
    <table class="table modern-table">
        <thead>
            <tr>
                <th style="width: 60%;">Description</th>
                <th style="width: 20%;" class="text-center">Date</th>
                <th style="width: 20%;" class="text-center">Action</th>
            </tr>
        </thead>
        <tbody>
            <?php $__empty_1 = true; $__currentLoopData = $notices; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $notice): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
            <tr>
                <td>
                    <div class="d-flex align-items-center">
                        <?php if($notice->is_pinned): ?>
                             <i class="fas fa-thumbtack pinned-icon" title="Pinned Notice"></i>
                        <?php endif; ?>
                        <span class="fw-semibold text-dark">
                            <?php echo e($notice->title); ?>

                        </span>
                    </div>
                </td>
                <td class="text-center">
                    <span class="notice-date">
                        <?php echo e($notice->published_at ? \Carbon\Carbon::parse($notice->published_at)->format('d M, Y') : '--'); ?>

                    </span>
                </td>
                <td class="text-center">
                    <?php if($notice->attachment_path): ?>
                        <div class="d-flex justify-content-center gap-2">
                             <a href="<?php echo e(route('notice.view', $notice->id)); ?>" target="_blank" class="action-btn btn-view" title="View File">
                                <i class="fas fa-eye"></i> View
                            </a>
                            <a href="<?php echo e(route('notice.download', $notice->id)); ?>" class="action-btn btn-download px-3" title="Download">
                                <i class="fas fa-download"></i>
                            </a>
                        </div>
                    <?php else: ?>
                        <span class="text-muted small">No file</span>
                    <?php endif; ?>
                </td>
            </tr>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
            <tr>
                <td colspan="3" class="text-center py-5">
                    <div class="text-muted d-flex flex-column align-items-center">
                        <i class="far fa-folder-open fa-3x mb-3 opacity-25"></i>
                        <span class="fw-medium">No notices found at the moment.</span>
                    </div>
                </td>
            </tr>
            <?php endif; ?>
        </tbody>
    </table>
</div>

<!-- Pagination -->
<div class="mt-4 d-flex justify-content-center">
    <?php echo e($notices->links('pagination::bootstrap-5')); ?>

</div>
<?php /**PATH C:\Users\Administrator\Downloads\admin\admin\resources\views/frontend/partials/notice-content.blade.php ENDPATH**/ ?>