<body data-spy="scroll" data-offset="80">

    <!-- START PRELOADER -->
    <div class="preloader">
        <div class="spinner">
            <div class="double-bounce1"></div>
            <div class="double-bounce2"></div>
        </div>
    </div>
    <!-- END PRELOADER -->

    <!-- START NAVBAR -->
    <div class="site-mobile-menu site-navbar-target">
        <div class="site-mobile-menu-header">
            <div class="site-mobile-menu-close mt-3">
                <span class="icon-close2 js-menu-toggle"></span>
            </div>
        </div>
        <div class="site-mobile-menu-body"></div>
    </div>

    <header class="site-navbar js-sticky-header site-navbar-target" role="banner" style="background-color: #ffff;">
        <div class="container">
            <div class="row align-items-center">
                <div class="col-6 col-xl-2">
                    <h1 class="mb-0 site-logo"><a href="<?php echo e(URL::to('/')); ?>"><img src="<?php echo e(asset('assets/img/logo.png')); ?>" alt=""></a></h1>
                </div>
                <div class="col-12 col-md-10 d-none d-xl-block">
                    <nav class="site-navigation position-relative text-right" role="navigation">
                        <ul class="site-menu main-menu js-clone-nav mr-auto d-none d-lg-block">
                            <li <?php echo e(request()->segment(1) == '/' ? 'active' : ''); ?>><a href="<?php echo e(URL::to('/')); ?>" class="nav-link" style="color: #000 !important;">Home</a></li>
                            <?php if(!auth()->user()): ?>
                            <li <?php echo e(request()->segment(1) == '/login' ? 'active' : ''); ?>><a href="<?php echo e(URL::to('/login')); ?>" class="nav-link" style="color: #000 !important;">Login</a></li>
                            <?php else: ?>
                            <li <?php echo e(request()->segment(1) == '/materi' ? 'active' : ''); ?>><a href="<?php echo e(URL::to('/materi')); ?>" class="nav-link" style="color: #000 !important;">Materi</a></li>
                            <li <?php echo e(request()->segment(1) == '/kasus' ? 'active' : ''); ?>><a href="<?php echo e(URL::to('/kasus')); ?>" class="nav-link" style="color: #000 !important;">Kasus</a></li>
                            <li <?php echo e(request()->segment(1) == '/hasil' ? 'active' : ''); ?>><a href="<?php echo e(URL::to('/hasil')); ?>" class="nav-link" style="color: #000 !important;">Hasil</a></li>
                            <li><a href="<?php echo e(URL::to('/logout')); ?>"><button class="btn btn-warning btn-sm" class="nav-link" style="color: #000 !important;">Logout</button></a></li>
                            <?php endif; ?>
                        </ul>
                    </nav>
                </div>
                <div class="col-6 d-inline-block d-xl-none ml-md-0 py-3" style="position: relative; top: 3px;">
                    <a href="#" class="site-menu-toggle js-menu-toggle float-right"><span
                            class="icon-menu h3"></span></a>
                </div>
            </div>
        </div>
    </header>
    <!-- END NAVBAR--><?php /**PATH D:\Yudi\WEB\project\a\project_learning\resources\views/user/layouts/v_nav.blade.php ENDPATH**/ ?>