diff options
author | rohan09-raj <[email protected]> | 2022-08-19 21:06:48 +0530 |
---|---|---|
committer | rohan09-raj <[email protected]> | 2022-08-19 21:06:48 +0530 |
commit | f47c3f4349cb68460dadf1fc381e3ceb52fe009a (patch) | |
tree | 9961cc4ba587f9be8514adfce9c082cb8c3ad638 /client/src/components | |
parent | 953dd3c954411d92811415cc9be4a7c7d76ab185 (diff) |
minor fixes
Diffstat (limited to 'client/src/components')
5 files changed, 15 insertions, 6 deletions
diff --git a/client/src/components/BackButton/BackButton.jsx b/client/src/components/BackButton/BackButton.jsx index c02681b..ff99eb6 100644 --- a/client/src/components/BackButton/BackButton.jsx +++ b/client/src/components/BackButton/BackButton.jsx @@ -12,7 +12,7 @@ const BackButton = ({ onClick, onChange }) => { > <img className={styles.submit__image} - src={`${process.env.PUBLIC_URL}/assets/images/next_icon.svg`} + src={`${process.env.PUBLIC_URL}/assets/images/back.svg`} alt="" /> </button> diff --git a/client/src/components/Card/CardAgreement.module.css b/client/src/components/Card/CardAgreement.module.css index ed36cba..c9bdae8 100644 --- a/client/src/components/Card/CardAgreement.module.css +++ b/client/src/components/Card/CardAgreement.module.css @@ -1,8 +1,8 @@ @import '../../styles/GlobalVariables.css'; .card { - height: 400px; - width: 900px; + height: 300px; + width: 600px; display: flex; flex-direction: column; justify-content: center; @@ -10,6 +10,7 @@ border: 3px solid var(--color-black); border-radius: 10px; margin: 30px; + padding: 20px; transition: 0.2s all; cursor: pointer; color: var(--color-black); @@ -27,4 +28,4 @@ .card__image { padding-bottom: 32px; -}
\ No newline at end of file +} diff --git a/client/src/components/LanguageSelect/locales/en/translation.json b/client/src/components/LanguageSelect/locales/en/translation.json index 8603116..254b3db 100644 --- a/client/src/components/LanguageSelect/locales/en/translation.json +++ b/client/src/components/LanguageSelect/locales/en/translation.json @@ -55,6 +55,7 @@ "PLEASE_VERIFY_YOUR_IDENTITY": "Please verify your identity by receiving the OTP on your registered mobile number xxxxxxxx15", "SEND_OTP": "Send OTP", "RESEND": "Resend", + "VERIFY_OTP": "Verify OTP", "PLEASE_SELECT_YOUR_RESIDENCY": "Please select your residency", "PLEASE_ENTER_YOUR_NAME": "Please enter your name", "PLEASE_ENTER_VALID_NAME": "Please enter valid name", diff --git a/client/src/components/LanguageSelect/locales/hi/translation.json b/client/src/components/LanguageSelect/locales/hi/translation.json index 3c9db8a..a5ce358 100644 --- a/client/src/components/LanguageSelect/locales/hi/translation.json +++ b/client/src/components/LanguageSelect/locales/hi/translation.json @@ -55,6 +55,7 @@ "PLEASE_VERIFY_YOUR_IDENTITY": "कृपया अपने पंजीकृत मोबाइल नंबर xxxxxxxx15 पर ओटीपी प्राप्त करके अपनी पहचान सत्यापित करें", "SEND_OTP": "ओटीपी भेजें", "RESEND": "फिर से भेजें", + "VERIFY_OTP": "ओटीपी की पुष्टि करें", "PLEASE_SELECT_YOUR_RESIDENCY": "कृपया अपना निवास चुनें", "PLEASE_ENTER_VALID_EMAIL": "कृपया मान्य ईमेल दर्ज करें", "PLEASE_SELECT_YOUR_COUNTRY": "कृपया अपना देश चुनें", diff --git a/client/src/components/SubmitButton/SubmitButton.jsx b/client/src/components/SubmitButton/SubmitButton.jsx index bcf3543..ed796d9 100644 --- a/client/src/components/SubmitButton/SubmitButton.jsx +++ b/client/src/components/SubmitButton/SubmitButton.jsx @@ -1,10 +1,16 @@ import React from 'react' import styles from './SubmitButton.module.css' -const SubmitButton = ({ onClick, onChange }) => { +const SubmitButton = ({ onClick, onChange, disabled }) => { return ( <> - <button onClick={onClick} className={styles.submit} type="submit" onChange={onChange}> + <button + onClick={onClick} + className={styles.submit} + type="submit" + onChange={onChange} + disabled={disabled} + > <img className={styles.submit__image} src={`${process.env.PUBLIC_URL}/assets/images/next_icon.svg`} |