apps/admin/src/app/app.component.ts
selector | app-root |
styleUrls | app.component.css |
templateUrl | ./app.component.html |
Methods |
constructor()
|
Defined in apps/admin/src/app/app.component.ts:8
|
ngOnInit |
ngOnInit()
|
Defined in apps/admin/src/app/app.component.ts:11
|
Returns :
void
|
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent implements OnInit {
constructor() {}
ngOnInit() {}
}
<nav>
<div class="nav-wrapper">
<a routerLink="/" class="brand-logo">Admin System</a>
<ul id="nav-mobile" class="right hide-on-med-and-down">
<li><a routerLink="/employee-management">Employee Management</a></li>
<li><a routerLink="/employee-list">Employee List</a></li>
<li><a routerLink="/employee-search">Employee Search</a></li>
<li><a routerLink="/fruit-basket">Fruit Basket</a></li>
<li><a routerLink="/video-stat-dashboard">Video Statistics</a></li>
</ul>
</div>
</nav>
<div class="container">
<router-outlet></router-outlet>
</div>