mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-07 08:39:03 +05:30
38 lines
1.3 KiB
React
38 lines
1.3 KiB
React
|
import React, { Component } from 'react';
|
||
|
|
||
|
import { FormattedMessage as Message } from 'react-intl';
|
||
|
|
||
|
import buttons from 'components/ui/buttons.scss';
|
||
|
import icons from 'components/ui/icons.scss';
|
||
|
import { Panel, PanelBody, PanelFooter, PanelBodyHeader } from 'components/ui/Panel';
|
||
|
import { Input, Checkbox } from 'components/ui/Form';
|
||
|
|
||
|
import styles from './signIn.scss';
|
||
|
import messages from './SignIn.messages';
|
||
|
|
||
|
export default class Login extends Component {
|
||
|
displayName = 'Login';
|
||
|
|
||
|
render() {
|
||
|
return (
|
||
|
<div className={styles.signIn}>
|
||
|
<Panel title={<Message {...messages.signInTitle} />}>
|
||
|
<PanelBody>
|
||
|
<Input icon="envelope" type="email" placeholder="E-mail or username" />
|
||
|
</PanelBody>
|
||
|
<PanelFooter>
|
||
|
<button className={buttons.green}>
|
||
|
<Message {...messages.next} />
|
||
|
</button>
|
||
|
</PanelFooter>
|
||
|
</Panel>
|
||
|
<div className={styles.helpLinks}>
|
||
|
<a href="#">
|
||
|
<Message {...messages.forgotPassword} />
|
||
|
</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
);
|
||
|
}
|
||
|
}
|