diff options
Diffstat (limited to 'client/src/components')
-rw-r--r-- | client/src/components/Header/Header.jsx | 4 | ||||
-rw-r--r-- | client/src/components/Header/Header.module.css | 5 | ||||
-rw-r--r-- | client/src/components/RadioSelect/RadioSelect.jsx | 0 | ||||
-rw-r--r-- | client/src/components/RadioSelect/RadioSelect.module.css | 0 | ||||
-rw-r--r-- | client/src/components/RegEx/RegEx.jsx | 11 | ||||
-rw-r--r-- | client/src/components/SubmitButton/SubmitButton.jsx | 2 |
6 files changed, 2 insertions, 20 deletions
diff --git a/client/src/components/Header/Header.jsx b/client/src/components/Header/Header.jsx index 1116312..d5e08c4 100644 --- a/client/src/components/Header/Header.jsx +++ b/client/src/components/Header/Header.jsx @@ -1,12 +1,10 @@ import React from 'react' -import { useTranslation } from 'react-i18next' import styles from './Header.module.css' const Header = ({ subheading }) => { - const { t } = useTranslation() return ( <header className={styles.header}> - <h1 className={styles.header__heading}>{t('AADHAAR')}</h1> + <img src={`${process.env.PUBLIC_URL}/favicon.ico`} /> <h3 className={styles.header__subheading}>{subheading}</h3> </header> ) diff --git a/client/src/components/Header/Header.module.css b/client/src/components/Header/Header.module.css index 8e6084f..2214f1b 100644 --- a/client/src/components/Header/Header.module.css +++ b/client/src/components/Header/Header.module.css @@ -9,11 +9,6 @@ padding: 20px; } -.header__heading { - font-size: var(--font-large); - font-weight: 400; -} - .header__subheading { font-size: var(--font-medium); font-weight: 400; diff --git a/client/src/components/RadioSelect/RadioSelect.jsx b/client/src/components/RadioSelect/RadioSelect.jsx deleted file mode 100644 index e69de29..0000000 --- a/client/src/components/RadioSelect/RadioSelect.jsx +++ /dev/null diff --git a/client/src/components/RadioSelect/RadioSelect.module.css b/client/src/components/RadioSelect/RadioSelect.module.css deleted file mode 100644 index e69de29..0000000 --- a/client/src/components/RadioSelect/RadioSelect.module.css +++ /dev/null diff --git a/client/src/components/RegEx/RegEx.jsx b/client/src/components/RegEx/RegEx.jsx deleted file mode 100644 index fca28f1..0000000 --- a/client/src/components/RegEx/RegEx.jsx +++ /dev/null @@ -1,11 +0,0 @@ -export const validString = /^[a-zA-Z]+$/ - -export const validMobileNumber = /^[0-9]{10}$/ - -export const validAadhaar = /^[0-9]{12}$/ - -export const validNumber = /^[0-9]+$/ - -export const validPincode = /^[0-9]{6}$/ - -export const validEmail = /^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$/ diff --git a/client/src/components/SubmitButton/SubmitButton.jsx b/client/src/components/SubmitButton/SubmitButton.jsx index 6098f3c..bcf3543 100644 --- a/client/src/components/SubmitButton/SubmitButton.jsx +++ b/client/src/components/SubmitButton/SubmitButton.jsx @@ -7,7 +7,7 @@ const SubmitButton = ({ onClick, onChange }) => { <button onClick={onClick} className={styles.submit} type="submit" onChange={onChange}> <img className={styles.submit__image} - src={`${process.env.PUBLIC_URL}/assets/images/white-check.svg`} + src={`${process.env.PUBLIC_URL}/assets/images/next_icon.svg`} alt="" /> </button> |