Update verification screen

This commit is contained in:
Vishnu Mohandas 2021-02-15 16:35:41 +05:30
parent 8909748545
commit 7e588e7666
3 changed files with 17 additions and 19 deletions

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 18 KiB

View file

@ -82,10 +82,9 @@ export default function Verify() {
return ( return (
<Container> <Container>
<Image alt="Email Sent" src="/email_sent.svg" />
<Card style={{ minWidth: '300px' }} className="text-center"> <Card style={{ minWidth: '300px' }} className="text-center">
<Card.Body> <Card.Body>
<Card.Title>{constants.VERIFY_EMAIL}</Card.Title> <Card.Title style={{ fontWeight: 'bold', marginBottom: '24px' }}>{constants.VERIFY_EMAIL}</Card.Title>
{constants.EMAIL_SENT({ email })} {constants.EMAIL_SENT({ email })}
{constants.CHECK_INBOX} {constants.CHECK_INBOX}
<br /> <br />

View file

@ -6,29 +6,29 @@ import { template } from './vernacularStrings';
const englishConstants = { const englishConstants = {
COMPANY_NAME: 'ente', COMPANY_NAME: 'ente',
LOGIN: 'login', LOGIN: 'login',
SIGN_UP: 'Sign Up', SIGN_UP: 'sign up',
NAME: 'Name', NAME: 'name',
ENTER_NAME: 'your name', ENTER_NAME: 'your name',
EMAIL: 'Email Address', EMAIL: 'email',
ENTER_EMAIL: 'email', ENTER_EMAIL: 'email',
DATA_DISCLAIMER: `We'll never share your data with anyone else.`, DATA_DISCLAIMER: `we'll never share your data with anyone else.`,
SUBMIT: 'submit', SUBMIT: 'submit',
EMAIL_ERROR: 'Enter a valid email', EMAIL_ERROR: 'enter a valid email',
REQUIRED: 'Required', REQUIRED: 'required',
VERIFY_EMAIL: 'Verify Email', VERIFY_EMAIL: 'verify email',
EMAIL_SENT: ({ email }) => ( EMAIL_SENT: ({ email }) => (
<p> <p>
We have sent a mail to <b>{email}</b>. we have sent a mail to <b>{email}</b>
</p> </p>
), ),
CHECK_INBOX: 'Please check your inbox (and spam) to complete verification.', CHECK_INBOX: 'please check your inbox (and spam) to complete verification',
ENTER_OTT: 'Enter verification code here', ENTER_OTT: 'verification code',
RESEND_MAIL: 'Did not get email?', RESEND_MAIL: 'did not get email?',
VERIFY: 'Verify', VERIFY: 'verify',
UNKNOWN_ERROR: 'Oops! Something went wrong. Please try again.', UNKNOWN_ERROR: 'something went wrong, please try again',
INVALID_CODE: 'Invalid verification code', INVALID_CODE: 'invalid verification code',
SENDING: 'Sending...', SENDING: 'sending...',
SENT: 'Sent! Check again.', SENT: 'sent!',
ENTER_PASSPHRASE: 'Please enter your passphrase.', ENTER_PASSPHRASE: 'Please enter your passphrase.',
RETURN_PASSPHRASE_HINT: 'That thing you promised to never forget.', RETURN_PASSPHRASE_HINT: 'That thing you promised to never forget.',
SET_PASSPHRASE: 'Set Passphrase', SET_PASSPHRASE: 'Set Passphrase',