aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+page-not-found
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-06-08 15:35:18 +0200
committerChocobozzz <me@florianbigard.com>2018-06-08 15:35:18 +0200
commit4a7591e1a8ec5ffdff85580c6be4b18d8b85b4d4 (patch)
treefc167d50569885006ee6911819dce634586231e2 /client/src/app/+page-not-found
parent696fa4c06b2351983740eb617ad46eb8eeb2c4e8 (diff)
downloadPeerTube-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.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