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/Invite.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/Invite.js')
-rw-r--r-- | src/components/auth/Invite.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/auth/Invite.js b/src/components/auth/Invite.js index a23af7c6b..81618b3bd 100644 --- a/src/components/auth/Invite.js +++ b/src/components/auth/Invite.js | |||
@@ -11,6 +11,7 @@ import Form from '../../lib/Form'; | |||
11 | import { email } from '../../helpers/validation-helpers'; | 11 | import { email } from '../../helpers/validation-helpers'; |
12 | import Input from '../ui/Input'; | 12 | import Input from '../ui/Input'; |
13 | import Button from '../ui/Button'; | 13 | import Button from '../ui/Button'; |
14 | import { H1 } from '../ui/headline'; | ||
14 | 15 | ||
15 | const messages = defineMessages({ | 16 | const messages = defineMessages({ |
16 | settingsHeadline: { | 17 | settingsHeadline: { |
@@ -146,9 +147,9 @@ class Invite extends Component { | |||
146 | {!embed && ( | 147 | {!embed && ( |
147 | <img src="./assets/images/logo.svg" className="auth__logo" alt="" /> | 148 | <img src="./assets/images/logo.svg" className="auth__logo" alt="" /> |
148 | )} | 149 | )} |
149 | <h1 className={embed && 'invite__embed'}> | 150 | <H1 className={embed && 'invite__embed'}> |
150 | {intl.formatMessage(messages.headline)} | 151 | {intl.formatMessage(messages.headline)} |
151 | </h1> | 152 | </H1> |
152 | {form.$('invite').map(invite => ( | 153 | {form.$('invite').map(invite => ( |
153 | <div className="grid" key={invite.key}> | 154 | <div className="grid" key={invite.key}> |
154 | <div className="grid__row"> | 155 | <div className="grid__row"> |
@@ -184,7 +185,7 @@ class Invite extends Component { | |||
184 | > | 185 | > |
185 | {embed && ( | 186 | {embed && ( |
186 | <div className="settings__header"> | 187 | <div className="settings__header"> |
187 | <h1>{this.props.intl.formatMessage(messages.settingsHeadline)}</h1> | 188 | <H1>{this.props.intl.formatMessage(messages.settingsHeadline)}</H1> |
188 | </div> | 189 | </div> |
189 | )} | 190 | )} |
190 | {!embed ? ( | 191 | {!embed ? ( |