2015-11-10 18:49:08 +01:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
import React from 'react';
|
|
|
|
|
|
|
|
import Button from 'react-bootstrap/lib/Button';
|
|
|
|
import LinkContainer from 'react-router-bootstrap/lib/LinkContainer';
|
|
|
|
|
|
|
|
import { getLangText } from '../../../../../utils/lang_utils';
|
|
|
|
import { setDocumentTitle } from '../../../../../utils/dom_utils';
|
|
|
|
|
|
|
|
|
|
|
|
let LumenusLanding = React.createClass({
|
2016-01-11 16:57:48 +01:00
|
|
|
propTypes: {
|
|
|
|
// Provided from PrizeApp
|
|
|
|
currentUser: React.PropTypes.object,
|
2016-02-05 11:53:33 +01:00
|
|
|
whitelabel: React.PropTypes.object.isRequired,
|
2015-11-10 18:49:08 +01:00
|
|
|
|
2016-01-11 16:57:48 +01:00
|
|
|
// Provided from router
|
|
|
|
location: React.PropTypes.object
|
2015-11-10 18:49:08 +01:00
|
|
|
},
|
|
|
|
|
2015-11-24 19:26:45 +01:00
|
|
|
componentWillMount() {
|
|
|
|
setDocumentTitle('Lumenus Marketplace');
|
|
|
|
},
|
|
|
|
|
2015-11-10 18:49:08 +01:00
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<div className="container ascribe-form-wrapper">
|
|
|
|
<div className="row">
|
|
|
|
<div className="col-xs-12 wp-landing-wrapper">
|
|
|
|
<div className="row" style={{border: '1px solid #CCC', padding: '2em'}}>
|
2016-02-05 11:53:33 +01:00
|
|
|
<img src={this.props.whitelabel.logo} height="150" />
|
2015-11-10 18:49:08 +01:00
|
|
|
<div style={{marginTop: '1em'}}>
|
2016-02-04 10:54:38 +01:00
|
|
|
{getLangText('Lumenus Marketplace is powered by') + ' '}
|
2015-11-10 18:49:08 +01:00
|
|
|
<span>
|
|
|
|
<span className="icon-ascribe-logo"></span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div className="row" style={{border: '1px solid #CCC', borderTop: 'none', padding: '2em'}}>
|
2015-12-16 12:43:43 +01:00
|
|
|
<div className="col-xs-6">
|
2015-11-10 18:49:08 +01:00
|
|
|
<p>
|
|
|
|
{getLangText('Existing ascribe user?')}
|
|
|
|
</p>
|
|
|
|
<LinkContainer to="/login">
|
|
|
|
<Button>
|
|
|
|
{getLangText('Log in')}
|
|
|
|
</Button>
|
|
|
|
</LinkContainer>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
export default LumenusLanding;
|