<section>
  <nav class="navbar navbar-expand-lg ">
      <div class="container">
          <a class="navbar-brand" href="<?php echo e(route('/')); ?>"><img src="<?php echo e(asset('front/images/logo.png')); ?>" alt="logo" width="100" height="=100"
                  class="img-fluid"></a>
          <button class="navbar-toggler" type="button" data-bs-toggle="collapse"
              data-bs-target="#navbarTogglerDemo02" aria-controls="navbarTogglerDemo02" aria-expanded="false"
              aria-label="Toggle navigation">
              <span class="navbar-toggler-icon">&#9776;</span>
          </button>
          <div class="collapse navbar-collapse justify-content-end" id="navbarTogglerDemo02">
              <ul class="navbar-nav  mb-lg-0">
                  <li class="nav-item">
                      <a class="nav-link active text-uppercase" aria-current="page" href="<?php echo e(route('/')); ?>">Home</a>
                  </li>
                  <li class="nav-item">
                      <a class="nav-link text-uppercase" href="<?php echo e(route('user.cms.pages')); ?>">T&C</a>
                  </li>
                  <li class="nav-item">
                      <a class="nav-link text-uppercase" href="<?php echo e(route('user.contact-us.create')); ?> ">contact us</a>
                  </li>
                  <li class="nav-item">
                    <?php if(Auth::check()): ?>
                        <a class="nav-link text-uppercase" href="<?php echo e(route('user.my-account')); ?>">My Account</a>
                    <?php else: ?>
                       <a class="nav-link text-uppercase" href="<?php echo e(route('user.login')); ?>">Login</a>
                    <?php endif; ?>
                  </li>
                <?php if(Auth::check()): ?>
                    <li class="nav-item">
                        <a type="button" class="nav-link text-uppercase" href="#" data-bs-toggle="modal" data-bs-target="#exampleModal">Logout</a>
                    </li>
                <?php endif; ?>

              </ul>

          </div>
      </div>
  </nav>
</section>

<form id="logout-form" action="<?php echo e(route('logout')); ?>" method="POST" class="d-none">
    <?php echo csrf_field(); ?>
</form>
<!-- Modal -->
<div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="exampleModalLabel">Logout</h5>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>
            <div class="modal-body">
                Do you really want to logout?
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">No</button>
                <button type="button" class="btn btn-primary" id="logout-button">Logout</button>
            </div>
        </div>
    </div>
</div><?php /**PATH D:\laragon\www\bioessenza\resources\views/layouts/navbar.blade.php ENDPATH**/ ?>