<!--begin::Navbar-->
<div class="app-navbar flex-shrink-0">



	<!--begin::Activities-->
	<div class="app-navbar-item ms-1 ms-lg-3">
			<span class="text-muted fw-bold font-size-base d-none d-md-inline mr-1">Hi,</span>
            <span class="text-dark-50 fw-bold font-size-base d-none d-md-inline mr-3"><?php echo e(Auth::user()->username); ?></span>
	
		<!--end::Drawer toggle-->
	</div>
	<!--end::Activities-->
	<!--begin::User menu-->
	<div class="app-navbar-item ms-1 ms-lg-3" id="kt_header_user_menu_toggle">
		<!--begin::Menu wrapper-->
		<div class="cursor-pointer symbol symbol-35px symbol-md-40px" data-kt-menu-trigger="{default: 'click', lg: 'hover'}" data-kt-menu-attach="parent" data-kt-menu-placement="bottom-end">
			<img src="<?php echo e(asset('media/avatars/'.Auth::user()->avatar)); ?>" alt="user" />
		</div>

		<div class="menu menu-sub menu-sub-dropdown menu-column menu-rounded menu-gray-800 menu-state-bg menu-state-color fw-semibold py-4 fs-6 w-375px" data-kt-menu="true">
			<!--begin::Menu item-->
			<div class="menu-item px-3">
				<div class="menu-content d-flex align-items-center px-3">
					
					<!--begin::Avatar-->
					<div class="symbol symbol-50px me-5">
						<img alt="Logo" src="<?php echo e(asset('media/avatars/'.Auth::user()->avatar)); ?>" />
					</div>
					<!--end::Avatar-->
					<!--begin::Username-->
					<div class="d-flex flex-column">
						<div class="fw-bold d-flex align-items-center fs-5"><?php echo e(Auth::user()->username); ?>

						<span class="badge badge-light-success fw-bold fs-8 px-2 py-1 ms-2"><?php echo e(ucfirst(Auth::user()->getRoleNames()->implode(','))); ?></span></div>
						<a href="#" class="fw-semibold text-muted text-hover-primary fs-7"><?php echo e(Auth::user()->email); ?></a>
					</div>
					<!--end::Username-->
				</div>
			</div>
			<!--end::Menu item-->
			<!--begin::Menu separator-->
			<div class="separator my-2"></div>
			<!--end::Menu separator-->
			<!--begin::Menu item-->
			<div class="menu-item px-5">
				<a href="<?php echo e(route('view-account')); ?>" class="menu-link px-5">My Profile</a>
			</div>
			<!--end::Menu item-->
			
			<!--begin::Menu item-->
			<div class="menu-item px-5">
				<a href="<?php echo e(route('edit-password')); ?>" class="menu-link px-5">Change Password</a>
			</div>
			<!--end::Menu item-->
			<!--begin::Menu separator-->
			<div class="separator my-2"></div>
			<!--end::Menu separator-->
			
			<!--begin::Menu item-->
			<div class="menu-item px-5">
				<a href="<?php echo e(route('logout')); ?>" class="menu-link px-5">Sign Out</a>
			</div>
			<!--end::Menu item-->
		</div>
		<!--end::Menu wrapper-->
	</div>
	<!--end::User menu-->
	
</div>
<!--end::Navbar--><?php /**PATH C:\laragon\www\pfdib-system\resources\views/layout/partials/header/_navbar.blade.php ENDPATH**/ ?>