Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
vishalvivekm authored Jan 17, 2025
1 parent 17eb950 commit f3bf8b8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/CommonForm/commonForm.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const CommonFormWrapper = styled.section`
}
.form-body{
box-shadow: 0px 5px 5px 2px ${props => props.theme.primaryLightColor};
box-shadow: 0px -2px 5px 2px ${props => props.theme.primaryLightColor};
margin: 1rem;
.form-title {
Expand Down
10 changes: 7 additions & 3 deletions src/components/CommonForm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,11 @@ const CommonForm = ({ form, title, submit_title, submit_body, submit_button_titl
{
stepNumber === 0 &&
<div className="form-body">
<h2 className="form-title">{title}</h2>
{ form !== "contact" && (
<>
<h2 className="form-title">{title}</h2>
</>
)}
<Formik
initialValues={{
firstname: firstname,
Expand Down Expand Up @@ -196,14 +200,14 @@ const CommonForm = ({ form, title, submit_title, submit_body, submit_button_titl
Message <span className="required-sign">*</span>
</label>
<Field as="textarea" required rows="8" type="text" className="text-field" id="message" name="message" />
<label>
{/* <label>
<Field
type="checkbox"
name="subscribed"
className="form-check"
/>
<span>Subscribe to our newsletter</span>
</label>
</label> */}
<div>By providing my contact information, I authorize Layer5 to contact me with communications about Layer5's products and services.</div>
</>
)}
Expand Down

0 comments on commit f3bf8b8

Please sign in to comment.