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 diff --git a/client/src/app/videos/+video-watch/video-watch.component.html b/client/src/app/videos/+video-watch/video-watch.component.html index d80b633df..4c650b121 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.html +++ b/client/src/app/videos/+video-watch/video-watch.component.html @@ -1,10 +1,8 @@