2021-07-04 01:33:58 +00:00
|
|
|
export interface RouteInfo {
|
|
|
|
path: string;
|
|
|
|
title: string;
|
|
|
|
type: string;
|
|
|
|
collapse?: string;
|
|
|
|
icontype: string;
|
|
|
|
// icon: string;
|
|
|
|
children?: ChildrenItems[];
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface ChildrenItems {
|
|
|
|
path: string;
|
|
|
|
title: string;
|
|
|
|
ab: string;
|
|
|
|
type?: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export const ADMIN_ROUTES: RouteInfo[] = [
|
2021-07-26 20:40:21 +00:00
|
|
|
// {
|
|
|
|
// path: '/dashboard',
|
|
|
|
// title: 'Dashboard',
|
|
|
|
// type: 'link',
|
|
|
|
// icontype: 'nc-icon nc-chart-bar-32',
|
|
|
|
// },
|
2021-07-29 05:26:29 +00:00
|
|
|
|
|
|
|
{ path: '/pagina-principal', title: 'Inicio', type: 'link', icontype: 'nc-icon nc-world-2' },
|
2021-07-04 01:33:58 +00:00
|
|
|
{
|
|
|
|
path: '/encuesta',
|
|
|
|
title: 'Encuestas',
|
|
|
|
type: 'link',
|
|
|
|
icontype: 'nc-icon nc-paper',
|
|
|
|
},
|
2021-07-26 19:21:18 +00:00
|
|
|
// {
|
|
|
|
// path: '/plantilla',
|
|
|
|
// title: 'Plantillas',
|
|
|
|
// type: 'link',
|
|
|
|
// icontype: 'nc-icon nc-album-2',
|
|
|
|
// },
|
2021-07-04 01:33:58 +00:00
|
|
|
{
|
|
|
|
path: '/categoria',
|
|
|
|
title: 'Categorías',
|
|
|
|
type: 'link',
|
|
|
|
icontype: 'nc-icon nc-tag-content',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: '/usuario-extra',
|
|
|
|
title: 'Usuarios',
|
|
|
|
type: 'link',
|
|
|
|
icontype: 'nc-icon nc-single-02',
|
|
|
|
},
|
|
|
|
{
|
2021-07-15 01:58:25 +00:00
|
|
|
path: '/parametro-aplicacion/1/edit',
|
2021-07-04 01:33:58 +00:00
|
|
|
title: 'Configuración',
|
|
|
|
type: 'link',
|
|
|
|
icontype: 'nc-icon nc-settings-gear-65',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
|
|
|
|
export const USER_ROUTES: RouteInfo[] = [
|
2021-07-29 05:26:29 +00:00
|
|
|
{ path: '/pagina-principal', title: 'Inicio', type: 'link', icontype: 'nc-icon nc-world-2' },
|
2021-07-04 01:33:58 +00:00
|
|
|
{
|
|
|
|
path: '/encuesta',
|
|
|
|
title: 'Encuestas',
|
|
|
|
type: 'link',
|
|
|
|
icontype: 'nc-icon nc-paper',
|
|
|
|
},
|
2021-07-26 19:21:18 +00:00
|
|
|
// {
|
|
|
|
// path: '/tienda',
|
|
|
|
// title: 'Tienda',
|
|
|
|
// type: 'link',
|
|
|
|
// icontype: 'nc-icon nc-cart-simple',
|
|
|
|
// },
|
|
|
|
// {
|
|
|
|
// path: '/plantilla',
|
|
|
|
// title: 'Plantillas',
|
|
|
|
// type: 'link',
|
|
|
|
// icontype: 'nc-icon nc-album-2',
|
|
|
|
// },
|
|
|
|
// {
|
|
|
|
// path: '/colaboraciones',
|
|
|
|
// title: 'Colaboraciones',
|
|
|
|
// type: 'link',
|
|
|
|
// icontype: 'nc-icon nc-world-2',
|
|
|
|
// },
|
2021-07-04 01:33:58 +00:00
|
|
|
];
|