remove hint and swap email and name inputs
This commit is contained in:
parent
b08dbc61e9
commit
321ed604e6
@ -118,12 +118,6 @@ function EmailEnterPage({
|
||||
Enter your email
|
||||
</Title>
|
||||
<p className={styles["not-share"]}>{t("we_dont_share")}</p>
|
||||
<NameInput
|
||||
value={name}
|
||||
placeholder="Your name"
|
||||
onValid={handleValidName}
|
||||
onInvalid={() => setIsValidName(!isRequiredName)}
|
||||
/>
|
||||
<EmailInput
|
||||
name="email"
|
||||
value={email}
|
||||
@ -131,6 +125,12 @@ function EmailEnterPage({
|
||||
onValid={handleValidEmail}
|
||||
onInvalid={() => setIsValidEmail(false)}
|
||||
/>
|
||||
<NameInput
|
||||
value={name}
|
||||
placeholder="Your name"
|
||||
onValid={handleValidName}
|
||||
onInvalid={() => setIsValidName(!isRequiredName)}
|
||||
/>
|
||||
<Policy sizing="medium" className={styles.policy}>
|
||||
{t("_continue_agree", {
|
||||
eulaLink: (
|
||||
|
||||
@ -133,19 +133,19 @@ function EmailEnterPage({
|
||||
Enter your email
|
||||
</Title>
|
||||
<p className={styles["not-share"]}>{t("we_dont_share")}</p>
|
||||
<EmailInput
|
||||
name="email"
|
||||
value={email}
|
||||
placeholder={t("your_email")}
|
||||
onValid={handleValidEmail}
|
||||
onInvalid={() => setIsValidEmail(false)}
|
||||
/>
|
||||
<NameInput
|
||||
value={name}
|
||||
placeholder="Your name"
|
||||
onValid={handleValidName}
|
||||
onInvalid={() => setIsValidName(!isRequiredName)}
|
||||
/>
|
||||
<EmailInput
|
||||
name="email"
|
||||
value={email}
|
||||
placeholder={t("your_email")}
|
||||
onValid={handleValidEmail}
|
||||
onInvalid={() => setIsValidEmail(false)}
|
||||
/>
|
||||
<QuestionnaireGreenButton
|
||||
className={styles.button}
|
||||
onClick={handleClick}
|
||||
|
||||
@ -4,7 +4,7 @@ export default {
|
||||
next: "Next",
|
||||
date_of_birth: "What's your date of birth?",
|
||||
privacy_text: "By continuing, you agree to our <eulaLink> and <privacyLink>. Have a question? Reach our support team <clickHere>",
|
||||
eula: "Hint's EULA",
|
||||
eula: "EULA",
|
||||
here: 'here',
|
||||
privacy_notice: 'Privacy Notice',
|
||||
born_time_question: "What time were you born?",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user