remove hint and swap email and name inputs

This commit is contained in:
dev.daminik00 2024-06-11 19:34:20 +02:00
parent b08dbc61e9
commit 321ed604e6
3 changed files with 14 additions and 14 deletions

View File

@ -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: (

View File

@ -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}

View File

@ -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?",