style(menu): fix array style

This commit is contained in:
Alexander Zhukov 2017-07-24 20:14:06 +03:00
parent 721a0b36ec
commit 52f49856b1

View file

@ -2,134 +2,98 @@ import { NgaMenuItem } from '@akveo/nga-theme';
import { List } from 'immutable'; import { List } from 'immutable';
export const MENU_ITEMS: List<NgaMenuItem> = List([ export const MENU_ITEMS: List<NgaMenuItem> = List([{
{
title: 'Dashboard', title: 'Dashboard',
icon: 'ion ion-ios-home-outline', icon: 'ion ion-ios-home-outline',
link: '/pages/dashboard', link: '/pages/dashboard',
home: true, home: true,
}, }, {
{
title: 'FEATURES', title: 'FEATURES',
group: true, group: true,
}, }, {
{
title: 'UI Features', title: 'UI Features',
icon: 'ion ion-ios-keypad-outline', icon: 'ion ion-ios-keypad-outline',
link: '/pages/ui-features', link: '/pages/ui-features',
children: List<NgaMenuItem>([ children: List<NgaMenuItem>([{
{
title: 'Buttons', title: 'Buttons',
link: '/pages/ui-features/buttons', link: '/pages/ui-features/buttons',
}, }, {
{
title: 'Grid', title: 'Grid',
link: '/pages/ui-features/grid', link: '/pages/ui-features/grid',
}, }, {
{
title: 'Icons', title: 'Icons',
link: '/pages/ui-features/icons', link: '/pages/ui-features/icons',
}, }, {
{
title: 'Modals', title: 'Modals',
link: '/pages/ui-features/modals', link: '/pages/ui-features/modals',
}, }, {
{
title: 'Typography', title: 'Typography',
link: '/pages/ui-features/typography', link: '/pages/ui-features/typography',
}, }, {
{
title: 'Animated Searches', title: 'Animated Searches',
link: '/pages/ui-features/search-fields', link: '/pages/ui-features/search-fields',
}, }, {
{
title: 'Tabs', title: 'Tabs',
link: '/pages/ui-features/tabs', link: '/pages/ui-features/tabs',
}, }]),
]), }, {
}, title: 'Forms',
{ icon: 'ion-compose',
children: List<NgaMenuItem>([{
title: 'Form Inputs',
link: '/pages/forms/inputs',
}, {
title: 'Form Layouts',
link: '/pages/forms/layouts',
}]),
}, {
title: 'Components', title: 'Components',
icon: 'ion ion-ios-gear-outline', icon: 'ion ion-ios-gear-outline',
children: List<NgaMenuItem>([ children: List<NgaMenuItem>([{
{
title: 'Tree', title: 'Tree',
link: '/pages/components/tree', link: '/pages/components/tree',
}, { }, {
title: 'Notifications', title: 'Notifications',
link: '/pages/components/notifications', link: '/pages/components/notifications',
}, }]),
]), }, {
},
{
title: 'Maps', title: 'Maps',
icon: 'ion ion-ios-location-outline', icon: 'ion ion-ios-location-outline',
children: List<NgaMenuItem>([ children: List<NgaMenuItem>([{
{
title: 'Gmaps', title: 'Gmaps',
link: '/pages/maps/gmaps', link: '/pages/maps/gmaps',
}, }, {
{
title: 'Leaflet', title: 'Leaflet',
link: '/pages/maps/leaflet', link: '/pages/maps/leaflet',
}, }]),
]), }, {
},
{
title: 'Charts', title: 'Charts',
icon: 'ion ion-arrow-graph-up-right', icon: 'ion ion-arrow-graph-up-right',
children: List<NgaMenuItem>([ children: List<NgaMenuItem>([{
{
title: 'Echarts', title: 'Echarts',
link: '/pages/charts/echarts', link: '/pages/charts/echarts',
}, }, {
{
title: 'D3', title: 'D3',
link: '/pages/charts/d3', link: '/pages/charts/d3',
}, }, {
{
title: 'Charts.js', title: 'Charts.js',
link: '/pages/charts/chartjs', link: '/pages/charts/chartjs',
}, }]),
]), }, {
},
{
title: 'Editors', title: 'Editors',
icon: 'ion ion-edit', icon: 'ion ion-edit',
children: List<NgaMenuItem>([ children: List<NgaMenuItem>([{
{
title: 'TinyMCE', title: 'TinyMCE',
link: '/pages/editors/tinymce', link: '/pages/editors/tinymce',
}, }, {
{
title: 'CKEditor', title: 'CKEditor',
link: '/pages/editors/ckeditor', link: '/pages/editors/ckeditor',
}, }]),
]), }, {
},
{
title: 'Forms',
icon: 'ion-compose',
children: List<NgaMenuItem>([
{
title: 'Form Inputs',
link: '/pages/forms/inputs',
},
{
title: 'Form Layouts',
link: '/pages/forms/layouts',
},
]),
},
{
title: 'Tables', title: 'Tables',
icon: 'ion-ios-grid-view', icon: 'ion-ios-grid-view',
children: List<NgaMenuItem>([ children: List<NgaMenuItem>([{
{
title: 'Smart Table', title: 'Smart Table',
link: '/pages/tables/smart-table', link: '/pages/tables/smart-table',
}, }]),
]), }]);
},
]);