<div class="text-center">
<!-- Menu Bar -->
<div class="menu-bar dark mb60">
    <!-- menu Filter
                ============================================= -->
    <ul id="menu-fillter" class="clearfix">
        <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; ?>
        <li class="search_form" style="margin-right:15px;">
            <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="query" class="form-control" style="color:black" placeholder="Search food.">
                </div>
            </form>
        </li>
        <li class="cart_sub">
            <a href="<?php echo e(route("cart")); ?>"><i class="fa fa-shopping-cart"></i><span><?php echo e(countItemInCart()); ?></span></a>
        </li>
    </ul>
    <!-- #menu-filter end -->
    </div>
    <!-- End menu bar -->
</div>
<?php /**PATH /home/jubilees/trends.jubileesystem.com/core/resources/views/layouts/includes/main-nav.blade.php ENDPATH**/ ?>