aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+page-not-found
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+page-not-found')
-rw-r--r--client/src/app/+page-not-found/page-not-found-routing.module.ts9
-rw-r--r--client/src/app/+page-not-found/page-not-found.component.scss2
2 files changed, 9 insertions, 2 deletions
diff --git a/client/src/app/+page-not-found/page-not-found-routing.module.ts b/client/src/app/+page-not-found/page-not-found-routing.module.ts
index 306d2d54d..e3407099d 100644
--- a/client/src/app/+page-not-found/page-not-found-routing.module.ts
+++ b/client/src/app/+page-not-found/page-not-found-routing.module.ts
@@ -1,11 +1,18 @@
1import { NgModule } from '@angular/core' 1import { NgModule } from '@angular/core'
2import { RouterModule, Routes } from '@angular/router' 2import { RouterModule, Routes } from '@angular/router'
3import { PageNotFoundComponent } from './page-not-found.component' 3import { PageNotFoundComponent } from './page-not-found.component'
4import { MetaGuard } from '@ngx-meta/core'
4 5
5const pageNotFoundRoutes: Routes = [ 6const pageNotFoundRoutes: Routes = [
6 { 7 {
7 path: '', 8 path: '',
8 component: PageNotFoundComponent 9 component: PageNotFoundComponent,
10 canActivate: [ MetaGuard ],
11 data: {
12 meta: {
13 title: 'Not found'
14 }
15 }
9 } 16 }
10] 17]
11 18
diff --git a/client/src/app/+page-not-found/page-not-found.component.scss b/client/src/app/+page-not-found/page-not-found.component.scss
index 05d45f97f..53b6142e1 100644
--- a/client/src/app/+page-not-found/page-not-found.component.scss
+++ b/client/src/app/+page-not-found/page-not-found.component.scss
@@ -2,7 +2,7 @@ div {
2 height: 100%; 2 height: 100%;
3 width: 100%; 3 width: 100%;
4 text-align: center; 4 text-align: center;
5 margin-top: 50px; 5 margin-top: 150px;
6 6
7 font-size: 32px; 7 font-size: 32px;
8} \ No newline at end of file 8} \ No newline at end of file