31 lines
1.2 KiB
TypeScript
31 lines
1.2 KiB
TypeScript
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';
|
|
import {DecorationPanelComponent} from './decoration-overview/decoration-panel/decoration-panel.component';
|
|
import {RankPanelComponent} from './rank-overview/rank-panel/rank-panel.component';
|
|
import {UserListSheetComponent} from './user-list-sheet/user-list-sheet.component';
|
|
import {DecorationNavigationComponent} from './decoration-overview/decoration-navigation/decoration-navigation.component';
|
|
|
|
export const publicRoutes: Routes = [
|
|
{
|
|
path: '',
|
|
children: [
|
|
{
|
|
path: 'ranks',
|
|
component: RankOverviewComponent,
|
|
},
|
|
{
|
|
path: 'decorations',
|
|
component: DecorationOverviewComponent,
|
|
},
|
|
]
|
|
},
|
|
];
|
|
|
|
export const pubRouterModule: ModuleWithProviders = RouterModule.forChild(publicRoutes);
|
|
|
|
export const pubRoutingComponents = [RankOverviewComponent, DecorationOverviewComponent, DecorationPanelComponent,
|
|
RankPanelComponent, UserListSheetComponent, DecorationNavigationComponent];
|
|
|