mirror of
https://github.com/WDI-Ideas/rubix.git
synced 2026-04-28 03:55:49 +00:00
Subnet Api integrated
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
/* 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";
|
||||
@@ -10,10 +11,10 @@ import {
|
||||
} from "@chakra-ui/react";
|
||||
import vector2 from "../../assets/images/vector2.png";
|
||||
|
||||
export const Component2 = () => {
|
||||
export const Component2 = ({ id, title, content }) => {
|
||||
return (
|
||||
<>
|
||||
<Box display={"flex"} position={"absolute"} top={"-70px"}>
|
||||
<Box display={"flex"} position={"absolute"} top={"-70px"} key={id}>
|
||||
<Button
|
||||
position={"relative"}
|
||||
background={"transparent"}
|
||||
@@ -43,13 +44,17 @@ export const Component2 = () => {
|
||||
border: "1px solid #A5A5A5",
|
||||
}}
|
||||
>
|
||||
Easier
|
||||
{title}
|
||||
</Button>
|
||||
</Box>
|
||||
<UnorderedList color={"#E1E1E1"}>
|
||||
<ListItem fontSize={"14px"}>Leverage own infrastructure for block space</ListItem>
|
||||
<ListItem fontSize={"14px"}>Smart contracts in Rust , GoLang and C/C++</ListItem>
|
||||
<ListItem fontSize={"14px"}>WASM compiler for smooth code migration</ListItem>
|
||||
<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>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user