<!-- Sidebar -->
<div class="sidebar sidebar-style-1">			
	<div class="sidebar-wrapper scrollbar scrollbar-inner">
		<div class="sidebar-content">
			<div class="user">
				<div class="avatar-sm float-left mr-2">
					<span class="avatar-title rounded-circle bg-dark">
								AD
					</span>
				</div>
				<div class="info">
					<a data-toggle="collapse" href="#collapseExample" aria-expanded="true">
						<span>
						{{ ucfirst(Auth::user()->username) }} 
							<span class="user-level">Admin</span>
							<span class="caret"></span>
						
						</span>
					</a>
					<div class="clearfix"></div>

					<div class="collapse in" id="collapseExample">
						<ul class="nav">
						<li>
							<a href="{{ route('admin-user.edit',Auth::id())}}">
							<span class="link-collapse">My Profile</span>   
							</a>
						</li>

						<li>		
							<a href="{{ route('logout')}}">
								<span class="link-collapse">Logout</span>
							</a>
						</li>					
					</ul>
				</div>
			</div>
		</div>
			<ul class="nav nav-danger">
			    <li class="nav-item {{ (request()->is('customer')) ? 'active' : '' }}">
					<a href="{{ url('/home')}}" class="collapsed" aria-expanded="false">
						<i class="fas fa-home"></i>
						<p>Home</p>
					</a>
				</li>
				<li class="nav-item {{ (request()->is('admin')) ? 'active' : '' }}">
					<a href="{{ route('admin-dashboard')}}" class="collapsed" aria-expanded="false">
						<i class="fas fa-tachometer-alt"></i>
						<p>Dashboard</p>
					</a>
				</li>
				
				
			</ul>
		</div>
	</div>
</div>
<!-- End Sidebar -->