import { IconArrowRight } from '@tabler/icons-react'; import { cn } from '@/lib/utils'; import Glow from '../ui/glow'; import { LinkButton, type LinkButtonProps } from '../ui/link-button'; import { Section } from '../ui/section'; /* * Closing call-to-action. Adapted from Launch UI (MIT) for Vite: siteConfig * removed and links inlined. Retint is automatic — the Glow uses `brand`, which * maps to the template teal. */ interface CTAButtonProps extends Omit { text: string; } interface CTAProps { title?: string; buttons?: CTAButtonProps[] | false; className?: string; } const DEFAULT_CTA_BUTTONS: CTAButtonProps[] = [ { href: '/signup', text: 'Get started', variant: 'default', iconRight: , }, ]; export default function CTA({ title = 'Ship your first feature.', buttons = DEFAULT_CTA_BUTTONS, className, }: CTAProps) { return (

{title}

{buttons !== false && buttons.length > 0 && (
{buttons.map((button) => ( {button.text} ))}
)}
); }