Final Refactoring from Advanced Algos to Superalgos

This commit is contained in:
Luis Fernando Molina committed 2019-01-11 16:11:48 +01:00
1 parent a5fbb8e1ab
commit 129367cbb4
21 files changed
+70 -70

No files matched your search

+6 -6
View File
@@ -14,12 +14,12 @@ import Auth from './auth'
import { Layout, Home, Charts, Callback, EmailSignupConfirm } from './views'
import Users from '@advancedalgos/users-client'
import Teams from '@advancedalgos/teams-client'
import Events from '@advancedalgos/events-client'
import KeyVault from '@advancedalgos/key-vault-client'
import FinancialBeings from '@advancedalgos/financial-beings-client'
import Operations from '@advancedalgos/operations-client'
import Users from '@superalgos/users-client'
import Teams from '@superalgos/teams-client'
import Events from '@superalgos/events-client'
import KeyVault from '@superalgos/key-vault-client'
import FinancialBeings from '@superalgos/financial-beings-client'
import Operations from '@superalgos/operations-client'
export const auth = new Auth(
result => console.log('Authentication successful.'),
+1 -1
View File
@@ -338,7 +338,7 @@ header.menu{
.bannerTopBar{
background-position: center center;
background-size: cover;
background-image: url(https://advancedalgos.net/img/photos/teams.jpg);
background-image: url(https://superalgos.org/img/photos/teams.jpg);
width: 100%;
height: 220px;
&.big{
+1 -1
View File
@@ -6,7 +6,7 @@ const Callback = () => <BannerTopBar
size='big'
title=''
text='Authenticating...'
backgroundUrl='https://advancedalgos.net/img/photos/superalgos-platform.jpg'
backgroundUrl='https://superalgos.org/img/photos/superalgos-platform.jpg'
/>
export default Callback
+1 -1
View File
@@ -44,7 +44,7 @@ class Charts extends Component {
size='medium'
title=''
text='Charts loading...'
backgroundUrl='https://advancedalgos.net/img/photos/superalgos-platform.jpg'
backgroundUrl='https://superalgos.org/img/photos/superalgos-platform.jpg'
/>
)
}
@@ -43,7 +43,7 @@ export class SignupVerifyResponse extends React.Component {
size='big'
title={BannerTitle}
text={BannerText}
backgroundUrl='https://advancedalgos.net/img/photos/superalgos-platform.jpg'
backgroundUrl='https://superalgos.org/img/photos/superalgos-platform.jpg'
/>
)
}
@@ -63,7 +63,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 Superalgos project.'
backgroundUrl='https://advancedalgos.net/img/photos/superalgos-platform.jpg'
backgroundUrl='https://superalgos.org/img/photos/superalgos-platform.jpg'
>
{displayForm && <SignupForm alignCenter />}
</BannerTopBar>
@@ -76,7 +76,7 @@ export class SignupVerifyResponse extends React.Component {
size='big'
title='Processing...'
text=''
backgroundUrl='https://advancedalgos.net/img/photos/superalgos-platform.jpg'
backgroundUrl='https://superalgos.org/img/photos/superalgos-platform.jpg'
/>
)
}
+1 -1
View File
@@ -27,7 +27,7 @@ export const EmailSignupConfirm = ({ tokenParam }) => {
size='big'
title=''
text={BannerText}
backgroundUrl='https://advancedalgos.net/img/photos/superalgos-platform.jpg'
backgroundUrl='https://superalgos.org/img/photos/superalgos-platform.jpg'
/>
)
}
+3 -3
View File
@@ -10,7 +10,7 @@ class Home extends Component {
size='big'
title='Superalgos Platform'
text='People and machines working together to create Superalgos'
backgroundUrl='https://advancedalgos.net/img/photos/superalgos-platform.jpg'
backgroundUrl='https://superalgos.org/img/photos/superalgos-platform.jpg'
/>
<div className='homePage container'>
<Typography variant='h1' align='center' className='title'>Welcome to the Superalgos Platform!</Typography>
@@ -28,11 +28,11 @@ class Home extends Component {
</div>
<div className='column'>
<Typography align='justify'>
Feel free to explore the menu in the top-right corner or visit the <a href='https://www.advancedalgos.net/documentation-quick-start.shtml' target='_blank'>Quick Start Guide</a>.
Feel free to explore the menu in the top-right corner or visit the <a href='https://www.superalgos.org/documentation-quick-start.shtml' target='_blank'>Quick Start Guide</a>.
Reporting of bugs at the corresponding <a href='https://github.com/Superalgos' target='_blank' rel='nofollow'>Superalgos Github repository</a> is highly appreciated.
</Typography>
<Typography align='justify'>
Get in touch with the rest of the community and get answers to your questions in our <a href='https://t.me/advancedalgoscommunity' target='_blank' rel='nofollow'>Telegram Group</a>.
Get in touch with the rest of the community and get answers to your questions in our <a href='https://t.me/superalgoscommunity' target='_blank' rel='nofollow'>Telegram Group</a>.
Have fun!
</Typography>
</div>
+3 -3
View File
@@ -41,7 +41,7 @@ class Footer extends Component {
<Typography className={classNames(classes.textLight, classes.descriptionText)} ><strong>Superalgos Ltd.</strong></Typography>
<Typography className={classNames(classes.textLight, classes.descriptionText)} gutterBottom>Ground Floor, Palace Court, Church Street,<br />St. Julians&nbsp;STJ3049, Malta</Typography>
<Typography className={classNames(classes.textLight, classes.descriptionText)}>
<a target='_blank' href='https://www.advancedalgos.net/legal-privacy-statement.shtml' className={classes.linkLight}>Privacy Statement</a> | <a target='_blank' href='https://www.advancedalgos.net/legal-terms-of-service.shtml' className={classes.linkLight}>Terms of Service</a>
<a target='_blank' href='https://www.superalgos.org/legal-privacy-statement.shtml' className={classes.linkLight}>Privacy Statement</a> | <a target='_blank' href='https://www.superalgos.org/legal-terms-of-service.shtml' className={classes.linkLight}>Terms of Service</a>
</Typography>
<Typography variant='body2' className={classNames(classes.textLight, classes.copyright)} gutterBottom>&copy; Superalgos, Ltd. 2018 | All Rights Reserved.</Typography>
</Grid>
@@ -51,13 +51,13 @@ class Footer extends Component {
<SignupForm displayTitle displayIntro />
<Typography variant='subtitle1' className={classes.textWhite} style={{ textAlign: width === 'xs' ? 'center' : '' }}>Meet us on Social Networks:</Typography>
<Grid container justify={width === 'xs' ? 'center' : 'flex-start'}>
<a target='_blank' href='https://t.me/advancedalgoscommunity' title='Join us on Telgram' className={classes.linkLight}>
<a target='_blank' href='https://t.me/superalgoscommunity' title='Join us on Telgram' className={classes.linkLight}>
<FontAwesomeIcon
icon={faTelegramPlane}
className={classNames(classes.icon, classes.iconHover)}
/>
</a>
<a target='_blank' href='https://twitter.com/advancedalgos' title='Follow us on Twitter' className={classes.linkLight}>
<a target='_blank' href='https://twitter.com/superalgos' title='Follow us on Twitter' className={classes.linkLight}>
<FontAwesomeIcon
icon={faTwitter}
className={classNames(classes.icon, classes.iconHover)}
+1 -1
View File
@@ -35,7 +35,7 @@ export const LoggedIn = props => {
<ul className='subMenu'>
<li><Link to='/users/user' onClick={() => closeAll()}> Your Profile </Link></li>
<li><a href='#' onClick={() => auth.logout()}> Logout </a></li>
<li><a href='https://www.advancedalgos.net'> Exit Platform </a></li>
<li><a href='https://www.superalgos.org'> Exit Platform </a></li>
</ul>
</li>
)
+1 -1
View File
@@ -134,7 +134,7 @@ class Header extends Component {
</li>
{menus}
<li className='primaryLink'>
<a href='https://www.advancedalgos.net/documentation-quick-start.shtml'> Docs </a>
<a href='https://www.superalgos.org/documentation-quick-start.shtml'> Docs </a>
</li>
{this.state.user !== undefined && this.state.user !== null ? (
<LoggedIn