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 - - { }} > - + First Name* { )} - + Last Name* { }} > - - E-mail Address* + + Email* { - - Phone Number* + + Phone* { )} + + + Choose type of inquiry + + + ( + + + Select Options + + Option 1 + Option 2 + Option 3 + + )} + /> + {errors.selectOption && ( + + {errors.selectOption.message} + + )} + { }, }} > - + Message* + + Submit + - - {/* */} - - {/* */} - - Submit - - + Success! Your form has been submitted successfully. - + Close diff --git a/src/components/Footer/Footer.jsx b/src/components/Footer/Footer.jsx index 722b9f2..8574f3e 100644 --- a/src/components/Footer/Footer.jsx +++ b/src/components/Footer/Footer.jsx @@ -38,8 +38,8 @@ const Footer = () => { padding={"4rem"} sx={{ "@media (max-width: 1024px)": {}, - "@media (max-width: 412px)": { - padding: "2rem", + "@media (max-width: 535px)": { + padding: "1rem", }, }} > @@ -257,7 +257,7 @@ const Footer = () => { "@media (max-width: 600px)": { flexDirection: "column", alignItems: "flex-start", - padding: "2rem", + padding: "1rem", }, }} > diff --git a/src/components/HomePage/Client.jsx b/src/components/HomePage/Client.jsx index d700339..9822973 100644 --- a/src/components/HomePage/Client.jsx +++ b/src/components/HomePage/Client.jsx @@ -28,10 +28,11 @@ const Client = () => { }; return ( { { maxW="container.xl" display={"grid"} placeContent={"center"} - height={"65vh"} + paddingBottom={"3rem"} sx={{ "@media (max-width: 1024px)": { height: "40vh", diff --git a/src/components/HomePage/Resources.jsx b/src/components/HomePage/Resources.jsx index 2f826c6..53f1361 100644 --- a/src/components/HomePage/Resources.jsx +++ b/src/components/HomePage/Resources.jsx @@ -65,6 +65,7 @@ const Resources = () => { { }); return ( { maxW="container.lg" display={"grid"} placeContent={"center"} - height={"50vh"} + paddingBottom="3rem" sx={{ "@media (max-width: 996px)": { height: "auto", diff --git a/src/components/HomePage/WhitePaper.jsx b/src/components/HomePage/WhitePaper.jsx index fa27eee..4ca12e4 100644 --- a/src/components/HomePage/WhitePaper.jsx +++ b/src/components/HomePage/WhitePaper.jsx @@ -10,7 +10,7 @@ const SectionContent = { const WhitePaper = () => { return ( { textAlign={"center"} display={"grid"} placeContent={"center"} - height={"30vh"} paddingBottom={"3rem"} > { > { { maxW="container.xl" textAlign={"left"} marginTop={"2rem"} - paddingLeft={"5rem"} + paddingLeft={"3.5rem"} sx={{ "@media (max-width: 435px)": { paddingLeft: "2rem", @@ -57,7 +57,7 @@ const LearnBanner = () => { as={"h2"} fontWeight={700} fontSize={"60px"} - textTransform={"upperCase"} + textTransform={"Capitalize"} color={"#DE858E"} sx={{ "@media (max-width: 996px)": { @@ -108,7 +108,7 @@ const LearnBanner = () => { maxW="container.xl" textAlign={"left"} marginTop={"3rem"} - paddingLeft={"5rem"} + paddingLeft={"3.5rem"} sx={{ "@media (max-width: 435px)": { paddingLeft: "2rem", diff --git a/src/components/LearnPage/LearnDev.jsx b/src/components/LearnPage/LearnDev.jsx index 54623e7..cbcd8a3 100644 --- a/src/components/LearnPage/LearnDev.jsx +++ b/src/components/LearnPage/LearnDev.jsx @@ -62,7 +62,7 @@ const LearnDev = () => { as={"h2"} paddingTop={"2rem"} paddingBottom={"2rem"} - paddingLeft={"4rem"} + paddingLeft={"3rem"} fontWeight={700} fontSize={"40px"} textAlign={"left"} @@ -85,8 +85,9 @@ const LearnDev = () => { {Content.span} - { /> ))} - + ); }; diff --git a/src/components/LearnPage/WhyRubix.jsx b/src/components/LearnPage/WhyRubix.jsx index bae5381..f42df9a 100644 --- a/src/components/LearnPage/WhyRubix.jsx +++ b/src/components/LearnPage/WhyRubix.jsx @@ -49,7 +49,7 @@ const WhyRubix = () => { > { zIndex={"999"} width={"100%"} top={"0px"} - padding={"2rem 0rem"} + padding={"2.5rem 0 2rem 0"} sx={{ "@media (max-width: 996px)": { justifyContent: "space-between", diff --git a/src/index.css b/src/index.css index 2a4124c..bae8f62 100644 --- a/src/index.css +++ b/src/index.css @@ -20,7 +20,7 @@ } .rubix-text-large { - font-size: 22px !important; + font-size: 25px !important; font-family: "Poppins" !important; color: #fff !important; } diff --git a/src/pages/Contact.jsx b/src/pages/Contact.jsx index 8a27400..d9e4269 100644 --- a/src/pages/Contact.jsx +++ b/src/pages/Contact.jsx @@ -1,5 +1,6 @@ import { useEffect } from "react"; import Form from "../components/Contact/Form"; +import Footer from "../components/Footer/Footer"; const Contact = () => { useEffect(() => { @@ -9,6 +10,7 @@ const Contact = () => { return ( <> + > ); };
+ {errors.selectOption.message} +