diff --git a/src/components/Helpers/Inputs/InputCom/index.jsx b/src/components/Helpers/Inputs/InputCom/index.jsx index 5c98f9f..4dfcc4f 100644 --- a/src/components/Helpers/Inputs/InputCom/index.jsx +++ b/src/components/Helpers/Inputs/InputCom/index.jsx @@ -12,7 +12,8 @@ export default function InputCom({ inputHandler, value, forgotPassword, - onClick + onClick, + disable }) { return (
@@ -37,6 +38,7 @@ export default function InputCom({ id={name} name={name} required + readOnly={disable} /> {iconName && (
diff --git a/src/components/Settings/Tabs/PersonalInfoTab.jsx b/src/components/Settings/Tabs/PersonalInfoTab.jsx index d9fe9f3..5b4ea3a 100644 --- a/src/components/Settings/Tabs/PersonalInfoTab.jsx +++ b/src/components/Settings/Tabs/PersonalInfoTab.jsx @@ -127,105 +127,107 @@ export default function PersonalInfoTab({
{/* inputs starts here */} {/* username */} -
- - +
+
{/* Email */} -
- - +
+
- - {/* Fullname */} -
- -
- - -
+ {/* first name and last name */} +
+
+ +
+
+ +
{/* Country */} -
- - +
+
{/* State/Province */} -
- - +
+
{/* City */} -
- - +
+
{/* Preferred Communication*/} -
- +
+
-
- - Email +
+ + Email
- - Phone + + Phone
{/* Allow Promotions */} -
- +
+
setTogglePromotion(prev => !prev)}>
@@ -291,57 +293,6 @@ export default function PersonalInfoTab({
-
-

- Update Cover - - - -

-

- Cover of at least Size - - 1170x920 - - . -

-
-
- - coverImgChangHandler(e)} - type="file" - className="hidden" - /> -
- - - - -
-
-
-
))