X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Babout%2Fabout-routing.module.ts;h=cf5570d31399c8cfe165476d798e7161bcd41e3f;hb=a2be43f5700460d3afdc194abc788690b79e66cd;hp=828b2884cddfa687b73341326e6a75e5d3ca198a;hpb=1e7eb457eda647b4fa22a0ae8e59c0a618f662f8;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+about/about-routing.module.ts b/client/src/app/+about/about-routing.module.ts index 828b2884c..cf5570d31 100644 --- a/client/src/app/+about/about-routing.module.ts +++ b/client/src/app/+about/about-routing.module.ts @@ -1,17 +1,15 @@ import { NgModule } from '@angular/core' import { RouterModule, Routes } from '@angular/router' -import { MetaGuard } from '@ngx-meta/core' -import { AboutComponent } from './about.component' -import { AboutInstanceComponent } from '@app/+about/about-instance/about-instance.component' -import { AboutPeertubeComponent } from '@app/+about/about-peertube/about-peertube.component' import { AboutFollowsComponent } from '@app/+about/about-follows/about-follows.component' +import { AboutInstanceComponent } from '@app/+about/about-instance/about-instance.component' import { AboutInstanceResolver } from '@app/+about/about-instance/about-instance.resolver' +import { AboutPeertubeComponent } from '@app/+about/about-peertube/about-peertube.component' +import { AboutComponent } from './about.component' const aboutRoutes: Routes = [ { path: '', component: AboutComponent, - canActivateChild: [ MetaGuard ], children: [ { path: '', @@ -30,6 +28,19 @@ const aboutRoutes: Routes = [ instanceData: AboutInstanceResolver } }, + { + path: 'contact', + component: AboutInstanceComponent, + data: { + meta: { + title: $localize`Contact` + }, + isContact: true + }, + resolve: { + instanceData: AboutInstanceResolver + } + }, { path: 'peertube', component: AboutPeertubeComponent, @@ -44,7 +55,7 @@ const aboutRoutes: Routes = [ component: AboutFollowsComponent, data: { meta: { - title: $localize`About follows` + title: $localize`About this instance's network` } } }