]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+signup/+verify-account/verify-account-routing.module.ts
Translated using Weblate (Chinese (Traditional))
[github/Chocobozzz/PeerTube.git] / client / src / app / +signup / +verify-account / verify-account-routing.module.ts
1 import { NgModule } from '@angular/core'
2 import { RouterModule, Routes } from '@angular/router'
3 import { VerifyAccountAskSendEmailComponent } from './verify-account-ask-send-email/verify-account-ask-send-email.component'
4 import { VerifyAccountEmailComponent } from './verify-account-email/verify-account-email.component'
5
6 const verifyAccountRoutes: Routes = [
7 {
8 path: '',
9 children: [
10 {
11 path: 'email',
12 component: VerifyAccountEmailComponent,
13 data: {
14 meta: {
15 title: $localize`Verify account via email`
16 }
17 }
18 },
19 {
20 path: 'ask-send-email',
21 component: VerifyAccountAskSendEmailComponent,
22 data: {
23 meta: {
24 title: $localize`Ask to send an email to verify you account`
25 }
26 }
27 }
28 ]
29 }
30 ]
31
32 @NgModule({
33 imports: [ RouterModule.forChild(verifyAccountRoutes) ],
34 exports: [ RouterModule ]
35 })
36 export class VerifyAccountRoutingModule {}