Updated website
This commit is contained in:
7
src/app/view/not-found/not-found.component.html
Normal file
7
src/app/view/not-found/not-found.component.html
Normal file
@ -0,0 +1,7 @@
|
||||
<div class="bg-white p-5">
|
||||
<div class="card my-5 mx-auto p-5 text-center" style="max-width: 400px">
|
||||
<h1 style="font-size: 4em">404</h1>
|
||||
<h2 class="mt-3">Page not found</h2>
|
||||
<button class="btn btn-outline-secondary rounded-pill px-4 mt-3" (click)="back()">Back</button>
|
||||
</div>
|
||||
</div>
|
13
src/app/view/not-found/not-found.component.ts
Normal file
13
src/app/view/not-found/not-found.component.ts
Normal file
@ -0,0 +1,13 @@
|
||||
import {Component} from '@angular/core';
|
||||
|
||||
declare var navigation: any;
|
||||
|
||||
@Component({
|
||||
selector: 'app-not-found',
|
||||
templateUrl: './not-found.component.html'
|
||||
})
|
||||
export class NotFoundComponent {
|
||||
back() {
|
||||
navigation.back();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user