<!-- Header Center
    ============================================= -->
    <header id="header" class="center-header">
    <div class="container">
        <div class="row">
        <div id="main-menu-trigger" style="display:flex;">
            <div class="_menu">
                <i class="fa fa-bars"></i>
            </div>
            <div class="_cart" style="margin-left:10px;">
                <a href="<?php echo e(route("cart")); ?>" style="color:black"><i class="fa fa-shopping-cart"></i> <span style="position: absolute;font-size: 10px;color: #FFF;text-shadow: 1px 1px 1px rgb(0 0 0 / 20%);width: 16px;height: 16px;
                    line-height: 16px;
                    text-align: center;
                    background-color: #c59d5f;
                    border-radius: 50%;
                "><?php echo e(countItemInCart()); ?></span></a>
            </div>
        </div>
        <!-- Logo============================================= -->
        <div id="logo">
            <a href="<?php echo e(route("home")); ?>" class="light-logo">
                <img src="<?php echo e(asset("img/logo/logo_white.png")); ?>" alt="Logo" style="width:50px;height:50px;">
            </a>
            <a href="<?php echo e(route("home")); ?>" class="dark-logo">
                <img src="<?php echo e(asset("img/logo/logo_black.png")); ?>" alt="Logo" style="width:40px;height:40px;">
            </a>
        </div>
        <!-- #logo end -->
        <!-- Primary Navigation ============================================= -->
        <nav id="main-menu" class="dark menu-center" style="display:none;">
            <ul>
            <li><a href="<?php echo e(route("home")); ?>">Home</a></li>
            <li><a href="<?php echo e(route("menu")); ?>">Menu</a></li>
            <li><a href="<?php echo e(route("contact")); ?>">Contact</a></li>
            <?php if(auth()->guard()->guest()): ?>
                <?php if(Route::has('register')): ?>
                    <li><a href="<?php echo e(route('register')); ?>"><?php echo e(__('Register')); ?></a></li>
                <?php endif; ?>
                <?php if(Route::has('login')): ?>
                    <li><a href="<?php echo e(route('login')); ?>"><?php echo e(__('Login')); ?></a></li>
                <?php endif; ?>
            <?php else: ?>
            <li>
                <?php if(Auth::user()->user_group == '1'): ?>
                    <a href="<?php echo e(route("admin")); ?>"><?php echo e(Auth::user()->first_name .' '. Auth::user()->last_name); ?></a>
                <?php endif; ?>
                <?php if(Auth::user()->user_group == '2'): ?>
                    <a href="<?php echo e(route("dashboard")); ?>"><?php echo e(Auth::user()->first_name .' '. Auth::user()->last_name); ?></a>
                <?php endif; ?>
            <li>
                <a class="dropdown-item" href="<?php echo e(route('logout')); ?>"
                onclick="event.preventDefault();
                              document.getElementById('logout-form').submit();">
                              <?php echo e(__('Logout')); ?>

                </a>
                <form id="logout-form" action="<?php echo e(route('logout')); ?>" method="POST" class="d-none">
                    <?php echo csrf_field(); ?>
                </form>
            </li>

            <?php endif; ?>
            </ul>
            <!-- Top Cart ============================================= -->
            <div id="shop_cart" >
                <a href="<?php echo e(route("cart")); ?>" id="shop_tigger"><i class="fa fa-shopping-cart"></i><span><?php echo e(countItemInCart()); ?></span></a>
            </div>
            <!-- End shop cart -->
            <div class="search_form" style="position: relative;float: right;margin-top: 10px;">
                <form action="<?php echo e(route("search")); ?>" class="search_form_submit" method="GET">
                    <div id='input_group'>
                        <label id='label' for="input">
                            <i class="fa fa-search js_submit_search" style="color:black;font-size:20px;"></i>
                        </label>
                        <input id='input' type="text" name="q" class="form-control" style="color:black" placeholder="Search food.">
                    </div>
                </form>
            </div>
        </nav>
        <!-- #main-menu end -->
        </div>
    </div>
    </header>
    <!-- End header -->
<?php /**PATH /home/jubilees/trendsadmin.jubileesystem.com/core/resources/views/layouts/includes/main-header.blade.php ENDPATH**/ ?>