<!-- Left Sidebar -->
<aside id="minileftbar" class="minileftbar">
    <ul class="menu_list">

        <li><a href="javascript:void(0);" class="menu-sm"><i class="zmdi zmdi-swap"></i></a></li>
        <li><a href="javascript:void(0);" class="fullscreen" data-provide="fullscreen"><i
                    class="zmdi zmdi-fullscreen"></i></a></li>


        <li class="power">
            <a href="<?php echo e(route('admin.logout')); ?>" onclick="logout(event)" class="mega-menu"><i
                    class="zmdi zmdi-power"></i></a>
        </li>
    </ul>
</aside>

<aside class="right_menu">
    <div id="leftsidebar" class="sidebar">
        <div class="menu">
            <ul class="list">
                <li>
                    <div class="user-info m-b-20">
                        <div class="image">
                            <a href="<?php echo e(route('admin.home')); ?>"><img
                                    src="<?php echo e(asset(check_file(auth('admin')->user()->image,'user'))); ?>" alt="User"></a>
                        </div>
                        <div class="detail">
                            <h6><?php echo e(auth('admin')->user()->name); ?></h6>
                            <p class="m-b-0"><?php echo e(auth('admin')->user()->email); ?></p>
                        </div>
                    </div>
                </li>


                <li class="<?php echo e($sidebar_menu == 'dashboard' ? 'active open' : ''); ?>"> <a
                        href="<?php echo e(route('admin.home')); ?>"><i class="zmdi zmdi-home"></i><span>Dashboard</span></a></li>
                <li class="<?php echo e($sidebar_menu == 'profile' ? 'active open' : ''); ?>"><a
                        href="<?php echo e(route('admin.profile.edit')); ?>" class="menu-toggle">
                        <i class="fas fa-user-circle"></i><span>Profile</span> </a>


                </li>
                <hr>
                
                <span>Learning Partner</span>
                
                <ul style="list-style-type: none;">
                <li class="<?php echo e($sidebar_menu == 'all_partner' ? 'active open' : ''); ?>"><a
                        href="<?php echo e(route('admin.approval.partner')); ?>" class="menu-toggle">
                        <i class="fas fa-network-wired"></i><span>Partners</span></a></li>


                <li class="<?php echo e($sidebar_menu == 'course' ? 'active open' : ''); ?>"><a href="javascript:void(0);"
                        class="menu-toggle">
                        <i class="fas fa-book"></i><span>Courses</span> </a>

                    <ul class="ml-menu">
                        <li><a href="<?php echo e(route('admin.course.course')); ?>">All</a></li>
                        <li><a href="<?php echo e(route('admin.course.add')); ?>">New</a></li>
                    </ul>
                </li>
                </ul>


                <hr>
                <span>Exams and Cards</span>
                <ul style="list-style-type: none;">
                <li class="<?php echo e($sidebar_menu == 'add_cards' ? 'active open' : ''); ?>"><a href="javascript:void(0);"
                        class="menu-toggle">
                        <i class="fas fa-medal"></i><span>Cards</span> </a>

                    <ul class="ml-menu">
                        <li><a href="<?php echo e(route('admin.cards.all')); ?>">All</a></li>
                        <li><a href="<?php echo e(route('admin.cards.add')); ?>">New</a></li>
                    </ul>
                </li>
                <li class="<?php echo e($sidebar_menu == 'add_exam' ? 'active open' : ''); ?>"><a href="javascript:void(0);"
                        class="menu-toggle">
                        <i class="fas fa-graduation-cap"></i><span>Exam</span> </a>

                    <ul class="ml-menu">
                        <li><a href="<?php echo e(route('admin.exam.card')); ?>">All</a></li>
                        <li><a href="<?php echo e(route('admin.exam.add')); ?>">New</a></li>
                    </ul>
                </li>
</ul>

<hr>

<!--<li><a href="javascript:void(0);"-->
<!--                        class="menu-toggle">-->
<!--                        <i class="zmdi zmdi-power"></i><span>Logout</span> </a>-->

<!--                    <ul class="ml-menu">-->
<!--                       <li class="power">-->
<!--            <a href="<?php echo e(route('admin.logout')); ?>" onclick="logout(event)" class="mega-menu"><i class="zmdi zmdi-power"></i></a>-->
<!--        </li>-->
<!--                    </ul>-->
<!--                </li>-->
                
<li class=""><a
                        href="<?php echo e(route('admin.logout')); ?>" class="menu-toggle" onclick="logout(event)">
                        <i class="zmdi zmdi-power"></i><span>Logout</span> </a>


                </li>

            </ul>
        </div>
    </div>
</aside>
<?php /**PATH D:\laragon\www\oshta\resources\views/components/admin_sidebar.blade.php ENDPATH**/ ?>