Skip to content
This repository was archived by the owner on Oct 1, 2018. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 16 additions & 14 deletions src/app/app.component.html
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
<div class="app-fullpage">
<mat-toolbar color="accent" class="mat-elevation-z6">
<button mat-icon-button (click)="sidenav.toggle()">
<mat-icon>
menu
</mat-icon>
</button>
<span class="title"> RxJS Docs </span>
</mat-toolbar>
<header>
<mat-toolbar color="accent" class="mat-elevation-z6">
<button mat-icon-button (click)="sidenav.toggle()" aria-label="menu">
<mat-icon>
menu
</mat-icon>
</button>
<span class="title"> RxJS Docs </span>
</mat-toolbar>
</header>
<mat-sidenav-container>
<mat-sidenav #sidenav>
<mat-sidenav #sidenav role="navigation">
<mat-nav-list (click)="sidenav.toggle()">
<a *ngFor="let menu of menus" mat-list-item routerLinkActive="active"
[routerLinkActiveOptions]="menu.options"
<a *ngFor="let menu of menus" mat-list-item routerLinkActive="active"
[routerLinkActiveOptions]="menu.options"
[routerLink]="menu.link">
{{menu.title}}
{{menu.title}}
</a>
</mat-nav-list>
</mat-sidenav>
<div class="body-margin">
<main class="body-margin">
<router-outlet></router-outlet>
</div>
</main>
</mat-sidenav-container>
</div>
1 change: 1 addition & 0 deletions src/app/app.component.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.title {
padding: 0 16px;
font-weight: 600;
}