1 |
37333849
|
Václav Jirák
|
<div class="row header">
|
2 |
230804d9
|
Václav Jirák
|
<img class="logo" src="../../assets/images/logo.png" alt="logo"/>
|
3 |
18dbad83
|
Václav Jirák
|
<div class="language-and-user">
|
4 |
230804d9
|
Václav Jirák
|
<label [matMenuTriggerFor]="menu" class="language-menu">
|
5 |
|
|
<span class="flag-icon flags flag-icon-gb" *ngIf="language === 'EN'"></span>
|
6 |
|
|
<span class="flag-icon flags flag-icon-cz" *ngIf="language === 'CZ'"></span>
|
7 |
|
|
</label>
|
8 |
|
|
|
9 |
|
|
<mat-menu #menu="matMenu">
|
10 |
|
|
<button mat-menu-item (click)="switchLanguage('en')">
|
11 |
|
|
English <span class="flag-icon flag-icon-gb" ></span>
|
12 |
|
|
</button>
|
13 |
|
|
<button mat-menu-item (click)="switchLanguage('cs')">
|
14 |
|
|
Česky <span class="flag-icon flag-icon-cz"></span>
|
15 |
|
|
</button>
|
16 |
|
|
</mat-menu>
|
17 |
|
|
<button *ngIf="profile" class="user-info" (click)="onProfileClick()">
|
18 |
|
|
<img class="user-icon" src="{{profile.photo}}" alt="profile-photo"/>
|
19 |
|
|
<span class="user-name">{{profile.firstName}} {{profile.lastName}}</span>
|
20 |
18dbad83
|
Václav Jirák
|
</button>
|
21 |
|
|
</div>
|
22 |
37333849
|
Václav Jirák
|
</div>
|