From d7f382adfb18047c5055be542646518937e84c75 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Thu, 15 Nov 2018 23:37:48 +0100 Subject: [PATCH 1/4] Only first name displayed in Logged in to save space --- client/src/views/layout/header/LoggedIn.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/client/src/views/layout/header/LoggedIn.js b/client/src/views/layout/header/LoggedIn.js index 1476e6969..0758db99a 100644 --- a/client/src/views/layout/header/LoggedIn.js +++ b/client/src/views/layout/header/LoggedIn.js @@ -19,9 +19,10 @@ export const LoggedIn = props => { displayName = user.firstName } - if (isDefined(user.firstName) && isDefined(user.lastName)) { - displayName = user.firstName + ' ' + user.lastName - } + displayName = displayName.split('-')[0] + displayName = displayName.split('.')[0] + displayName = displayName.split('_')[0] + displayName = displayName.split(' ')[0] return ( From 08c22cafe1b5b285bc3f0c24c311157759023e9a Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Thu, 15 Nov 2018 23:45:26 +0100 Subject: [PATCH 2/4] Correcting the URL for images from test site to public web site --- client/src/views/callback/index.js | 2 +- client/src/views/charts/index.js | 2 +- .../email-verification/components/SignupVerifyResponse.js | 6 +++--- client/src/views/email-verification/index.js | 2 +- client/src/views/home/index.js | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/client/src/views/callback/index.js b/client/src/views/callback/index.js index 01ae059fa..9f052889f 100644 --- a/client/src/views/callback/index.js +++ b/client/src/views/callback/index.js @@ -6,7 +6,7 @@ const Callback = () => export default Callback diff --git a/client/src/views/charts/index.js b/client/src/views/charts/index.js index 29589ff2a..38eec4e9e 100644 --- a/client/src/views/charts/index.js +++ b/client/src/views/charts/index.js @@ -44,7 +44,7 @@ class Charts extends Component { size='medium' title='' text='Charts loading...' - backgroundUrl='https://aacorporatesitedevelop.azurewebsites.net/img/photos/superalgos-platform.jpg' + backgroundUrl='https://advancedalgos.net/img/photos/superalgos-platform.jpg' /> ) } diff --git a/client/src/views/email-verification/components/SignupVerifyResponse.js b/client/src/views/email-verification/components/SignupVerifyResponse.js index 94c573c90..fca6419d6 100644 --- a/client/src/views/email-verification/components/SignupVerifyResponse.js +++ b/client/src/views/email-verification/components/SignupVerifyResponse.js @@ -36,7 +36,7 @@ export class SignupVerifyResponse extends React.Component { size='big' title={BannerTitle} text={BannerText} - backgroundUrl='https://aacorporatesitedevelop.azurewebsites.net/img/photos/superalgos-platform.jpg' + backgroundUrl='https://advancedalgos.net/img/photos/superalgos-platform.jpg' /> ) } @@ -52,7 +52,7 @@ export class SignupVerifyResponse extends React.Component { size='big' title='Mailing Sign-Up Complete!' text='We look forward to keeping you up-to-date on the Advanced Algos project.' - backgroundUrl='https://aacorporatesitedevelop.azurewebsites.net/img/photos/superalgos-platform.jpg' + backgroundUrl='https://advancedalgos.net/img/photos/superalgos-platform.jpg' > {displayForm && } @@ -65,7 +65,7 @@ export class SignupVerifyResponse extends React.Component { size='big' title='Processing...' text='' - backgroundUrl='https://aacorporatesitedevelop.azurewebsites.net/img/photos/superalgos-platform.jpg' + backgroundUrl='https://advancedalgos.net/img/photos/superalgos-platform.jpg' /> ) } diff --git a/client/src/views/email-verification/index.js b/client/src/views/email-verification/index.js index 8e38064c6..dd71bc7ae 100644 --- a/client/src/views/email-verification/index.js +++ b/client/src/views/email-verification/index.js @@ -27,7 +27,7 @@ export const EmailSignupConfirm = ({ tokenParam }) => { size='big' title='' text={BannerText} - backgroundUrl='https://aacorporatesitedevelop.azurewebsites.net/img/photos/superalgos-platform.jpg' + backgroundUrl='https://advancedalgos.net/img/photos/superalgos-platform.jpg' /> ) } diff --git a/client/src/views/home/index.js b/client/src/views/home/index.js index db0c3856e..b1820b600 100644 --- a/client/src/views/home/index.js +++ b/client/src/views/home/index.js @@ -10,7 +10,7 @@ class Home extends Component { size='big' title='Advanced Algos Platform' text='People and machines working together to create Superalgos' - backgroundUrl='https://aacorporatesitedevelop.azurewebsites.net/img/photos/superalgos-platform.jpg' + backgroundUrl='https://advancedalgos.net/img/photos/superalgos-platform.jpg' />
Welcome to the Advanced Algos Platform! From db14909ee3f6e7c793f6e3dd0ab5ae3409732dd6 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Thu, 15 Nov 2018 23:52:43 +0100 Subject: [PATCH 3/4] Scripts being read from deprecated dns --- client/html/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/html/index.html b/client/html/index.html index 0cfbbba3e..b81b86c87 100644 --- a/client/html/index.html +++ b/client/html/index.html @@ -13,8 +13,8 @@ - - + +