import type { CtaSectionBlock } from "@/types/sections"; import { useLocale } from "@/i18n/LocaleContext"; import { Button } from "@/components/ui/button"; import { ArrowRight } from "lucide-react"; import { cn } from "@/lib/utils"; export function CtaSection({ block }: { block: CtaSectionBlock }) { const { t } = useLocale(); const isPrimary = (block.background ?? "primary") === "primary"; return (

{t(block.title)}

{block.subtitle && (
)}
); }