-
Notifications
You must be signed in to change notification settings - Fork 121
/
Copy pathapp.component.html
49 lines (29 loc) · 936 Bytes
/
app.component.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<mat-sidenav-container fullscreen>
<mat-toolbar color="primary">
<div class="toolbar-tools">
<a class="menu-item" mat-button>
<span>Courses</span>
</a>
<a class="menu-item" mat-button>
<span>About</span>
</a>
<a mat-button class="menu-item">
<mat-icon>account_circle</mat-icon>
<span>Login</span>
</a>
</div>
<a mat-button class="menu-item" *ngIf="auth.isLoggedIn$ | async">
<mat-icon>help</mat-icon>
</a>
<a mat-button class="menu-item" (click)="logout()" *ngIf="auth.isLoggedIn$ | async">
<mat-icon>exit_to_app</mat-icon>
<span>Logout</span>
</a>
<div class="filler"></div>
<ng-container *ngIf="(auth.user$ | async) as user">
<img class="profile-picture" [src]="user.pictureUrl">
</ng-container>
</mat-toolbar>
<messages></messages>
<loading></loading>
</mat-sidenav-container>