source: Farmatiko/ClientApp/src/app/nav-menu/nav-menu.component.html@ 8e74e2f

Last change on this file since 8e74e2f was 8e74e2f, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago

Fix bugs, add some more.

  • Property mode set to 100644
File size: 1.8 KB
Line 
1<header>
2 <nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3">
3 <div class="container">
4 <a class="navbar-brand" [routerLink]="['/']"><img src="../../assets/logo.png"></a>
5 <button class="navbar-toggler"
6 type="button"
7 data-toggle="collapse"
8 data-target=".navbar-collapse"
9 aria-label="Toggle navigation"
10 [attr.aria-expanded]="isExpanded"
11 (click)="toggle()">
12 <span class="navbar-toggler-icon"></span>
13 </button>
14 <div class="navbar-collapse collapse d-sm-inline-flex flex-sm-row-reverse"
15 [ngClass]="{ show: isExpanded }">
16 <ul class="navbar-nav flex-grow">
17 <li class="nav-item"
18 [routerLinkActive]="['link-active']"
19 [routerLinkActiveOptions]="{ exact: true }">
20 <a class="nav-link text-dark" [routerLink]="['/']">Побарај лек</a>
21 </li>
22 <li class="nav-item" [routerLinkActive]="['link-active']">
23 <a class="nav-link text-dark" [routerLink]="['/mapa']">Мапа</a>
24 </li>
25 <li class="nav-item" [routerLinkActive]="['link-active']">
26 <a class="nav-link text-dark" [routerLink]="['/koronavirus']">Коронавирус</a>
27 </li>
28 <li *ngIf="loggedIn">
29 <button mat-button [matMenuTriggerFor]="menu"><mat-icon>more_vert</mat-icon></button>
30 <mat-menu #menu="matMenu">
31 <button mat-menu-item [routerLink]="['/dashboard']"><mat-icon>dashboard</mat-icon>Контролна табла</button>
32 <button mat-menu-item (click)="logout()"><mat-icon>exit_to_app</mat-icon>Одјави се</button>
33 </mat-menu>
34 </li>
35 </ul>
36 </div>
37 </div>
38 </nav>
39</header>
Note: See TracBrowser for help on using the repository browser.