<aside class="admin-sidebar bg-dark text-white">
    <div class="sidebar-header text-center py-3">
        <h5 class="mb-0 fw-bold">Ecommerce Admin</h5>
    </div>

    <ul class="nav flex-column px-2">

        <li class="nav-item">
            <a href="<?php echo e(route('admin.dashboard')); ?>" class="nav-link text-white">
                <i class="bi bi-speedometer2 me-2"></i> Dashboard
            </a>
        </li>

        <li class="nav-item">
            <a class="nav-link text-white" data-bs-toggle="collapse" href="#productsMenu">
                <i class="bi bi-box-seam me-2"></i> Products
                <i class="bi bi-chevron-down float-end"></i>
            </a>
            <div class="collapse ps-3" id="productsMenu">
                <a href="<?php echo e(route('admin.product.list')); ?>" class="nav-link text-white">All Products</a>
                <a href="<?php echo e(route('admin.new.product')); ?>" class="nav-link text-white">Add Product</a>
                <a href="#" class="nav-link text-white">Categories</a>
            </div>
        </li>

        <li class="nav-item">
            <a class="nav-link text-white" data-bs-toggle="collapse" href="#ordersMenu">
                <i class="bi bi-cart me-2"></i> Orders
                <i class="bi bi-chevron-down float-end"></i>
            </a>
             <div class="collapse ps-3" id="ordersMenu">
                <a href="<?php echo e(route('admin.Order.new')); ?>" class="nav-link text-white">New Order</a>
                <a href="<?php echo e(route('admin.Order.all')); ?>" class="nav-link text-white">All Order</a>
                <a href="#" class="nav-link text-white">Returns</a>
            </div>
        </li>

        <li class="nav-item">
            <a class="nav-link text-white" data-bs-toggle="collapse" href="#customerMenu" >
                <i class="bi bi-people me-2"></i> Customers
                <i class="bi bi-chevron-down float-end"></i>
            </a>
            <div class="collapse ps-3" id="customerMenu">
                <a href="<?php echo e(route('admin.customer.list')); ?>" class="nav-link text-white">Customer List</a>
            </div>
        </li>

        <li class="nav-item">
            <a href="#" class="nav-link text-white">
                <i class="bi bi-gear me-2"></i> Settings
            </a>
        </li>

        <li class="nav-item mt-3">
            <form action="<?php echo e(route('admin.logout')); ?>" method="POST">
                <?php echo csrf_field(); ?>
                <button class="btn btn-danger w-100">
                    <i class="bi bi-box-arrow-right me-1"></i> Logout
                </button>
            </form>
        </li>

    </ul>
</aside>
<?php /**PATH C:\wamp64\www\ecommerce\resources\views/Admin/layout/sidebar.blade.php ENDPATH**/ ?>