Files
rubix/src/components/BuildPage/LearnMore.jsx

116 lines
3.1 KiB
React
Raw Normal View History

2024-04-03 20:34:26 +05:30
import { Box, Button, Container, Text } from "@chakra-ui/react";
import banner from "../../assets/images/moreBanner.png";
import { Link } from "react-router-dom";
2024-04-03 20:34:26 +05:30
const SectionContent = {
heading: `Connect with us to learn more!`,
subContent: `With minimal computing power and curiosity to explore Web3 and its potential, anyone can build with the Rubix community.`,
btnContent: `Contact Us`,
};
const LearnMore = () => {
return (
<Box
2024-04-04 16:45:56 +05:30
height={"auto"}
2024-04-03 20:34:26 +05:30
backgroundImage={`url(${banner})`}
backgroundSize={"cover"}
backgroundRepeat={"no-repeat"}
sx={{
"@media (max-width: 1024px)": {
height: "auto",
},
"@media (max-width: 600px)": {
fontSize: "28px",
},
}}
>
<Text
as={"h2"}
paddingTop={"2rem"}
2024-04-09 13:00:11 +05:30
paddingBottom={"1rem"}
2024-04-03 20:34:26 +05:30
fontWeight={700}
2024-04-09 13:00:11 +05:30
fontSize={"40px"}
2024-04-03 20:34:26 +05:30
className="rubix-text-title"
textAlign={"center"}
textTransform={"capitalize"}
color={"#fff"}
sx={{
"@media (max-width: 1024px)": {},
"@media (max-width: 600px)": {
fontSize: "28px",
},
}}
>
{SectionContent.heading}
</Text>
<Container
maxW="container.md"
textAlign={"center"}
display={"grid"}
placeContent={"center"}
2024-04-04 16:45:56 +05:30
// height={"30vh"}
2024-04-03 20:34:26 +05:30
paddingBottom={"3rem"}
>
<Text
color={"#E4E4E4"}
// fontSize={"22px"}
className="rubix-text-large"
marginBottom={"2rem"}
fontFamily={"Poppins"}
>
{SectionContent.subContent}
</Text>
<Link to="/Contact">
<Button
fontSize={"20px"}
// minW={"284px"}
minH={"60px"}
fontFamily={"Poppins"}
backgroundColor={"transparent"}
border={"1px solid #fff"}
color={"#fff"}
fontWeight={"400"}
margin={"0 auto"}
// transition="0.3s ease-in-out"
zIndex={"1"}
overflow={"hidden"}
padding={"0 3rem"}
sx={{
"::before": {
content: '""',
position: "absolute",
top: "50%",
left: "50%",
transform: "translate(-50%, -50%)",
width: "65px",
height: "65px",
borderRadius: "50%",
transition: "0.35s linear",
zIndex: -1,
bgGradient:
"radial-gradient(circle, #ffffff, #eee2f2, #e7c3dc, #e5a3ba, #de858e)",
opacity: "0",
},
"&:hover::before": {
width: "100%",
height: "120%",
borderRadius: "0px",
opacity: "1",
},
}}
_hover={{
color: "#000",
border: "1px solid white",
zIndex: 1,
}}
>
{SectionContent.btnContent}
</Button>
</Link>
2024-04-03 20:34:26 +05:30
</Container>
</Box>
);
};
export default LearnMore;