Style autour du profil utilisateur

This commit is contained in:
Sébastien André
2020-04-28 11:41:36 +02:00
parent 43c5f640e8
commit f612f8c8b4
6 changed files with 995 additions and 4 deletions

View File

@@ -13,10 +13,13 @@
</div>
<div>
<a routerLink="/user" routerLinkActive="active" skipLocationChange>
<mat-icon aria-hidden="false" aria-label="User account">account_box</mat-icon>
<h2 style="display: inline;" *ngIf="currentUser">{{ this.currentUser.firstName }}
{{ this.currentUser.lastName }}</h2>
</a>
<a *ngIf="currentUser" (click)="logout()" style="cursor: pointer; margin-left:15px;">Logout</a>
<a *ngIf="currentUser" (click)="logout()" style="cursor: pointer; margin-left:15px;">
<mat-icon aria-hidden="false" aria-label="To logout">logout</mat-icon>
</a>
</div>
</div>