From 6d1f3ed3e0503b445b95a38a29e14567621c383a Mon Sep 17 00:00:00 2001 From: Vivek Vishal Date: Tue, 14 Jan 2025 14:45:30 +0000 Subject: [PATCH 01/14] add contact-us form specific fields Signed-off-by: GitHub --- src/components/CommonForm/index.js | 85 ++++++++++++++++++------------ 1 file changed, 50 insertions(+), 35 deletions(-) diff --git a/src/components/CommonForm/index.js b/src/components/CommonForm/index.js index 5cf5926c3326..f79d2bdabba0 100644 --- a/src/components/CommonForm/index.js +++ b/src/components/CommonForm/index.js @@ -134,12 +134,13 @@ const CommonForm = ({ form, title, submit_title, submit_body }) => { {validateEmail &&

{errorEmail}

} - - - - - - {/*
+ { form != "contact" && ( + <> + + + + + {/*

{account_desc} @@ -157,35 +158,49 @@ const CommonForm = ({ form, title, submit_title, submit_body }) => {

*/} - - {validateRole &&

{errorRole}

} -
- - - - - - - - - - - - - - - - - - - - - - - - - -
+ + {validateRole &&

{errorRole}

} +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + )} + {form == "contact" && ( + <> + + + + + + )} {form == "open-source-pricing" && ( <>