diff --git a/src/components/BuildPage/LearnMore.jsx b/src/components/BuildPage/LearnMore.jsx index a2076ec..e20cc8c 100644 --- a/src/components/BuildPage/LearnMore.jsx +++ b/src/components/BuildPage/LearnMore.jsx @@ -10,7 +10,7 @@ const SectionContent = { const LearnMore = () => { return ( { textAlign={"center"} display={"grid"} placeContent={"center"} - height={"30vh"} + // height={"30vh"} paddingBottom={"3rem"} > { const { register, handleSubmit, reset, + control, formState: { errors }, } = useForm(); const { isOpen, onOpen, onClose } = useDisclosure(); const [isLoading, setIsLoading] = useState(false); + const email = "rubix@gmail.com"; + const onSubmit = async (data) => { // console.log(data); setIsLoading(true); @@ -78,13 +74,14 @@ const Contact = () => { paddingTop={"4rem"} backgroundRepeat={"no-repeat"} backgroundSize={"cover"} + backgroundPosition={"0 25%"} > { zIndex={"99"} backgroundColor={"#transparent"} // width={"30%"} - padding={"2rem"} + padding={"4rem"} minH={"583px"} // flex={"1"} sx={{ @@ -126,7 +123,7 @@ const Contact = () => { minH: "490px", }, "@media (max-width: 820px)": { width: "55%" }, - "@media (max-width: 535px)": { width: "95%" }, + "@media (max-width: 535px)": { width: "95%", padding: "10px" }, "@media (max-width: 375px)": {}, }} > @@ -151,15 +148,13 @@ const Contact = () => { sx={{ "@media (max-width: 1024px)": {}, "@media (max-width: 768px)": {}, - "@media (max-width: 535px)": { - padding: "1rem", - }, + "@media (max-width: 535px)": {}, }} > Start reaching
your digital goals
- + { > Social Media + + + + + + + + + + Chat to us + + + + rubix@gmail.com + + + + + + + Call us + + + + 914 578 1245 + + {/* Form */} { // flex={"1"} >
- - - Send us a Message - - { }} > - - + + + + ( + + )} + /> + {errors.selectOption && ( +

+ {errors.selectOption.message} +

+ )} +
{ }, }} > -