import { useTranslation } from '@/languages/components/useTranslation' import { ArrowRightIcon } from '@primer/octicons-react' import { LearningTrack as LearningTrackT } from '@/landings/components/ProductGuidesContext' import { Link } from '@/frame/components/Link' import { HeadingLink } from '@/frame/components/article/HeadingLink' type Props = { track: LearningTrackT } export const LearningTrack = ({ track }: Props) => { const { t, tObject } = useTranslation('product_guides') if (!track) return
return ({track.description}
{t('start_path')}