integration layer; merge work on indicators from forks with existing ingestion pipeline
This commit is contained in:
+28
-1
@@ -1,4 +1,31 @@
|
||||
import { Routes } from '@angular/router';
|
||||
import { Home } from './home';
|
||||
import { DOMINIOS } from './features/indicadores/indicadores.models';
|
||||
|
||||
export const routes: Routes = [{ path: '', component: Home }];
|
||||
const loadIndicadores = () => import('./features/indicadores/indicadores-page').then(module => module.IndicadoresPage);
|
||||
|
||||
export const routes: Routes = [
|
||||
{ path: '', component: Home, title: 'Análisis de información | ISSSTELEON' },
|
||||
{
|
||||
path: 'conectar',
|
||||
title: 'Conectar datos | ISSSTELEON',
|
||||
// Lazy: the workspace (and the ~15 Material modules it uses) only
|
||||
// downloads when someone actually opens it.
|
||||
loadComponent: () => import('./connect/components/connect-page/connect-page').then((m) => m.ConnectPage),
|
||||
data: { workspace: true, breadcrumb: 'Conectar datos' },
|
||||
},
|
||||
{
|
||||
path: 'gobernanza',
|
||||
title: 'Gobernanza de modelos | ISSSTELEON',
|
||||
loadComponent: () => import('./governance/components/governance-page/governance-page').then((m) => m.GovernancePage),
|
||||
data: { workspace: true, breadcrumb: 'Gobernanza de modelos' },
|
||||
},
|
||||
{ path: 'indicadores', pathMatch: 'full', redirectTo: 'indicadores/tea' },
|
||||
...DOMINIOS.map(dominio => ({
|
||||
path: `indicadores/${dominio}`,
|
||||
title: 'Indicadores | ISSSTELEON',
|
||||
data: { workspace: true, breadcrumb: 'Indicadores', dominio },
|
||||
loadComponent: loadIndicadores,
|
||||
})),
|
||||
{ path: '**', redirectTo: '' },
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user