mirror of
https://github.com/WDI-Ideas/rubix.git
synced 2026-04-27 21:15:50 +00:00
113 lines
2.9 KiB
JavaScript
113 lines
2.9 KiB
JavaScript
import { Box, Button, Container, Text } from "@chakra-ui/react";
|
|
import banner from "../../assets/images/moreBanner.png";
|
|
|
|
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
|
|
height={"50vh"}
|
|
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"}
|
|
paddingBottom={"2rem"}
|
|
fontWeight={700}
|
|
// fontSize={"40px"}
|
|
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"}
|
|
height={"30vh"}
|
|
paddingBottom={"3rem"}
|
|
>
|
|
<Text
|
|
color={"#E4E4E4"}
|
|
// fontSize={"22px"}
|
|
className="rubix-text-large"
|
|
marginBottom={"2rem"}
|
|
fontFamily={"Poppins"}
|
|
>
|
|
{SectionContent.subContent}
|
|
</Text>
|
|
<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: "none",
|
|
zIndex: 1,
|
|
}}
|
|
>
|
|
{SectionContent.btnContent}
|
|
</Button>
|
|
</Container>
|
|
</Box>
|
|
);
|
|
};
|
|
|
|
export default LearnMore;
|