aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/+signup/+verify-account/verify-account-routing.module.ts
blob: 1bc6363456cdffac08d56c4dca88db0901c29612 (plain) (tree)
1
2
3
4
5
6
7
8

                                                      
                                                                                                                            
                                                                                                   



                                     





                                               
                                                      







                                                      
                                                                        











                                                          
import { NgModule } from '@angular/core'
import { RouterModule, Routes } from '@angular/router'
import { VerifyAccountAskSendEmailComponent } from './verify-account-ask-send-email/verify-account-ask-send-email.component'
import { VerifyAccountEmailComponent } from './verify-account-email/verify-account-email.component'

const verifyAccountRoutes: Routes = [
  {
    path: '',
    children: [
      {
        path: 'email',
        component: VerifyAccountEmailComponent,
        data: {
          meta: {
            title: $localize`Verify account via email`
          }
        }
      },
      {
        path: 'ask-send-email',
        component: VerifyAccountAskSendEmailComponent,
        data: {
          meta: {
            title: $localize`Ask to send an email to verify you account`
          }
        }
      }
    ]
  }
]

@NgModule({
  imports: [ RouterModule.forChild(verifyAccountRoutes) ],
  exports: [ RouterModule ]
})
export class VerifyAccountRoutingModule {}