<!-- Begin: Header -->
<header class="">
    <div class="topBar">
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    <p>Unlocking Unbeatable Value, One Premiere Deal At A Time.
                    </p>
                </div>
            </div>
        </div>
    </div>
    <div class="main-navigate">
        <div class="container">
            <nav class="navbar navbar-expand-lg p-0">
                <a class="navbar-brand" href="<?php echo e(route('front.index')); ?>">
                    <img src="<?php echo e(optional($setting->getMedia('logo')->first())->getUrl()); ?>" alt="img">
                </a>
                <button class="navbar-toggler" type="button" data-toggle="collapse"
                    data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
                    aria-label="Toggle navigation">
                    <span class="navbar-toggler-icon"></span>
                </button>

                <div class="collapse navbar-collapse" id="navbarSupportedContent">
                    <ul class="navbar-nav ml-auto">
                        <li class="nav-item active">
                            <a class="nav-link" href="<?php echo e(route('front.index')); ?>">Home <span class="sr-only">(current)</span></a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="<?php echo e(route('front.about')); ?>">About Us</a>
                        </li>
                        <li class="nav-item dropdown">
                            <a class="nav-link" href="<?php echo e(route('front.product')); ?>">Products</a>

                            <ul class="sub-menu">
                                <?php
                                $get_catgories = App\Models\Category::where('parent_id','=',0)->get();
                                ?>
                                <?php $__empty_1 = true; $__currentLoopData = $get_catgories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $get_catgorie): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                                <li class="menu-item"><a href="<?php echo e(route('front.product', ['category_id' => $get_catgorie->id])); ?>" class=""><?php echo e($get_catgorie->name ? : ''); ?></a></li>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                                <?php endif; ?>
                            </ul>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="<?php echo e(route('front.contact')); ?>">Contact Us</a>
                        </li>
                        <?php if(auth()->check()): ?>
                            <li class="nav-item">
                                <a class="nav-link" href="<?php echo e(route('user.dashboard')); ?>">Dashboard</a>
                            </li>
                        <?php endif; ?>

                    </ul>
                    <div class="form-inline">
                        <?php if(auth()->check() && auth()->user()->hasRole('user|vendor')): ?>
                            <a href="<?php echo e(route('logout')); ?>"><i class=""></i> logout</a>

                        <?php else: ?>
                            <a href="<?php echo e(route('login.form')); ?>"><i class="fas fa-user"></i></a>
                        <?php endif; ?>
                            <div class="headerCart cart">
                                <a href="<?php echo e(route('front.cart')); ?>">
                                    <img src="<?php echo e(asset('front/images/cart.png')); ?>" class="img-fluid" alt="img">
                                    <h6>Cart</h6>
                                    <span><?php echo e(Cart::count() > 0 ? Cart::count() :'0'); ?></span>
                                </a>
                            </div>
                            <ul class="d-flex align-items-center headerSub-btn">
                                <li>
                                    <a href="#search"><i class="fas fa-search"></i></a>
                                </li>
                                <?php if(auth()->check()): ?>
                                    <li class="nav-item">
                                        <a href="<?php echo e(route('wishlist.show')); ?>"><i class="fal fa-heart"></i></a>
                                    </li>
                                <?php endif; ?>
                                <li>
                                    <a href="<?php echo e(route('compare.show')); ?>"><i class="fa fa-random"></i></a>
                                </li>
                            </ul>
                    </div>
                </div>
            </nav>
        </div>
    </div>
</header>

<!-- END: Header -->
<?php /**PATH /home/servicedemoweb/public_html/premiere-deals/resources/views/front/layout/menu.blade.php ENDPATH**/ ?>