Files
rubix/src/components/SubnetsComponent/Component2.jsx

62 lines
1.7 KiB
React
Raw Normal View History

2024-05-17 15:08:53 +05:30
/* eslint-disable react/prop-types */
2024-03-22 15:02:23 +05:30
/* eslint-disable no-unused-vars */
import { Box, Button, Image, Text, Grid, GridItem } from "@chakra-ui/react";
import { Container } from "@chakra-ui/react";
import {
List,
ListItem,
ListIcon,
OrderedList,
UnorderedList,
} from "@chakra-ui/react";
import vector2 from "../../assets/images/vector2.png";
2024-03-22 15:02:23 +05:30
2024-05-17 15:08:53 +05:30
export const Component2 = ({ id, title, content }) => {
2024-03-22 15:02:23 +05:30
return (
<>
2024-05-17 15:08:53 +05:30
<Box display={"flex"} position={"absolute"} top={"-70px"} key={id}>
2024-03-22 15:02:23 +05:30
<Button
position={"relative"}
background={"transparent"}
textTransform={"uppercase"}
width={"165px"}
height={"57px"}
borderRadius={"28.5px"}
color={"#fff"}
border={"1px solid #A5A5A5"}
2024-04-08 16:12:52 +05:30
fontSize={"16px"}
2024-03-22 15:02:23 +05:30
_after={{
content: "''",
position: "absolute",
background: `url(${vector2})`,
2024-03-22 15:02:23 +05:30
backgroundRepeat: "no-repeat",
width: "340px",
height: "100%",
left: "165px",
top: "-10px",
}}
_hover={{
background: "transparent",
width: "165px",
height: "57px",
borderRadius: "28.5px",
color: "#fff",
border: "1px solid #A5A5A5",
}}
>
2024-05-17 15:08:53 +05:30
{title}
2024-03-22 15:02:23 +05:30
</Button>
</Box>
<UnorderedList color={"#E1E1E1"}>
2024-05-17 15:08:53 +05:30
<ListItem fontSize={"14px"}>{content}</ListItem>
{/* <ListItem fontSize={"14px"}>
Smart contracts in Rust , GoLang and C/C++
</ListItem>
<ListItem fontSize={"14px"}>
WASM compiler for smooth code migration
</ListItem> */}
2024-03-22 15:02:23 +05:30
</UnorderedList>
</>
);
};