From a68b4a094cf2fb95bf565fead9612d235d53f1ec Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Sat, 27 Oct 2018 17:09:56 +0200 Subject: [PATCH] Chart Section Created --- client/html/index.html | 4 +- client/src/App.js | 48 +++---- client/src/views/charts/index.js | 57 ++++++++ client/src/views/footer/index.js | 217 ++++++++++++++++--------------- client/src/views/header/index.js | 5 + client/src/views/home/index.js | 39 +++--- client/src/views/index.js | 3 +- 7 files changed, 231 insertions(+), 142 deletions(-) create mode 100644 client/src/views/charts/index.js diff --git a/client/html/index.html b/client/html/index.html index 2383147df..d7e2cb41a 100644 --- a/client/html/index.html +++ b/client/html/index.html @@ -22,9 +22,9 @@ window.canvasApp = { sessionToken: '', executingAt: 'Master App', - visible: true, + visible: false, topMargin: 25, - urlPrefix: 'https://develop.advancedalgos.net/' /* 'http://localhost:1337/' */ /* 'https://develop.advancedalgos.net/' */ + urlPrefix: 'https://develop.advancedalgos.net/' /* 'http://localhost:1337/' */ /* 'https://develop.advancedalgos.net/' */ }; loadAdvancedAlgosPlatform(); diff --git a/client/src/App.js b/client/src/App.js index dcb3a0323..4b9d603a2 100644 --- a/client/src/App.js +++ b/client/src/App.js @@ -11,11 +11,11 @@ import { theme, globalStyles } from './styles' import { client } from './graphql/apollo' import Auth from './auth' -import { Header, Footer, Home, Callback } from './views' +import { Header, Footer, Home, Charts, Callback } from './views' +import Users from '@advancedalgos/users-client' import Teams from '@advancedalgos/teams-client' import KeyVault from '@advancedalgos/key-vault-client' -import Users from '@advancedalgos/users-client' export const auth = new Auth( result => console.log('Authentication successful.'), @@ -27,30 +27,34 @@ export const MasterApp = () => ( -
- - - { - auth.handleAuthentication(props) - return - }} +
+ + + { + auth.handleAuthentication(props) + return + }} /> - } + } /> - } + } /> - } + } /> - -