|
1 | | - <nav> |
2 | | - <mat-toolbar #primary class="primary"> |
| 1 | +<nav mat-tab-nav-bar #primary class="primary"> |
3 | 2 | <a mat-button routerLink="."> |
4 | 3 | <mat-icon> |
5 | 4 | <svg xmlns="http://www.w3.org/2000/svg" role="img" viewBox="0 0 24 24"> |
6 | 5 | <use xlink:href="#angular" /> |
7 | 6 | </svg> |
8 | 7 | </mat-icon> |
9 | | - <b>-</b> |
| 8 | + <b>~</b> |
10 | 9 | <mat-icon> |
11 | 10 | <svg xmlns="http://www.w3.org/2000/svg" role="img" viewBox="0 0 24 24"> |
12 | 11 | <use xlink:href="#react" /> |
13 | 12 | </svg> |
14 | 13 | </mat-icon> |
15 | 14 | </a> |
16 | | - <a mat-button routerLink="performance">Performance</a> |
17 | | - <a mat-button routerLink="components">Components</a> |
18 | | - <a mat-button routerLink="docs">Docs</a> |
| 15 | + <a mat-tab-link routerLink="performance" routerLinkActive #rlaP1="routerLinkActive" [active]="rlaP1.isActive" [routerLinkActiveOptions]="{ exact: false }"> |
| 16 | + Performance |
| 17 | + </a> |
| 18 | + <a mat-tab-link routerLink="components" routerLinkActive #rlaP2="routerLinkActive" [active]="rlaP2.isActive" [routerLinkActiveOptions]="{ exact: false }">Components</a> |
| 19 | + <a mat-tab-link routerLink="docs" routerLinkActive #rlaP3="routerLinkActive" [active]="rlaP3.isActive" [routerLinkActiveOptions]="{ exact: false }">Docs</a> |
19 | 20 | <div class="spacer"></div> |
20 | 21 | <a mat-button href="https://github.com/benfeely/angular-react"> |
21 | 22 | <mat-icon> |
22 | | - <svg xmlns="http://www.w3.org/2000/svg" aria-labelledby="simpleicons-github-icon" role="img" viewBox="0 0 24 24"><title id="simpleicons-github-icon">GitHub icon</title><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg> |
| 23 | + <svg xmlns="http://www.w3.org/2000/svg" aria-labelledby="simpleicons-github-icon" role="img" viewBox="0 0 24 24"> |
| 24 | + <title id="simpleicons-github-icon">GitHub icon</title> |
| 25 | + <path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" |
| 26 | + /> |
| 27 | + </svg> |
23 | 28 | </mat-icon> |
24 | 29 | </a> |
25 | | -</mat-toolbar> |
26 | 30 | </nav> |
27 | 31 |
|
28 | 32 | <nav mat-tab-nav-bar class="secondary" [class.collapse]="collapseSecondaryNav"> |
29 | | - <a mat-tab-link |
30 | | - routerLink="performance/angular" |
31 | | - routerLinkActive #rla1="routerLinkActive" |
32 | | - [active]="rla1.isActive"> |
33 | | - <mat-icon> |
34 | | - <svg xmlns="http://www.w3.org/2000/svg" role="img" viewBox="0 0 24 24"> |
35 | | - <use xlink:href="#angular" /> |
36 | | - </svg> |
37 | | - </mat-icon> |
| 33 | + <a mat-tab-link routerLink="performance/angular" routerLinkActive #rlaS1="routerLinkActive" [active]="rlaS1.isActive"> |
| 34 | + <mat-icon> |
| 35 | + <svg xmlns="http://www.w3.org/2000/svg" role="img" viewBox="0 0 24 24"> |
| 36 | + <use xlink:href="#angular" /> |
| 37 | + </svg> |
| 38 | + </mat-icon> |
38 | 39 | Angular |
39 | 40 | </a> |
40 | | - <a mat-tab-link |
41 | | - routerLink="performance/mixed" |
42 | | - routerLinkActive #rla2="routerLinkActive" |
43 | | - [active]="rla2.isActive"> |
44 | | - <mat-icon class="stack"> |
45 | | - <svg xmlns="http://www.w3.org/2000/svg" role="img" viewBox="0 0 24 24"> |
46 | | - <use xlink:href="#angular" /> |
47 | | - </svg> |
48 | | - <svg xmlns="http://www.w3.org/2000/svg" role="img" viewBox="0 0 24 24"> |
49 | | - <use xlink:href="#react" /> |
50 | | - </svg> |
51 | | - </mat-icon> |
| 41 | + <a mat-tab-link routerLink="performance/mixed" routerLinkActive #rlaS2="routerLinkActive" [active]="rlaS2.isActive"> |
| 42 | + <mat-icon class="stack"> |
| 43 | + <svg xmlns="http://www.w3.org/2000/svg" role="img" viewBox="0 0 24 24"> |
| 44 | + <use xlink:href="#angular" /> |
| 45 | + </svg> |
| 46 | + <svg xmlns="http://www.w3.org/2000/svg" role="img" viewBox="0 0 24 24"> |
| 47 | + <use xlink:href="#react" /> |
| 48 | + </svg> |
| 49 | + </mat-icon> |
52 | 50 | Mixed |
53 | 51 | </a> |
54 | | - <a mat-tab-link |
55 | | - routerLink="performance/profiles" |
56 | | - routerLinkActive #rla3="routerLinkActive" |
57 | | - [active]="rla3.isActive"> |
| 52 | + <a mat-tab-link routerLink="performance/profiles" routerLinkActive #rlaS3="routerLinkActive" [active]="rlaS3.isActive"> |
58 | 53 | <mat-icon>multiline_chart</mat-icon> |
59 | 54 | Profiles |
60 | 55 | </a> |
|
0 commit comments