import { NgModule } from '@angular/core' ; import { RouterModule , Routes } from '@angular/router' ; import { NbAuthComponent } from '@nebular/auth' ; import { ISelectorVisibility } from '../../@core/services' ; import { PrivacyPolicyComponent , TermsAndConditionsComponent } from '../../@shared/legal' ; /**
 * Disabled header selectors for privacy/terms pages
 */ const selectors = { organization : false , date : false , employee : false , project : false } ; export const routes = [ { path : '' , component : NbAuthComponent , children : [ { path : 'terms' , component : TermsAndConditionsComponent , data : { selectors } } , { path : 'privacy' , component : PrivacyPolicyComponent , data : { selectors } } ] } ] ; @ NgModule ( { imports : [ RouterModule . forChild ( routes ) ] , exports : [ RouterModule ] } ) export class PageLegalRoutingModule { }