mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-12 16:29:01 +05:30
54 lines
2.0 KiB
JavaScript
54 lines
2.0 KiB
JavaScript
import React, { Component } from 'react';
|
|
|
|
import { FormattedMessage as Message } from 'react-intl';
|
|
import Helmet from 'react-helmet';
|
|
|
|
import buttons from 'components/ui/buttons.scss';
|
|
import { Panel, PanelBody, PanelFooter } from 'components/ui/Panel';
|
|
import { Input } from 'components/ui/Form';
|
|
|
|
import styles from './activation.scss';
|
|
import {helpLinks as helpLinksStyles} from './helpLinks.scss';
|
|
import messages from './Activation.messages';
|
|
|
|
export default class Activation extends Component {
|
|
displayName = 'Activation';
|
|
|
|
render() {
|
|
return (
|
|
<div>
|
|
<Message {...messages.accountActivationTitle}>
|
|
{(msg) => <Helmet title={msg} />}
|
|
</Message>
|
|
|
|
<Panel icon="arrowLeft" title={<Message {...messages.accountActivationTitle} />}>
|
|
<PanelBody>
|
|
<div className={styles.description}>
|
|
<div className={styles.descriptionImage} />
|
|
|
|
<div className={styles.descriptionText}>
|
|
<Message {...messages.activationMailWasSent} values={{
|
|
email: (<b>erickskrauch@yandex.ru</b>)
|
|
}} />
|
|
</div>
|
|
</div>
|
|
<div className={styles.formRow}>
|
|
<Input color="blue" className={styles.activationCodeInput} placeholder={messages.enterTheCode} />
|
|
</div>
|
|
</PanelBody>
|
|
<PanelFooter>
|
|
<button className={buttons.blue}>
|
|
<Message {...messages.confirmEmail} />
|
|
</button>
|
|
</PanelFooter>
|
|
</Panel>
|
|
<div className={helpLinksStyles}>
|
|
<a href="#">
|
|
<Message {...messages.didNotReceivedEmail} />
|
|
</a>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
}
|