diff options
author | 2022-05-06 19:06:00 -0500 | |
---|---|---|
committer | 2022-05-06 19:06:00 -0500 | |
commit | 4df01bf76dd0c19d29587571131555639bf2b844 (patch) | |
tree | f19565f06da9d6c796bd3962d6f28a4fcff0da63 /src/components/auth/Signup.js | |
parent | Regenerate i18n file (diff) | |
download | ferdium-app-4df01bf76dd0c19d29587571131555639bf2b844.tar.gz ferdium-app-4df01bf76dd0c19d29587571131555639bf2b844.tar.zst ferdium-app-4df01bf76dd0c19d29587571131555639bf2b844.zip |
Use components defined in the codebase; Extract some text for i18n purposes.
Diffstat (limited to 'src/components/auth/Signup.js')
-rw-r--r-- | src/components/auth/Signup.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/auth/Signup.js b/src/components/auth/Signup.js index 3cccb2428..1c7b8e247 100644 --- a/src/components/auth/Signup.js +++ b/src/components/auth/Signup.js | |||
@@ -12,6 +12,7 @@ import Link from '../ui/Link'; | |||
12 | 12 | ||
13 | import { globalError as globalErrorPropType } from '../../prop-types'; | 13 | import { globalError as globalErrorPropType } from '../../prop-types'; |
14 | import { termsBase } from '../../api/apiBase'; | 14 | import { termsBase } from '../../api/apiBase'; |
15 | import { H1 } from '../ui/headline'; | ||
15 | 16 | ||
16 | const messages = defineMessages({ | 17 | const messages = defineMessages({ |
17 | headline: { | 18 | headline: { |
@@ -124,7 +125,7 @@ class Signup extends Component { | |||
124 | onSubmit={e => this.submit(e)} | 125 | onSubmit={e => this.submit(e)} |
125 | > | 126 | > |
126 | <Link to='/auth/welcome'><img src="./assets/images/logo.svg" className="auth__logo" alt="" /></Link> | 127 | <Link to='/auth/welcome'><img src="./assets/images/logo.svg" className="auth__logo" alt="" /></Link> |
127 | <h1>{intl.formatMessage(messages.headline)}</h1> | 128 | <H1>{intl.formatMessage(messages.headline)}</H1> |
128 | <div className="grid__row"> | 129 | <div className="grid__row"> |
129 | <Input field={form.$('firstname')} focus /> | 130 | <Input field={form.$('firstname')} focus /> |
130 | <Input field={form.$('lastname')} /> | 131 | <Input field={form.$('lastname')} /> |