diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-08 15:35:18 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-08 15:35:18 +0200 |
commit | 4a7591e1a8ec5ffdff85580c6be4b18d8b85b4d4 (patch) | |
tree | fc167d50569885006ee6911819dce634586231e2 /client/src/app/+page-not-found | |
parent | 696fa4c06b2351983740eb617ad46eb8eeb2c4e8 (diff) | |
download | PeerTube-4a7591e1a8ec5ffdff85580c6be4b18d8b85b4d4.tar.gz PeerTube-4a7591e1a8ec5ffdff85580c6be4b18d8b85b4d4.tar.zst PeerTube-4a7591e1a8ec5ffdff85580c6be4b18d8b85b4d4.zip |
Remove video not found
Diffstat (limited to 'client/src/app/+page-not-found')
-rw-r--r-- | client/src/app/+page-not-found/page-not-found-routing.module.ts | 9 | ||||
-rw-r--r-- | client/src/app/+page-not-found/page-not-found.component.scss | 2 |
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 @@ | |||
1 | import { NgModule } from '@angular/core' | 1 | import { NgModule } from '@angular/core' |
2 | import { RouterModule, Routes } from '@angular/router' | 2 | import { RouterModule, Routes } from '@angular/router' |
3 | import { PageNotFoundComponent } from './page-not-found.component' | 3 | import { PageNotFoundComponent } from './page-not-found.component' |
4 | import { MetaGuard } from '@ngx-meta/core' | ||
4 | 5 | ||
5 | const pageNotFoundRoutes: Routes = [ | 6 | const 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 |