<div class="container">
        <nav class="row navbar navbar-expand-lg navbar-light bg-white">
            <a href="#" class="navbar-brand">
                <img src="<?php echo e(url('frontend/images/logo_ahaytrip.png')); ?>" alt="Logo Ahaytrip">
            </a>
            <button class="navbar-toggler navbar-toggler-right"
            type="button"
            data-toggle="collapse"
            data-target="#navb">
            <span class="navbar-toggler-icon"></span>
            </button>

            <div class="collapse navbar-collapse" id="navb">
                <ul class="navbar-nav ml-auto mr-3">
                    <li class="nav-item mx-md-2">
                        <a href="<?php echo e(route('home')); ?>" class="nav-link active">Home</a>
                    </li>
                    <li class="nav-item mx-md-2">
                        <a href="#" class="nav-link">Paket Travel</a>
                    </li>
                    <li class="nav-item dropdown">
                        <a href="#" class="nav-link dropdown-toggle" id="navbardrop" data-toggle="dropdown">
                            Services
                        </a>
                        <div class="dropdown-menu">
                            <a href="" class="dropdown-item">Link</a>
                            <a href="" class="dropdown-item">Link</a>
                            <a href="" class="dropdown-item">Link</a>
                        </div>
                    </li>
                    <li class="nav-item mx-md-2">
                        <a href="#" class="nav-link">Testimonial</a>
                    </li>
                </ul>
                    
                <?php if(auth()->guard()->guest()): ?>
                    <!-- Mobile Button -->
                    <form class="form-inline d-sm-block d-md-none">
                        <button class="btn btn-login my-2 my-sm-0 px-4" type="button"
                        onclick="event.preventDefault(); location.href='<?php echo e(url('login')); ?>';">
                            Masuk
                        </button>
                    </form>


                    <!-- Dekstop Button -->
                    <form class="form-inline my-2 my-lg-0 d-none d-md-block">
                        <button class="btn btn-login btn-navbar-right my-2 my-sm-0 px-4" type="button"
                        onclick="event.preventDefault(); location.href='<?php echo e(url('login')); ?>';">
                            Masuk
                        </button>
                    </form>
                <?php endif; ?>

                <?php if(auth()->guard()->check()): ?>
                    <!-- Mobile Button -->
                    <form class="form-inline d-sm-block d-md-none" action="<?php echo e(url('logout')); ?>" method="POST"">
                        <?php echo csrf_field(); ?>
                        <button class="btn btn-login my-2 my-sm-0 px-4" type="submit">
                            Keluar
                        </button>
                    </form>


                    <!-- Dekstop Button -->
                    <form class="form-inline my-2 my-lg-0 d-none d-md-block" action="<?php echo e(url('logout')); ?>" method="POST"">
                        <?php echo csrf_field(); ?>
                        <button class="btn btn-login btn-navbar-right my-2 my-sm-0 px-4" type="submit">
                            Keluar
                        </button>
                    </form>
                <?php endif; ?>

            </div>
        </nav>
    </div><?php /**PATH G:\xampp\htdocs\ahaytravel\resources\views/includes/navbar.blade.php ENDPATH**/ ?>