import { Box, Link, Text } from '@chakra-ui/react'; import { ExternalLinkIcon } from '@chakra-ui/icons'; import React from 'react'; import { event } from '../../lib/gtag'; type TNSAlertProps = { roadmapName: string; }; export function TNSAlert(props: TNSAlertProps) { const { roadmapName } = props; return ( Get the latest {roadmapName} news from our sister site  { event({ category: 'PartnerClick', action: `TNS Referral`, label: `TNS Referral - ${roadmapName}`, }); }} fontWeight={600}>TheNewStack.io Get latest {roadmapName} news on   { event({ category: 'PartnerClick', action: `TNS Referral`, label: `TNS Referral - ${roadmapName}`, }); }} fontWeight={600}>TheNewStack.io ); }