src/app/modules/core/components/error-page/error-page.component.ts
OnInit
selector | app-error-page |
templateUrl | ./error-page.component.html |
Methods |
constructor()
|
ngOnInit |
ngOnInit()
|
Returns :
void
|
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-error-page',
templateUrl: './error-page.component.html'
})
export class ErrorPageComponent implements OnInit {
constructor() { }
ngOnInit() {
}
}
<div class="ui two column centered grid mt-10">
<div class="column">
<div class="ui huge negative message">
<div class="header">
<span>
<i class="fa fa-chain-broken fa-lg" aria-hidden="true"></i>
Oops! Page not found!
</span>
</div>
<p>The page you are trying to access is invalid. Please navigate to
<a [routerLink]="['/home']">Home page</a></p>
</div>
</div>