<div class="sticky-footer sticky-content fix-bottom">
    <a href="<?php echo e(url('/')); ?>" class="sticky-link active">
        <i class="w-icon-home"></i>
        <p>Home</p>
    </a>
    <a href="#" class="sticky-link">
        <i class="w-icon-category"></i>
        <p>Category</p>
    </a>
    <?php if(auth()->guard('member')->check()): ?>
    <a class="sticky-link" href="<?php echo e(url('dashboard')); ?>">
        <i class="w-icon-account"></i>
            <p>Overview</p>
    </a>
    <?php else: ?> 
    <a class="sticky-link" href="<?php echo e(url('login')); ?>">
        <i class="w-icon-account"></i>
            <p>Account</p>
    </a>
    <?php endif; ?>       

    <div class="cart-dropdown dir-up">
        <a href="#" style="cursor: pointer;" class="sticky-link">
            <i class="w-icon-cart">
                <span class="cart-count" style="margin-top:20px; margin-right:20px;"><?php echo e($count); ?></span>
            </i>
            <p>Cart</p>
        </a>
        <div class="dropdown-box">
            <div class="shopping-cart-products-2" style="overflow: auto;">
                <table style="width: 100%;border: 1px solid #80808024;">
                    <thead style="background: #d8d8d8;text-align: left;">
                        <tr>
                            <th style="padding-left: 5px;">Image</th>
                            <th>QTY</th>
                            <th>Price</th>
                            <th>Total</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php $__currentLoopData = $cartpro; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cp): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr style="border-bottom: 1px solid #80808024;">
                            <td><img style="width:50px;" src="<?php echo e(URL::to($cp->image)); ?>"><a style="padding: 0;margin-top: -20px;" href="<?php echo e(url('cdelete/'.$cp->id)); ?>">x</a></td>
                            <td><?php echo e($cp->qty); ?></td>
                            <td><?php echo e($cp->price); ?></td>
                            <td><?php echo e($cp->total); ?></td>
                        </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </tbody>
                </table>

                <div class="cart-total">
                    <label>Sub-Total:</label>
                    <span class="price" style="padding:10px;margin-left:-15px;">Tk. <?php echo e($subtotal); ?></span>
                </div>
                
                <a href="<?php echo e(url('cart')); ?>" class="btn btn-primary text-center" style="width: 92px;">Checkout</a>                   
            </div>
        </div>
    </div>

    <div class="header-search hs-toggle dir-up">
        <a href="#" class="search-toggle sticky-link">
            <i class="w-icon-search"></i>
            <p>Search</p>
        </a>
        <form action="#" class="input-wrapper" method="get"><?php echo csrf_field(); ?>
            <input type="text" class="form-control" name="search" autocomplete="off" placeholder="Search"
                required />
            <button class="btn btn-search" type="submit">
                <i class="w-icon-search"></i>
            </button>
        </form>
    </div>
</div><?php /**PATH /home/ebs/public_html/resources/views/web/layout/menu.blade.php ENDPATH**/ ?>