Initial commit with modules and routing

This commit is contained in:
piratefinn 2017-11-14 12:47:28 +00:00
parent 25e7e74309
commit f6a6e4c964
5 changed files with 122 additions and 0 deletions

View file

@ -15,6 +15,7 @@ import { TransactionLogComponent } from './transaction-log.component';
import { PayrollLogComponent } from './payroll-log.component';
import { LeaderboardComponent } from './leaderboard.component';
import { MapComponent } from './map.component';
import { TrailMapComponent } from './trail-map.component';
// Using child path to allow for FullLayout theming
const routes: Routes = [
@ -62,6 +63,11 @@ const routes: Routes = [
component: MapComponent,
data: { title: 'Purchase Map' },
},
{
path: 'story-trail',
component: TrailMapComponent,
data: { title: 'Story Trail' },
},
{
path: 'payroll-log',
component: PayrollLogComponent,