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

73 lines
2.1 KiB
React
Raw Normal View History

/* eslint-disable no-unused-vars */
2024-03-22 15:02:23 +05:30
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 vector1 from "../../assets/images/vector1.png";
2024-03-22 15:02:23 +05:30
2024-05-17 13:42:16 +05:30
export const Component1 = ({ id, title, content }) => {
2024-03-22 15:02:23 +05:30
return (
<>
2024-05-17 13:42:16 +05:30
<Box display={"flex"} position={"absolute"} top={"-70px"} key={id}>
2024-03-22 15:02:23 +05:30
<Button
position={"relative"}
background={"transparent"}
width={"165px"}
height={"57px"}
borderRadius={"28.5px"}
color={"#fff"}
border={"1px solid #A5A5A5"}
2024-04-08 16:12:52 +05:30
fontSize={"16px"}
// _after={{
// content: "''",
// position: "absolute",
// backgroundImage: `url(${vector1})`,
// backgroundRepeat: "no-repeat",
// width: "383px",
// height: "100%",
// left: "165px",
// top: "28px",
// }}
sx={{
"::after": {
content: "''",
position: "absolute",
background: `url(${vector1})`,
backgroundRepeat: "no-repeat",
width: "383px",
height: "100%",
left: "165px",
top: "28px",
},
2024-03-22 15:02:23 +05:30
}}
_hover={{
background: "transparent",
width: "165px",
height: "57px",
borderRadius: "28.5px",
color: "#fff",
border: "1px solid #A5A5A5",
}}
>
2024-05-17 13:42:16 +05:30
{title}
2024-03-22 15:02:23 +05:30
</Button>
</Box>
<UnorderedList color={"#E1E1E1"}>
2024-05-17 13:42:16 +05:30
<ListItem fontSize={"14px"}>{content}</ListItem>
{/* <ListItem fontSize={"14px"}>
2024-03-22 15:02:23 +05:30
Mobile nodes with full state data will settle P2P . Consensus provided
by nearby node validators.
</ListItem>
2024-04-08 16:12:52 +05:30
<ListItem fontSize={"14px"}>
2024-03-22 15:02:23 +05:30
High scalability, Partition tolerance and portability
2024-05-17 13:42:16 +05:30
</ListItem> */}
2024-03-22 15:02:23 +05:30
</UnorderedList>
</>
);
};