blob: 157fb972bf5ec9cdd40757d3771e89f2d7f4f39e (
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
|
import { Component, OnInit } from '@angular/core';
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 {
constructor(private _router: Router)
{ }
ngOnInit(): void {
}
backToFeed(): void {
this._router.navigate(['/']);
}
backToLogin(): void {
this._router.navigate(['/login']);
}
}
|