'use client'; import { useState } from 'react'; import { useTranslations } from 'next-intl'; import { cn } from '@/components/ui/utils'; import dynamic from 'next/dynamic'; const BrochureModal = dynamic(() => import('./BrochureModal'), { ssr: false }); interface Props { className?: string; compact?: boolean; } /** * BrochureCTA — Shows a button that opens a modal asking for an email address. * The full-catalog PDF is ONLY revealed after email submission. * No direct download link is exposed anywhere. */ export default function BrochureCTA({ className, compact = false }: Props) { const t = useTranslations('Brochure'); const [open, setOpen] = useState(false); return ( <>
setOpen(false)} /> ); }