accounts-frontend/src/components/auth/Login.jsx

38 lines
1.3 KiB
React
Raw Normal View History

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>
);
}
}