import cx from 'classnames' import { useProductGuidesContext } from 'components/context/ProductGuidesContext' import { ArrowRightIcon, StarFillIcon } from '@primer/octicons-react' import { useTranslation } from 'components/hooks/useTranslation' import { Link } from 'components/Link' import { TruncateLines } from 'components/ui/TruncateLines' import { Lead } from 'components/ui/Lead' import styles from './GuidesHero.module.scss' export const GuidesHero = () => { const { title, intro, featuredTrack } = useProductGuidesContext() const { t } = useTranslation('product_guides') const cardWidth = 280 const firstCardWidth = cardWidth + 10 // so the english text doesn't wrap const guideItems = featuredTrack?.guides?.map((guide) => (