mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-27 01:02:14 +05:30
Мелкие исправления
This commit is contained in:
parent
83cad66bea
commit
67b6474c82
@ -19,11 +19,11 @@ class Login extends Component {
|
||||
render() {
|
||||
return (
|
||||
<div>
|
||||
<Message {...messages.signInTitle}>
|
||||
<Message {...messages.loginTitle}>
|
||||
{(msg) => <Helmet title={msg} />}
|
||||
</Message>
|
||||
|
||||
<Panel title={<Message {...messages.signInTitle} />}>
|
||||
<Panel title={<Message {...messages.loginTitle} />}>
|
||||
<PanelBody>
|
||||
<Input icon="envelope" type="email" placeholder={messages.emailOrUsername} />
|
||||
</PanelBody>
|
||||
|
@ -1,8 +1,8 @@
|
||||
import { defineMessages } from 'react-intl';
|
||||
|
||||
export default defineMessages({
|
||||
signInTitle: {
|
||||
id: 'signInTitle',
|
||||
loginTitle: {
|
||||
id: 'loginTitle',
|
||||
defaultMessage: 'Sign in'
|
||||
},
|
||||
|
||||
|
@ -17,11 +17,11 @@ export default class Register extends Component {
|
||||
render() {
|
||||
return (
|
||||
<div>
|
||||
<Message {...messages.signUpTitle}>
|
||||
<Message {...messages.registerTitle}>
|
||||
{(msg) => <Helmet title={msg} />}
|
||||
</Message>
|
||||
|
||||
<Panel title={<Message {...messages.signUpTitle} />}>
|
||||
<Panel title={<Message {...messages.registerTitle} />}>
|
||||
<PanelBody>
|
||||
<Input icon="user" color="blue" type="text" placeholder={messages.yourNickname} />
|
||||
<Input icon="envelope" color="blue" type="email" placeholder={messages.yourEmail} />
|
||||
|
@ -1,8 +1,8 @@
|
||||
import { defineMessages } from 'react-intl';
|
||||
|
||||
export default defineMessages({
|
||||
signUpTitle: {
|
||||
id: 'signUpTitle',
|
||||
registerTitle: {
|
||||
id: 'registerTitle',
|
||||
defaultMessage: 'Sign Up'
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user