summaryrefslogtreecommitdiff
path: root/client/src/components
diff options
context:
space:
mode:
authorBlaster4385 <[email protected]>2022-08-26 09:10:00 +0530
committerBlaster4385 <[email protected]>2022-08-26 09:10:00 +0530
commit34fc89bef7126966047cd748f94cf24f7a2d0788 (patch)
treec9c805fedc62d105a4495e2d9e51f0bc2c922457 /client/src/components
parentbdd4ad1b8b071fd04f1025076174757f0f355315 (diff)
Fix stuff
Diffstat (limited to 'client/src/components')
-rw-r--r--client/src/components/BackButton/BackButton.jsx14
-rw-r--r--client/src/components/BackButton/BackButton.module.css6
-rw-r--r--client/src/components/LanguageSelect/locales/hi/translation.json2
-rw-r--r--client/src/components/SubmitButton/SubmitButton.jsx4
-rw-r--r--client/src/components/SubmitButton/SubmitButton.module.css6
5 files changed, 26 insertions, 6 deletions
diff --git a/client/src/components/BackButton/BackButton.jsx b/client/src/components/BackButton/BackButton.jsx
index ff99eb6..fdb85f1 100644
--- a/client/src/components/BackButton/BackButton.jsx
+++ b/client/src/components/BackButton/BackButton.jsx
@@ -1,3 +1,4 @@
+import { Typography } from '@mui/material'
import React from 'react'
import styles from './BackButton.module.css'
@@ -10,11 +11,14 @@ const BackButton = ({ onClick, onChange }) => {
type="submit"
onChange={onChange}
>
- <img
- className={styles.submit__image}
- src={`${process.env.PUBLIC_URL}/assets/images/back.svg`}
- alt=""
- />
+ <div className={styles.submit__content}>
+ <img
+ className={styles.submit__image}
+ src={`${process.env.PUBLIC_URL}/assets/images/back.svg`}
+ alt=""
+ />
+ <Typography sx={{ fontSize: '1.5rem', fontWeight: 'bolder', margin: '10px', color: '#323c7a' }}>Back</Typography>
+ </div>
</button>
</>
)
diff --git a/client/src/components/BackButton/BackButton.module.css b/client/src/components/BackButton/BackButton.module.css
index cc9b51c..40b6fcc 100644
--- a/client/src/components/BackButton/BackButton.module.css
+++ b/client/src/components/BackButton/BackButton.module.css
@@ -18,3 +18,9 @@
height: 75px;
width: 75px;
}
+
+.submit__content {
+ display:flex;
+ justify-content: center;
+ align-items: center;
+} \ No newline at end of file
diff --git a/client/src/components/LanguageSelect/locales/hi/translation.json b/client/src/components/LanguageSelect/locales/hi/translation.json
index fbdf254..3adcc12 100644
--- a/client/src/components/LanguageSelect/locales/hi/translation.json
+++ b/client/src/components/LanguageSelect/locales/hi/translation.json
@@ -52,7 +52,7 @@
"ENSURE_THAT_RECIEVED_A_CONFIRMATION_MESSAGE": "कृपया सुनिश्चित करें कि आपको जाने से पहले एक पुष्टिकरण संदेश प्राप्त हुआ है",
"PLEASE_PUT_YOUR_FINGERS_ON_THE_FINGERPRINT_SCANNER": "कृपया अपनी उंगलियों को एक-एक करके फ़िंगरप्रिंट स्कैनर पर रखें",
"WAIT_FOR_PROMPT_AND_BEEP_SOUND_TO_REMOVE_YOUR_FINGERS": "अपनी उंगलियों को हटाने के लिए संकेत और बीप ध्वनि की प्रतीक्षा करें",
- "PLEASE_VERIFY_YOUR_IDENTITY": "कृपया अपने पंजीकृत मोबाइल नंबर xxxxxxxx15 पर ओटीपी प्राप्त करके अपनी पहचान सत्यापित करें",
+ "PLEASE_VERIFY_YOUR_IDENTITY": "कृपया अपने पंजीकृत मोबाइल नंबर पर ओटीपी प्राप्त करके अपनी पहचान सत्यापित करें",
"SEND_OTP": "ओटीपी भेजें",
"RESEND": "फिर से भेजें",
"VERIFY_OTP": "ओटीपी की पुष्टि करें",
diff --git a/client/src/components/SubmitButton/SubmitButton.jsx b/client/src/components/SubmitButton/SubmitButton.jsx
index ed796d9..df1269f 100644
--- a/client/src/components/SubmitButton/SubmitButton.jsx
+++ b/client/src/components/SubmitButton/SubmitButton.jsx
@@ -1,5 +1,6 @@
import React from 'react'
import styles from './SubmitButton.module.css'
+import { Typography } from '@mui/material'
const SubmitButton = ({ onClick, onChange, disabled }) => {
return (
@@ -11,11 +12,14 @@ const SubmitButton = ({ onClick, onChange, disabled }) => {
onChange={onChange}
disabled={disabled}
>
+ <div className={styles.submit__content}>
+ <Typography sx={{ fontSize: '1.5rem', fontWeight: 'bolder', margin: '10px', color: '#323c7a' }}>Save & Next</Typography>
<img
className={styles.submit__image}
src={`${process.env.PUBLIC_URL}/assets/images/next_icon.svg`}
alt=""
/>
+ </div>
</button>
</>
)
diff --git a/client/src/components/SubmitButton/SubmitButton.module.css b/client/src/components/SubmitButton/SubmitButton.module.css
index bb1b015..0105bbf 100644
--- a/client/src/components/SubmitButton/SubmitButton.module.css
+++ b/client/src/components/SubmitButton/SubmitButton.module.css
@@ -18,3 +18,9 @@
height: 75px;
width: 75px;
}
+
+.submit__content {
+ display:flex;
+ justify-content: center;
+ align-items: center;
+} \ No newline at end of file