Subnet Api integrated

This commit is contained in:
rockyeverlast
2024-05-17 15:08:53 +05:30
parent 74378a93c5
commit f685c684ea
5 changed files with 84 additions and 10 deletions

View File

@@ -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>
</>
);