2016-08-03 00:29:29 +05:30
|
|
|
import React from 'react';
|
|
|
|
|
|
|
|
import { FormattedMessage as Message } from 'react-intl';
|
2017-05-26 00:41:57 +05:30
|
|
|
import { Link } from 'react-router-dom';
|
2016-08-03 00:29:29 +05:30
|
|
|
|
|
|
|
import icons from 'components/ui/icons.scss';
|
|
|
|
import BaseAuthBody from 'components/auth/BaseAuthBody';
|
2016-08-06 23:17:38 +05:30
|
|
|
import appInfo from 'components/auth/appInfo/AppInfo.intl.json';
|
2016-08-03 00:29:29 +05:30
|
|
|
|
|
|
|
import styles from './acceptRules.scss';
|
|
|
|
import messages from './AcceptRules.intl.json';
|
|
|
|
|
|
|
|
export default class AcceptRulesBody extends BaseAuthBody {
|
2019-11-27 14:33:32 +05:30
|
|
|
static displayName = 'AcceptRulesBody';
|
|
|
|
static panelId = 'acceptRules';
|
2016-08-03 00:29:29 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<div>
|
|
|
|
{this.renderErrors()}
|
2016-08-03 00:29:29 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
<div className={styles.security}>
|
|
|
|
<span className={icons.lock} />
|
|
|
|
</div>
|
2016-08-03 00:29:29 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
<p className={styles.descriptionText}>
|
|
|
|
<Message
|
|
|
|
{...messages.description1}
|
|
|
|
values={{
|
|
|
|
link: (
|
|
|
|
<Link to="/rules" target="_blank">
|
|
|
|
<Message {...messages.termsOfService} />
|
|
|
|
</Link>
|
|
|
|
),
|
|
|
|
}}
|
|
|
|
/>
|
|
|
|
<br />
|
|
|
|
<Message
|
|
|
|
{...messages.description2}
|
|
|
|
values={{
|
|
|
|
name: <Message {...appInfo.appName} />,
|
|
|
|
}}
|
|
|
|
/>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
2016-08-03 00:29:29 +05:30
|
|
|
}
|