1 import { NgModule } from '@angular/core'
2 import { RouterModule, Routes } from '@angular/router'
3 import { AboutFollowsComponent } from '@app/+about/about-follows/about-follows.component'
4 import { AboutInstanceComponent } from '@app/+about/about-instance/about-instance.component'
5 import { AboutInstanceResolver } from '@app/+about/about-instance/about-instance.resolver'
6 import { AboutPeertubeComponent } from '@app/+about/about-peertube/about-peertube.component'
7 import { AboutComponent } from './about.component'
9 const aboutRoutes: Routes = [
12 component: AboutComponent,
16 redirectTo: 'instance',
21 component: AboutInstanceComponent,
24 title: $localize`About this instance`
28 instanceData: AboutInstanceResolver
33 component: AboutPeertubeComponent,
36 title: $localize`About PeerTube`
42 component: AboutFollowsComponent,
45 title: $localize`About this instance's network`
54 imports: [ RouterModule.forChild(aboutRoutes) ],
55 exports: [ RouterModule ]
57 export class AboutRoutingModule {}