update Ui

This commit is contained in:
Nguyễn Đức Đạt
2023-04-26 15:22:16 +07:00
parent b185b1f984
commit e906ed7127
4 changed files with 41 additions and 29 deletions
@@ -102,13 +102,17 @@
<div class="dotted-animation"><span class="animate-circle"></span><span
class="main-circle"></span></div>
</div>
<ul class="profile-dropdown onhover-show-div p-20 profile-dropdown-hover width-dropdown">
<li *ngIf="isShop"><a [routerLink]="['/vendors','details', shopId]">
<app-feather-icons [icon]="'user'"></app-feather-icons>Trang cá nhân
</a></li>
<li *ngIf="!isShop"><a [routerLink]="['/users', 'detail', loggedId]">
<app-feather-icons [icon]="'user'"></app-feather-icons>Trang cá nhân
</a></li>
<ul class="profile-dropdown onhover-show-div py-2 px-3 profile-dropdown-hover width-dropdown">
<li class="py-2" *ngIf="isShop">
<a class="d-flex align-items-center " [routerLink]="['/vendors','details', shopId]">
<i class="fa fa-user mr-2" aria-hidden="true"></i><span class="font-weight-bold text-dark text-dropdowm">Trang cá nhân</span>
</a>
</li>
<li class="py-2" *ngIf="!isShop">
<a class="d-flex align-items-center " [routerLink]="['/users', 'detail', loggedId]">
<i class="fa fa-user mr-2" aria-hidden="true"></i><span class="font-weight-bold text-dark text-dropdowm">Trang cá nhân</span>
</a>
</li>
<!-- <li><a href="javascript:void(0)">
<app-feather-icons [icon]="'mail'"></app-feather-icons>Inbox
</a>
@@ -122,9 +126,9 @@
<app-feather-icons [icon]="'settings'"></app-feather-icons>Settings
</a>
</li> -->
<li>
<a (click)="logOut()">
<app-feather-icons [icon]="'log-out'"></app-feather-icons>Đăng xuất
<li class="py-2">
<a class="d-flex align-items-center " (click)="logOut()">
<i class="fa fa-sign-out mr-2" aria-hidden="true"></i><h6 class="font-weight-bold text-dark text-dropdowm">Đăng xuất</h6>
</a>
</li>
</ul>
@@ -1,7 +1,15 @@
.width-dropdown {
width: 180px;
width: 190px;
box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
border-radius: 5px;
.fa {
font-size: 24px;
}
.text-dropdowm {
font-size: 16px;
}
}
@@ -23,9 +31,9 @@
.position-absolute {
position: absolute;
top: 66px;
right: 0px;
right: 12px;
text-align: start;
z-index: 999999;
background: #fff;
}
}
}