feat(app): add mock pages and some header feats

This commit is contained in:
tibing 2017-04-18 15:27:37 +03:00
parent 2cb6bf99e0
commit 58c9114ff9
20 changed files with 201 additions and 84 deletions

View file

@ -3,14 +3,20 @@ import { NgModule } from '@angular/core';
import { PagesComponent } from './pages.component';
import { DashboardComponent } from './dashboard/dashboard.component';
import { UiFeaturesComponent } from './ui-features/ui-features.component';
import { ComponentsComponent } from './components/components.component';
import { MapsComponent } from './maps/maps.component';
const routes: Routes = [
{
path: '',
component: PagesComponent,
children: [
{path: '', redirectTo: 'dashboard', pathMatch: 'full'},
{path: 'dashboard', component: DashboardComponent}
{path: 'dashboard', component: DashboardComponent},
{path: 'ui-features', component: UiFeaturesComponent},
{path: 'components', component: ComponentsComponent},
{path: 'maps', component: MapsComponent},
{path: '', redirectTo: 'dashboard', pathMatch: 'full'}
]
}
];