blob: b1f8cc1d78f6191a31573ac87e4178b977b334f5 (
plain) (
blame)
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
|
import { Component, OnInit } from '@angular/core';
import { Title } from '@angular/platform-browser';
import { Router } from '@angular/router';
@Component({
selector: 'app-not-found',
templateUrl: './not-found.component.html',
styleUrls: ['./not-found.component.css']
})
export class NotFoundComponent implements OnInit {
private _title = 'Not Found!';
constructor(private _titleService: Title, private _router: Router) {
this._titleService.setTitle(this._title);
}
ngOnInit(): void {
}
backToFeed(): void {
this._router.navigate(['/']);
}
backToLogin(): void {
this._router.navigate(['/login']);
}
}
|