improved top bar for small devices

This commit is contained in:
didier amyot committed 2016-03-19 15:31:56 -04:00
1 parent a158a9e323
commit d7ce36f1bc
2 files changed
+110 -29

No files matched your search

+4 -6
View File
@@ -142,7 +142,6 @@ define(['m', '_', 'util', 'resultParser', 'views/topNavBar', 'views/footer', 'ar
]);
};
mainPageBottom.view = function(){
return m('div.uk-margin-top.uk-margin-bottom.uk-grid',
m('div.uk-width-large-3-5.uk-width-medium-4-5.uk-width-small-1-1.uk-container-center', [
@@ -151,17 +150,16 @@ define(['m', '_', 'util', 'resultParser', 'views/topNavBar', 'views/footer', 'ar
mainPageBottom.smallSizeView()
])
);
};
var mainPage = {};
mainPage.view = function(){
return [
topNavBar.view(),
mainPageLogo.view(),
mainPageBottom.view(),
footer.view()
m.component(topNavBar),
m.component(mainPageLogo),
m.component(mainPageBottom),
m.component(footer)
];
};