feat: add codes component (#308)

* Add user interface
This commit is contained in:
Chirag Gupta
2018-10-10 20:37:36 +05:30
committed by Abhay Chawla
parent f56d7a7dc7
commit b517d015cc
7 changed files with 111 additions and 4 deletions
+17 -2
View File
@@ -1,15 +1,30 @@
import { NgModule } from '@angular/core';
/** Routing Imports */
import { Routes, RouterModule } from '@angular/router';
import { Route } from '../core/route/route.service';
import { extract } from '../core/i18n/i18n.service';
/** Component Imports */
import { SystemComponent } from './system.component';
import { CodesComponent } from './codes/codes.component';
const routes: Routes = [
Route.withShell([
{
path: 'system',
component: SystemComponent,
data: { title: extract('System'), breadcrumb: 'System' }
data: { title: extract('System'), breadcrumb: 'System' },
children: [
{
path: '',
component: SystemComponent
},
{
path: 'codes',
component: CodesComponent,
data: { title: extract('View Codes'), breadcrumb: 'Codes' }
}
]
}
])
];