master_template/resources/views/backend/parts/profile.blade.php

23 lines
972 B
PHP
Raw Normal View History

2024-06-10 12:21:58 +00:00
<div class="dropdown ms-sm-3 header-item topbar-user">
<button type="button" class="btn" id="page-header-user-dropdown" data-bs-toggle="dropdown" aria-haspopup="true"
aria-expanded="false">
2024-06-13 15:17:05 +00:00
{{-- asset(SITEVARS->icon) ?? --}}
2024-06-10 12:21:58 +00:00
<span class="d-flex align-items-center">
<img class="rounded-circle header-profile-user"
2024-06-13 15:17:05 +00:00
src="{{ asset('assets/images/users/avatar-1.jpg') }}" alt="Header Avatar">
2024-06-10 12:21:58 +00:00
<span class="ms-xl-2 text-start">
<span class="d-none d-xl-inline-block fw-medium user-name-text ms-1">{{ auth()->user()->name }}</span>
</span>
</span>
</button>
<div class="dropdown-menu dropdown-menu-end">
<!-- item-->
<h6 class="dropdown-header">Welcome {{ auth()->user()->name }}</h6>
<a class="dropdown-item" href="{{ route('auth.logout') }}"><i
class="mdi mdi-logout text-muted fs-16 me-1 align-middle"></i> <span class="align-middle"
data-key="t-logout">Logout</span></a>
</div>
</div>