<nav class="main-nav--bg">
  <div class="container main-nav">
    <div class="main-nav-start">
      <div class="search-wrapper">
      </div>
    </div>
    <div class="main-nav-end">
      <button class="sidebar-toggle transparent-btn" title="Menu" type="button">
        <span class="sr-only">Toggle menu</span>
        <span class="icon menu-toggle--gray" aria-hidden="true"></span>
      </button>
      <!-- <button class="theme-switcher gray-circle-btn" type="button" title="Switch theme">
        <span class="sr-only">Switch theme</span>
        <i class="sun-icon" data-feather="sun" aria-hidden="true"></i>
        <i class="moon-icon" data-feather="moon" aria-hidden="true"></i>
      </button> -->
      <!-- <div class="notification-wrapper">
        <button class="gray-circle-btn dropdown-btn" title="To messages" type="button">
          <span class="sr-only">To messages</span>
          <span class="icon notification active" aria-hidden="true"></span>
        </button>
        <ul class="users-item-dropdown notification-dropdown dropdown">
          <li>
            <a href="##">
              <div class="notification-dropdown-icon info">
                <i data-feather="check"></i>
              </div>
              <div class="notification-dropdown-text">
                <span class="notification-dropdown__title">System just updated</span>
                <span class="notification-dropdown__subtitle">The system has been successfully upgraded. Read more
                  here.</span>
              </div>
            </a>
          </li>
          <li>
            <a href="##">
              <div class="notification-dropdown-icon danger">
                <i data-feather="info" aria-hidden="true"></i>
              </div>
              <div class="notification-dropdown-text">
                <span class="notification-dropdown__title">The cache is full!</span>
                <span class="notification-dropdown__subtitle">Unnecessary caches take up a lot of memory space and
                  interfere ...</span>
              </div>
            </a>
          </li>
          <li>
            <a href="##">
              <div class="notification-dropdown-icon info">
                <i data-feather="check" aria-hidden="true"></i>
              </div>
              <div class="notification-dropdown-text">
                <span class="notification-dropdown__title">New Subscriber here!</span>
                <span class="notification-dropdown__subtitle">A new subscriber has subscribed.</span>
              </div>
            </a>
          </li>
          <li>
            <a class="link-to-page" href="##">Go to Notifications page</a>
          </li>
        </ul>
      </div> -->
      <div class="nav-user-wrapper">
        <button href="##" class="nav-user-btn dropdown-btn" title="My profile" type="button">
          <span class="sr-only">My profile</span>
          <span class="nav-user-img">
            <picture>
              <?php if(session('role') == "Dokter"): ?>
              <source srcset="<?php echo e(url('design/img/avatar/doctor.svg')); ?>" type="image/webp">
              <img src="<?php echo e(url('design/img/avatar/doctor.svg')); ?>" style="width: 50px;" alt="User name">
              <?php elseif(session('role') == "Admin"): ?>
              <source srcset="<?php echo e(url('design/img/avatar/businessman.svg')); ?>" type="image/webp">
              <img src="<?php echo e(url('design/img/avatar/businessman.svg')); ?>" style="width: 50px;" alt="User name">
              <?php else: ?>
              <source srcset="<?php echo e(url('design/img/avatar/coding.svg')); ?>" type="image/webp">
              <img src="<?php echo e(url('design/img/avatar/coding.svg')); ?>" style="width: 50px;" alt="User name">
              <?php endif; ?>
            </picture>
          </span>
        </button>
        <ul class="users-item-dropdown nav-user-dropdown dropdown">
          <li>
            <a href="<?php echo e(url('user/'. session('email'))); ?>">
              <i data-feather="user" aria-hidden="true"></i>
              <span>Profile</span>
            </a>
          </li>
          <li>
            <a class="danger" href="<?php echo e(url('logout')); ?>">
              <i data-feather="log-out" aria-hidden="true"></i>
              <span>Log out</span>
            </a>
          </li>
        </ul>
      </div>
    </div>
  </div>
</nav><?php /**PATH D:\website-dokter-budi-master\resources\views\component\navbar.blade.php ENDPATH**/ ?>