2015-08-19 13:54:45 +02:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
import React from 'react';
|
2015-08-19 14:48:22 +02:00
|
|
|
|
2015-10-01 14:00:56 +02:00
|
|
|
import Button from 'react-bootstrap/lib/Button';
|
|
|
|
|
|
|
|
import LinkContainer from 'react-router-bootstrap/lib/LinkContainer';
|
2015-08-19 13:54:45 +02:00
|
|
|
|
2015-11-03 10:39:01 +01:00
|
|
|
import AscribeSpinner from '../../../../ascribe_spinner';
|
|
|
|
|
2015-08-24 11:22:44 +02:00
|
|
|
import { getLangText } from '../../../../../utils/lang_utils';
|
2015-10-13 17:29:53 +02:00
|
|
|
import { setDocumentTitle } from '../../../../../utils/dom_utils';
|
2015-08-19 13:54:45 +02:00
|
|
|
|
2015-11-03 10:39:01 +01:00
|
|
|
|
2015-08-19 13:54:45 +02:00
|
|
|
let CylandLanding = React.createClass({
|
2016-01-11 16:27:03 +01:00
|
|
|
propTypes: {
|
|
|
|
// Provided from PrizeApp
|
|
|
|
currentUser: React.PropTypes.object,
|
2016-02-05 11:53:33 +01:00
|
|
|
whitelabel: React.PropTypes.object.isRequired,
|
2015-08-19 13:54:45 +02:00
|
|
|
|
2016-01-11 16:27:03 +01:00
|
|
|
// Provided from router
|
2016-01-11 17:41:31 +01:00
|
|
|
location: React.PropTypes.object
|
2015-08-19 13:54:45 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
render() {
|
2015-10-13 17:29:53 +02:00
|
|
|
setDocumentTitle('CYLAND MediaArtLab');
|
|
|
|
|
2015-08-19 13:54:45 +02:00
|
|
|
return (
|
2016-02-05 10:38:59 +01:00
|
|
|
<div className="ascribe-form-wrapper cyland-landing">
|
2015-08-19 13:54:45 +02:00
|
|
|
<div className="row">
|
2015-12-03 12:44:12 +01:00
|
|
|
<div className="col-xs-12">
|
2015-08-19 14:48:22 +02:00
|
|
|
<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="115" />
|
2015-08-19 14:48:22 +02:00
|
|
|
<div style={{marginTop: '1em'}}>
|
2015-11-03 10:39:01 +01:00
|
|
|
{getLangText('Submissions to Cyland Archive are powered by') + ' '}
|
2015-08-19 14:48:22 +02:00
|
|
|
<span>
|
2015-11-03 10:39:01 +01:00
|
|
|
<span className="icon-ascribe-logo"></span>
|
2015-08-19 14:48:22 +02:00
|
|
|
</span>
|
|
|
|
</div>
|
2015-08-19 13:54:45 +02:00
|
|
|
</div>
|
2015-08-19 14:48:22 +02:00
|
|
|
<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-08-19 14:48:22 +02:00
|
|
|
<p>
|
2015-08-24 11:22:44 +02:00
|
|
|
{getLangText('Existing ascribe user?')}
|
2015-08-19 14:48:22 +02:00
|
|
|
</p>
|
2015-10-01 14:00:56 +02:00
|
|
|
<LinkContainer to="/login">
|
|
|
|
<Button>
|
|
|
|
{getLangText('Log in')}
|
|
|
|
</Button>
|
|
|
|
</LinkContainer>
|
2015-08-19 13:54:45 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
export default CylandLanding;
|