2018-06-29 22:20:30 +02:00
|
|
|
import {RouterModule, Routes} from '@angular/router';
|
|
|
|
import {RankOverviewComponent} from './rank-overview/rank-overview.component';
|
|
|
|
import {ModuleWithProviders} from '@angular/core';
|
|
|
|
import {DecorationOverviewComponent} from './decoration-overview/decoration-overview.component';
|
2018-07-19 22:10:32 +02:00
|
|
|
import {DecorationPanelComponent} from './decoration-overview/decoration-panel/decoration-panel.component';
|
2018-07-22 13:09:51 +02:00
|
|
|
import {RankPanelComponent} from './rank-overview/rank-panel/rank-panel.component';
|
2018-07-25 21:01:58 +02:00
|
|
|
import {UserListSheetComponent} from './user-list-sheet/user-list-sheet.component';
|
2018-08-04 16:53:58 +02:00
|
|
|
import {DecorationNavigationComponent} from './decoration-overview/decoration-navigation/decoration-navigation.component';
|
2018-06-24 18:17:52 +02:00
|
|
|
|
|
|
|
export const publicRoutes: Routes = [
|
|
|
|
{
|
2018-07-28 19:13:30 +02:00
|
|
|
path: '',
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: 'ranks',
|
|
|
|
component: RankOverviewComponent,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: 'decorations',
|
|
|
|
component: DecorationOverviewComponent,
|
|
|
|
},
|
|
|
|
]
|
2018-06-24 18:17:52 +02:00
|
|
|
},
|
|
|
|
];
|
|
|
|
|
|
|
|
export const pubRouterModule: ModuleWithProviders = RouterModule.forChild(publicRoutes);
|
|
|
|
|
2018-07-28 19:13:30 +02:00
|
|
|
export const pubRoutingComponents = [RankOverviewComponent, DecorationOverviewComponent, DecorationPanelComponent,
|
2018-08-04 16:53:58 +02:00
|
|
|
RankPanelComponent, UserListSheetComponent, DecorationNavigationComponent];
|
2018-06-24 18:17:52 +02:00
|
|
|
|