diff --git a/js/gui.js b/js/gui.js index 067af2e21..0750dbe00 100644 --- a/js/gui.js +++ b/js/gui.js @@ -118,14 +118,6 @@ var topBarStyle = { 'float': 'right' }; -var menuStyle = { - position: 'relative', - top: '3px', - marginLeft: '2px' -}, menuItemStyle = { - marginLeft: '3px' -}; - var TopBar = React.createClass({ getInitialState: function() { return { @@ -143,17 +135,33 @@ var TopBar = React.createClass({ render: function() { return ( - - + + + + - - - - ); } }); +var menuStyle = { + position: 'relative', + top: '3px', + marginLeft: '2px' +}, menuItemStyle = { + marginLeft: '3px' +}; + + +var Menu = React.createClass({ + render: function() { + return ( + + + + ) + } +}); //component/discover.js