<div class="sidebar" id="sidebar">
    <div class="sidebar-header">
        <img src="<?php echo e(asset('images/rosa-mys-logo.png')); ?>" alt="Logo" class="sidebar-logo me-3">
        <h5>Student Portal</h5>
    </div>

    <nav class="sidebar-nav">
        <a href="<?php echo e(route('student.dashboard')); ?>" class="nav-item <?php echo e(request()->routeIs('student.dashboard') ? 'active' : ''); ?>">
            <i class="fas fa-tachometer-alt"></i>
            <span>Dashboard</span>
        </a>

        <div class="nav-item dropdown-sidebar">
            <a href="#" class="nav-link-sidebar" data-bs-toggle="collapse" data-bs-target="#resultsDropdown"
                <?php echo e(request()->routeIs('student.results.*') ? 'aria-expanded=true' : ''); ?>>
                <i class="fas fa-chart-line"></i>
                <span>My Results</span>
                <i class="fas fa-chevron-down ms-2 dropdown-arrow"></i>
            </a>
            <div class="collapse <?php echo e(request()->routeIs('student.results.*') ? 'show' : ''); ?>" id="resultsDropdown">
                <a href="<?php echo e(route('student.results.termly')); ?>"
                   class="nav-sub-item <?php echo e(request()->routeIs('student.results.termly') ? 'active' : ''); ?>"
                   style="padding-left: 50px;">
                    <i class="fas fa-calendar"></i>
                    <span>Termly Results</span>
                </a>
                <a href="<?php echo e(route('student.results.annual')); ?>"
                   class="nav-sub-item <?php echo e(request()->routeIs('student.results.annual') ? 'active' : ''); ?>"
                   style="padding-left: 50px;">
                    <i class="fas fa-calendar-alt"></i>
                    <span>Annual Results</span>
                </a>
            </div>
        </div>

        <a href="<?php echo e(route('student.payments.index')); ?>" class="nav-item <?php echo e(request()->routeIs('student.payments.*') ? 'active' : ''); ?>">
            <i class="fas fa-money-bill-wave"></i>
            <span>Payments</span>
        </a>

        <a href="<?php echo e(route('student.profile')); ?>" class="nav-item <?php echo e(request()->routeIs('student.profile') ? 'active' : ''); ?>">
            <i class="fas fa-user"></i>
            <span>My Profile</span>
        </a>

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

<div class="sidebar-overlay" id="sidebarOverlay"></div><?php /**PATH C:\wamp64\www\edu-p\resources\views/components/student-sidebar.blade.php ENDPATH**/ ?>