diff --git a/client/src/App.js b/client/src/App.js
index 73dadf54f..d786e1c97 100644
--- a/client/src/App.js
+++ b/client/src/App.js
@@ -20,6 +20,7 @@ import Events from '@advancedalgos/events-client'
import KeyVault from '@superalgos/key-vault-client'
import FinancialBeings from '@advancedalgos/financial-beings-client'
import Operations from '@superalgos/operations-client'
+import Strategizer from '@superalgos/strategizer-client'
export const auth = new Auth(
result => console.log('Authentication successful.'),
@@ -81,6 +82,10 @@ export const MasterApp = props => (
path='/operations'
render={props => }
/>
+ }
+ />
diff --git a/client/src/auth/index.js b/client/src/auth/index.js
index 16c3a1918..8ef99e1ff 100644
--- a/client/src/auth/index.js
+++ b/client/src/auth/index.js
@@ -49,7 +49,8 @@ export const defaultOptions = {
languageDictionary: {
title: 'Superalgos Platform'
},
- avatar: null
+ avatar: null,
+ mustAcceptTerms: true
}
export const inviteOptions = {
@@ -67,7 +68,12 @@ export const inviteOptions = {
scope: `email`
}
},
- prefill: { email: '' }
+ prefill: { email: '' },
+ languageDictionary: {
+ title: 'Superalgos Platform'
+ },
+ avatar: null,
+ mustAcceptTerms: true
}
let lock = new Auth0Lock(
diff --git a/client/src/views/layout/header/imports.js b/client/src/views/layout/header/imports.js
index 20e16c315..01db8f3b2 100644
--- a/client/src/views/layout/header/imports.js
+++ b/client/src/views/layout/header/imports.js
@@ -10,7 +10,8 @@ import {
// Adb,
VpnKey,
Home,
- AddCircleOutline
+ AddCircleOutline,
+ ViewModule
} from '@material-ui/icons'
const usersMenus = {
@@ -85,13 +86,25 @@ const financialBeingsMenus = {
]
}
+const strategizerMenus = {
+ title: 'Strategizer',
+ to: '/strategizer',
+ icon: Home,
+ authenticated: false,
+ submenus: [
+ { title: 'Your strategies', to: '/strategizer/manage-strategies', icon: ViewModule, authenticated: false },
+ { title: 'Report a Bug', to: 'https://github.com/Superalgos/StrategizerClientModule/issues/new', icon: BugReport, externalLink: true }
+ ]
+}
+
const allMenus = [
usersMenus,
teamsMenus,
// eventsMenus,
// financialBeingsMenus,
keyvaultMenus,
- operationsMenus
+ operationsMenus,
+ strategizerMenus
]
export default allMenus