onion/js/components/whitelabel/wallet/components/23vivi/23vivi_landing.js

63 lines
2.1 KiB
JavaScript
Raw Normal View History

2015-12-03 12:41:27 +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';
2015-12-03 12:41:27 +01:00
let Vivi23Landing = React.createClass({
propTypes: {
customThumbnailPlaceholder: React.PropTypes.func,
2015-12-03 12:41:27 +01:00
// Provided from WalletApp
currentUser: React.PropTypes.object,
whitelabel: React.PropTypes.object.isRequired,
2015-12-03 12:41:27 +01:00
// Provided from router
location: React.PropTypes.object
2015-12-03 12:41:27 +01:00
},
componentWillMount() {
setDocumentTitle('23VIVI Marketplace');
2015-12-03 12:41:27 +01:00
},
render() {
return (
2016-02-05 10:38:59 +01:00
<div className="ascribe-form-wrapper vivi23-landing">
2015-12-03 12:41:27 +01:00
<div className="row">
<div className="col-xs-12">
<div className="row vivi23-landing--header">
<img
className="vivi23-landing--header-logo"
src={this.props.whitelabel.logo}
height="75" />
2015-12-03 12:41:27 +01:00
<div>
2016-03-07 13:45:40 +01:00
{getLangText('23VIVI digital wallet is powered by') + ' '}
2015-12-03 12:41:27 +01:00
<span className="icon-ascribe-logo" />
</div>
</div>
<div className="row vivi23-landing--content">
<div className="col-xs-6">
2015-12-03 12:41:27 +01:00
<p>
{getLangText('Existing ascribe user?')}
</p>
<LinkContainer to="/login">
<Button>
{getLangText('Log in')}
</Button>
</LinkContainer>
</div>
</div>
</div>
</div>
</div>
);
}
});
export default Vivi23Landing;