mirror of
https://github.com/WDI-Ideas/rubix.git
synced 2026-04-27 19:05:49 +00:00
63 lines
1.7 KiB
JavaScript
63 lines
1.7 KiB
JavaScript
/* eslint-disable react/prop-types */
|
|
/* 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";
|
|
|
|
export const Component2 = ({ id, title, content }) => {
|
|
return (
|
|
<>
|
|
<Box display={"flex"} position={"absolute"} top={"-70px"} key={id}>
|
|
<Button
|
|
position={"relative"}
|
|
background={"transparent"}
|
|
textTransform={"uppercase"}
|
|
width={"165px"}
|
|
height={"57px"}
|
|
borderRadius={"28.5px"}
|
|
color={"#fff"}
|
|
border={"1px solid #A5A5A5"}
|
|
fontSize={"16px"}
|
|
cursor={"default"}
|
|
_after={{
|
|
content: "''",
|
|
position: "absolute",
|
|
background: `url(${vector2})`,
|
|
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",
|
|
}}
|
|
>
|
|
{title}
|
|
</Button>
|
|
</Box>
|
|
<UnorderedList color={"#E1E1E1"}>
|
|
<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> */}
|
|
</UnorderedList>
|
|
</>
|
|
);
|
|
};
|