import Image from 'next/image' import { TechBuilderCtaDeck, type TechBuilderCtaCard, } from '@acid-info/logos-ui' import type { CardGridSection } from '@repo/content/schemas' import { Reveal } from '@/components/motion/reveal' import { Button } from '@/components/ui' import { Link } from '@/i18n/navigation' import { DownloadIcon } from './builder-cta-card' type Props = { data: CardGridSection className?: string deckClassName?: string } /** * Stretches the CTA anchor's hit area over the whole card (the card is * `position: relative`), so clicking anywhere in the box follows the link. */ const STRETCHED_LINK = "after:absolute after:inset-0 after:content-['']" const CARD_LINK_OVERLAY = 'absolute inset-0 z-20 cursor-pointer' function CardLinkOverlay({ href, external, }: { href: string external?: boolean }) { if (external || /^https?:\/\//.test(href)) { return (