From c1656bbf332a083c8900a24ca390173ab8aa060b Mon Sep 17 00:00:00 2001 From: Barry Low Date: Fri, 24 May 2019 09:39:38 -0700 Subject: [PATCH] Simplify Menu --- client/src/views/home/index.js | 41 ++++------------------ client/src/views/layout/header/LoggedIn.js | 1 + client/src/views/layout/header/imports.js | 8 +++-- client/src/views/layout/header/index.js | 3 -- 4 files changed, 13 insertions(+), 40 deletions(-) diff --git a/client/src/views/home/index.js b/client/src/views/home/index.js index 9ecfbfa53..ebc655054 100644 --- a/client/src/views/home/index.js +++ b/client/src/views/home/index.js @@ -20,35 +20,14 @@ class Home extends Component { if (this.state.user !== undefined && this.state.user !== null) {} return ( - {this.state.user !== undefined && this.state.user !== null && ( - -
- - - - - - - -
-
- )} - {(this.state.user === undefined || this.state.user === null) && ( - - )} +
Welcome to the Superalgos Platform! - TRY OUT THE STRATEGIZER DEMO
Before you begin, please be aware this is an alpha stage deployment. @@ -56,20 +35,12 @@ class Home extends Component { However, you may encounter occasional instability and errors. - At this early stage, the focus of the Superalgos Platform is the Strategizer, a tool directed mostly at traders. To try out the Demo version hosted here you will need to Sign Up / Login. Once you are logged in, you will find basic instructions on how to proceed, at this home page (click the Superalgos logo to return to this home page).
- - If you are a developer, trying out the Strategizer may open your eyes as of what may be achieved with the - Strategizer and the Superalgos Platform in general. - - - The Strategizer is conceived to work with as many indicators and pre programmed strategies as developers are willing to program. - If you wish to set up your own indicators and strategies, please get in touch with us and we'll show you how (give us a shout in the Community Telegram) diff --git a/client/src/views/layout/header/LoggedIn.js b/client/src/views/layout/header/LoggedIn.js index 3c346c9fa..c638639e8 100644 --- a/client/src/views/layout/header/LoggedIn.js +++ b/client/src/views/layout/header/LoggedIn.js @@ -34,6 +34,7 @@ export const LoggedIn = props => { toggleMenuOpen(42, true)}> {displayName}
  • closeAll()}> Your Profile
  • +
  • closeAll()}> Your Team
  • auth.logout()}> Logout
  • Docs
  • Exit Platform
  • diff --git a/client/src/views/layout/header/imports.js b/client/src/views/layout/header/imports.js index 3f2f7aae0..1a8ad21df 100644 --- a/client/src/views/layout/header/imports.js +++ b/client/src/views/layout/header/imports.js @@ -25,6 +25,7 @@ const usersMenus = { ] } +/* const teamsMenus = { title: 'Teams', to: '/teams', @@ -36,6 +37,7 @@ const teamsMenus = { { title: 'Report a Bug', to: 'https://github.com/Superalgos/TeamsModule/issues/new', icon: BugReport, externalLink: true } ] } +*/ const eventsMenus = { title: 'Events', @@ -85,6 +87,7 @@ const cockpitMenus = { ] } +/* const strategizerMenus = { title: 'Strategizer', to: '/strategizer', @@ -92,14 +95,15 @@ const strategizerMenus = { authenticated: true, submenus: [] } +*/ const allMenus = [ usersMenus, - teamsMenus, + // teamsMenus, eventsMenus, keyvaultMenus, operationsMenus, - strategizerMenus, + // strategizerMenus, cockpitMenus ] diff --git a/client/src/views/layout/header/index.js b/client/src/views/layout/header/index.js index 224129f4a..39bc0528c 100644 --- a/client/src/views/layout/header/index.js +++ b/client/src/views/layout/header/index.js @@ -115,9 +115,6 @@ class Header extends Component {