import { Box, Flex, Heading, Link, Text, Tooltip } from '@chakra-ui/react'; import { InfoIcon } from '@chakra-ui/icons'; type RoadmapGridItemProps = { title: string; subtitle: string; isCommunity?: boolean; isUpcoming?: boolean; colorIndex?: number; url: string; }; const bgColorList = [ 'blue.900', 'red.800', 'green.800', 'teal.800', 'blue.800', 'red.900', 'gray.900', 'orange.900', 'yellow.900', 'green.900', 'red.900' ]; export function HomeRoadmapItem(props: RoadmapGridItemProps) { const { title, subtitle, isCommunity, colorIndex = 0, url, isUpcoming } = props; return ( {isCommunity && ( )} {title} {subtitle} {isUpcoming && ( Upcoming )} ); }