<!-- Navbar -->
<nav class="main-header navbar navbar-expand navbar-white navbar-light">
    <!-- Left navbar links -->
    <ul class="navbar-nav">
        <li class="nav-item">
            <a class="nav-link" data-widget="pushmenu" href="#"><i class="fa fa-bars" aria-hidden="true"></i></a>
        </li>
        {{-- <li class="nav-item d-none d-sm-inline-block">
          <a href="{{ route('admin.dashboard') }}" class="nav-link">Home</a>
      </li>
      <li class="nav-item d-none d-sm-inline-block">
          <a href="#" class="nav-link">Admin</a>
      </li> --}}
    </ul>

    <!-- SEARCH FORM -->
    <!-- <form class="form-inline ml-3">
    <div class="input-group input-group-sm">
      <input class="form-control form-control-navbar" type="search" placeholder="Search" aria-label="Search">
      <div class="input-group-append">
        <button class="btn btn-navbar" type="submit">
          <i class="fas fa-search"></i>
        </button>
      </div>
    </div>
  </form> -->

    <!-- Right navbar links -->
    <ul class="navbar-nav ml-auto">

        <li class="nav-item">

        </li>
        <!--Logout dropdown start-->
        <li class="nav-item dropdown mr-2">
            <button type="button" style="" class="logou_btn btn btn-danger rounded-pill "
                data-logout_link="{{ route('admin.logout') }}" rel="tooltip" data-placement="bottom"
                title="Admn Logout">
                <i class="fas fa-power-off"></i> Logout
            </button>

        </li>
        <li class="nav-item dropdown">
            <a class="nav-link btn btn-info rounded-pill text-light" data-toggle="dropdown" href="#">
                <i class="fas fa-user-shield"></i> {{ auth()->user()->name }}
            </a>
            <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
                <div class="dropdown-divider"></div>
                @php $encrypt = encrypt(auth()->user()->id); @endphp
                <a href="{{ route('admin.profile') }}" class="dropdown-item">
                    <i class="fas fa-user-circle mr-2 text-primary"></i> Profile
                </a>
            </div>
        </li>

        <!--Logout dropdown end-->
    </ul>
</nav>
<!-- /.navbar -->
