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 { ContactAdminModalComponent } from '@app/+about/about-instance/contact-admin-modal.component'
7 import { AboutPeertubeComponent } from '@app/+about/about-peertube/about-peertube.component'
8 import { AboutComponent } from './about.component'
10 const aboutRoutes: Routes = [
13 component: AboutComponent,
17 redirectTo: 'instance',
22 component: AboutInstanceComponent,
25 title: $localize`About this instance`
29 instanceData: AboutInstanceResolver
34 component: ContactAdminModalComponent
40 component: AboutPeertubeComponent,
43 title: $localize`About PeerTube`
49 component: AboutFollowsComponent,
52 title: $localize`About this instance's network`
61 imports: [ RouterModule.forChild(aboutRoutes) ],
62 exports: [ RouterModule ]
64 export class AboutRoutingModule {}