From 4a7591e1a8ec5ffdff85580c6be4b18d8b85b4d4 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 8 Jun 2018 15:35:18 +0200 Subject: Remove video not found --- client/src/app/+page-not-found/page-not-found-routing.module.ts | 9 ++++++++- client/src/app/+page-not-found/page-not-found.component.scss | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'client/src/app/+page-not-found') 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 @@ import { NgModule } from '@angular/core' import { RouterModule, Routes } from '@angular/router' import { PageNotFoundComponent } from './page-not-found.component' +import { MetaGuard } from '@ngx-meta/core' const pageNotFoundRoutes: Routes = [ { path: '', - component: PageNotFoundComponent + component: PageNotFoundComponent, + canActivate: [ MetaGuard ], + data: { + meta: { + title: 'Not found' + } + } } ] 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 { height: 100%; width: 100%; text-align: center; - margin-top: 50px; + margin-top: 150px; font-size: 32px; } \ No newline at end of file -- cgit v1.2.3