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 = [ 'red.100', 'yellow.100', 'green.200', 'teal.200', 'blue.200', 'red.200', 'gray.200', 'teal.200', 'yellow.100', 'green.200', 'red.200' ]; export function HomeRoadmapItem(props: RoadmapGridItemProps) { const { title, subtitle, isCommunity, colorIndex = 0, url, isUpcoming } = props; return ( {isCommunity && ( )} {title} {subtitle} {isUpcoming && ( Upcoming )} ); }