Browse Source

feat: Update page titles

master
Konstantinos Kamaropoulos 5 years ago
parent
commit
7b59c9df29
  1. 2
      src/app/chart/chart-routing.module.ts
  2. 2
      src/app/home/home-routing.module.ts
  3. 2
      src/app/map/map-routing.module.ts

2
src/app/chart/chart-routing.module.ts

@ -6,7 +6,7 @@ import { ChartComponent } from './chart.component';
const routes: Routes = [ const routes: Routes = [
// Module is lazy loaded, see app-routing.module.ts // Module is lazy loaded, see app-routing.module.ts
{ path: '', component: ChartComponent, data: { title: extract('Chart') } } { path: '', component: ChartComponent, data: { title: extract('Chart | Aiolos') } }
]; ];
@NgModule({ @NgModule({

2
src/app/home/home-routing.module.ts

@ -8,7 +8,7 @@ import { Shell } from '@app/shell/shell.service';
const routes: Routes = [ const routes: Routes = [
Shell.childRoutes([ Shell.childRoutes([
{ path: '', redirectTo: '/home', pathMatch: 'full' }, { path: '', redirectTo: '/home', pathMatch: 'full' },
{ path: 'home', component: HomeComponent, data: { title: extract('Home') } } { path: 'home', component: HomeComponent, data: { title: extract('Home | Aiolos') } }
]) ])
]; ];

2
src/app/map/map-routing.module.ts

@ -6,7 +6,7 @@ import { MapComponent } from './map.component';
const routes: Routes = [ const routes: Routes = [
// Module is lazy loaded, see app-routing.module.ts // Module is lazy loaded, see app-routing.module.ts
{ path: '', component: MapComponent, data: { title: extract('Map') } } { path: '', component: MapComponent, data: { title: extract('Map | Aiolos') } }
]; ];
@NgModule({ @NgModule({

Loading…
Cancel
Save