import React from "react"; import { Divider, Heading, HStack, VStack } from "@chakra-ui/react"; import CustomButton from "../../buttons/Custom"; import Patreon from "../../buttons/Patreon"; import Twitter from "../../buttons/Twitter"; import links, { LinkObj } from "../data/links"; const TutorialLinks = (): JSX.Element => { return ( {"More Info"} {links.map((link: LinkObj) => { const { href, name, type } = link; if (type === "primary" || type === "secondary") { return ( ); } if (type === "patreon") { return ; } if (type === "twitter") { return ; } })} {links.map((link: LinkObj) => { const { href, name, type } = link; if (type === "primary" || type === "secondary") { return ( ); } if (type === "patreon") { return ; } if (type === "twitter") { return ; } })} ); }; export default TutorialLinks;