-
Notifications
You must be signed in to change notification settings - Fork 3
/
navigation-container.component.ts
35 lines (33 loc) · 1.14 KB
/
navigation-container.component.ts
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
import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core';
@Component({
selector: 'app-navigation-container',
template: `
<nav class="nav-sticky">
<a [routerLink]="" class="nav-link" role="button">
<fa-icon [icon]="['fas', 'home']"></fa-icon>
</a>
<div class="nav-item-group">
<app-theme-switcher></app-theme-switcher>
<a
href="https://github.com/briancodes/ngx-theme-service"
target="_blank"
>
<fa-icon [icon]="['fab', 'github']"></fa-icon>
</a>
</div>
</nav>
<nav class="nav-title">
<h4>
NgxThemeService with CSS Variables:
</h4>
<fa-icon [icon]="['fab', 'sass']"></fa-icon>
<fa-icon [icon]="['fab', 'css3-alt']"></fa-icon>
</nav>
`,
styleUrls: ['./navigation-container.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class NavigationContainerComponent implements OnInit {
constructor() {}
ngOnInit() {}
}