<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Admin Panel - <?php echo $__env->yieldContent('title'); ?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1">

    
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">

    
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">

    <style>
        body {
            font-family: 'Segoe UI', sans-serif;
        }
        .sidebar {
            min-height: 100vh;
            background-color: #343a40;
            padding-top: 1rem;
        }
        .sidebar a {
            color: #fff;
            padding: 12px 20px;
            display: block;
            text-decoration: none;
        }
        .sidebar a:hover {
            background-color: #495057;
            color: #ffc107;
        }
        .sidebar .sidebar-title {
            font-size: 1.2rem;
            font-weight: bold;
            color: #ffc107;
            padding: 10px 20px;
            margin-bottom: 1rem;
        }
        .logout-link {
            color: #dc3545 !important;
        }
    </style>
</head>
<body>

<div class="container-fluid">
    <div class="row">

        
        <div class="col-md-2 sidebar">
            <div class="sidebar-title text-center">Admin Panel</div>

            <a href="<?php echo e(route('admin.dashboard')); ?>">
                <i class="fas fa-tachometer-alt"></i> Dashboard
            </a>

            <a href="<?php echo e(route('admin.programmes.index')); ?>">
                <i class="fas fa-book-open"></i> Programmes
            </a>

            <a href="<?php echo e(route('admin.courses.index')); ?>">
                <i class="fas fa-book"></i> Manage Courses
            </a>

            <a href="<?php echo e(route('admin.registrations.index')); ?>">
                <i class="fas fa-user-check"></i> Manage Registrations
            </a>

            <a href="<?php echo e(route('admin.results.index')); ?>">
                <i class="fas fa-chart-line"></i> Results
            </a>

            <a href="<?php echo e(route('admin.deferments.index')); ?>">
                <i class="fas fa-envelope-open-text"></i> Deferments
            </a>

            <a href="<?php echo e(route('admin.accommodation.index')); ?>">
                <i class="fas fa-bed"></i> Accommodation
            </a>

            <a href="<?php echo e(route('admin.notices.index')); ?>">
                <i class="fas fa-bullhorn"></i> Notices
            </a>

            <a href="<?php echo e(route('admin.downloads.index')); ?>">
                <i class="fas fa-download"></i> Downloads
            </a>

            <a href="<?php echo e(route('logout')); ?>" class="logout-link mt-4">
                <i class="fas fa-sign-out-alt"></i> Logout
            </a>
        </div>

        
        <div class="col-md-10 p-4">
            <?php echo $__env->yieldContent('content'); ?>
        </div>

    </div>
</div>


<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>

</body>
</html>
<?php /**PATH C:\xampp\htdocs\studentportal\resources\views/layouts/admin.blade.php ENDPATH**/ ?>