"use client"; import Link from "next/link"; import { Checkbox } from "@/components/ui/checkbox"; import { Label } from "@/components/ui/label"; import { dataConsent } from "@/content/consent"; import { cn } from "@/lib/utils"; type Props = { id: string; checked: boolean; onCheckedChange: (checked: boolean) => void; /** Defaults to standard form consent; use `payment` for checkout */ variant?: "default" | "payment"; className?: string; }; export function DataConsentField({ id, checked, onCheckedChange, variant = "default", className, }: Props) { const labelPrefix = variant === "payment" ? dataConsent.paymentLabel : dataConsent.label; return (