23 lines
589 B
TypeScript
23 lines
589 B
TypeScript
import { Component, OnInit } from '@angular/core';
|
|
import { NavService } from '../nav/nav.service';
|
|
import { Link } from '../shared/models/link.model';
|
|
import { Links } from '../shared/models/links.model';
|
|
import { Pages } from '../shared/models/pages.model';
|
|
|
|
@Component({
|
|
selector: 'app-links',
|
|
templateUrl: './links.component.html',
|
|
styleUrls: ['./links.component.scss']
|
|
})
|
|
export class LinksComponent implements OnInit {
|
|
|
|
constructor(private navService: NavService) { }
|
|
|
|
links: Array<Link> = Links;
|
|
|
|
ngOnInit(): void {
|
|
this.navService.setPageTitle(Pages.LINKS);
|
|
}
|
|
|
|
}
|