<!-- Sidebar Start -->
<?php ($user = $user ?? Auth::user()); ?>
<aside class="dashboard-sidebar">
    <div class="dashboard-profile">
        <div class="dashboard-profile-image">
            <?php if($user->profile_photo): ?>
                <img src="<?php echo e(asset('storage/' . $user->profile_photo)); ?>" alt="<?php echo e($user->name); ?>">
            <?php else: ?>
                <img src="<?php echo e(asset('assets/front/img/home-1/courses/client-01.png')); ?>" alt="<?php echo e($user->name); ?>">
            <?php endif; ?>
        </div>
        <h4><?php echo e($user->name); ?></h4>
        <p><?php echo e(__('student.student')); ?></p>
        <span class="status-badge">✓ <?php echo e(__('student.active')); ?></span>
    </div>

    <button class="dashboard-menu-toggle" type="button" aria-label="Toggle menu">
        <i class="fa-solid fa-bars"></i>
        <span><?php echo e(__('student.menu')); ?></span>
    </button>

    <nav class="dashboard-nav-wrapper">
        <ul class="dashboard-nav">
            <li>
                <a href="<?php echo e(route('student.dashboard')); ?>"
                    class="<?php echo e(request()->routeIs('student.dashboard') ? 'active' : ''); ?>">
                    <i class="fa-solid fa-gauge"></i>
                    <span><?php echo e(__('student.dashboard')); ?></span>
                </a>
            </li>
            <li>
                <a href="<?php echo e(route('student.community.index')); ?>"
                    class="<?php echo e(request()->routeIs('student.community.*') ? 'active' : ''); ?>">
                    <i class="fa-solid fa-users"></i>
                    <span><?php echo e(__('student.community')); ?></span>
                </a>
            </li>
            <li>
                <a href="<?php echo e(route('student.notifications.index')); ?>"
                    class="<?php echo e(request()->routeIs('student.notifications.*') ? 'active' : ''); ?>">
                    <i class="fa-solid fa-bell"></i>
                    <span><?php echo e(__('student.notifications')); ?></span>
                </a>
            </li>
            <li>
                <a href="<?php echo e(route('student.ai-chat.index')); ?>"
                    class="<?php echo e(request()->routeIs('student.ai-chat.*') ? 'active' : ''); ?>">
                    <i class="fa-solid fa-robot"></i>
                    <span><?php echo e(__('student.ai_assistant')); ?></span>
                </a>
            </li>
            <li>
                <a href="<?php echo e(route('student.messages.index')); ?>"
                    class="<?php echo e(request()->routeIs('student.messages.*') ? 'active' : ''); ?>">
                    <i class="fa-solid fa-envelope"></i>
                    <span>Messages</span>
                    <span class="badge bg-danger rounded-pill ms-auto student-chat-badge" style="display: none; font-size: 10px;"></span>
                </a>
            </li>
            <li>
                <a href="<?php echo e(route('student.my-courses')); ?>"
                    class="<?php echo e(request()->routeIs('student.my-courses') ? 'active' : ''); ?>">
                    <i class="fa-solid fa-book-open"></i>
                    <span><?php echo e(__('student.my_courses')); ?></span>
                </a>
            </li>
            <li>
                <a href="<?php echo e(route('student.assignments')); ?>"
                    class="<?php echo e(request()->routeIs('student.assignments') ? 'active' : ''); ?>">
                    <i class="fa-solid fa-clipboard-check"></i>
                    <span><?php echo e(__('student.my_assignments')); ?></span>
                </a>
            </li>
            <li>
                <a href="<?php echo e(route('student.quiz-attempts')); ?>"
                    class="<?php echo e(request()->routeIs('student.quiz-attempts') ? 'active' : ''); ?>">
                    <i class="fa-solid fa-circle-question"></i>
                    <span><?php echo e(__('student.my_quiz_attempts')); ?></span>
                </a>
            </li>
            <li>
                <a href="<?php echo e(route('student.events.bookings')); ?>"
                    class="<?php echo e(request()->routeIs('student.events.bookings') ? 'active' : ''); ?>">
                    <i class="fa-solid fa-calendar-check"></i>
                    <span><?php echo e(__('student.my_event_bookings')); ?></span>
                </a>
            </li>
            <li>
                <a href="<?php echo e(route('student.live-classes.index')); ?>"
                    class="<?php echo e(request()->routeIs('student.live-classes.*') ? 'active' : ''); ?>">
                    <i class="fa-solid fa-video"></i>
                    <span>Live Classes</span>
                </a>
            </li>
            <li>
                <a href="<?php echo e(route('student.certificates')); ?>"
                    class="<?php echo e(request()->routeIs('student.certificates') ? 'active' : ''); ?>">
                    <i class="fa-solid fa-certificate"></i>
                    <span><?php echo e(__('student.certificates')); ?></span>
                </a>
            </li>
            <li>
                <a href="<?php echo e(route('student.payments')); ?>"
                    class="<?php echo e(request()->routeIs('student.payments') ? 'active' : ''); ?>">
                    <i class="fa-solid fa-receipt"></i>
                    <span><?php echo e(__('student.payment_history')); ?></span>
                </a>
            </li>
            <li>
                <a href="<?php echo e(route('student.subscription')); ?>"
                    class="<?php echo e(request()->routeIs('student.subscription') ? 'active' : ''); ?>">
                    <i class="fa-solid fa-id-card"></i>
                    <span><?php echo e(__('student.my_subscription')); ?></span>
                </a>
            </li>
            <li>
                <a href="<?php echo e(route('student.settings')); ?>"
                    class="<?php echo e(request()->routeIs('student.settings') ? 'active' : ''); ?>">
                    <i class="fa-solid fa-gear"></i>
                    <span><?php echo e(__('student.settings')); ?></span>
                </a>
            </li>
            <li>
                <a href="<?php echo e(route('logout')); ?>" class="">

                    <i class="fa-solid fa-arrow-up-right"></i><?php echo e(__('student.logout')); ?>

                </a>
            </li>
        </ul>
    </nav>
</aside>
<!-- Sidebar End --><?php /**PATH /Users/mahmudul/Codecanyone/edu_ex_full/Eduex_laravel/resources/views/student/partials/sidebar.blade.php ENDPATH**/ ?>