'use client'; import clsx from 'clsx'; import { Button } from '@/components/shared/ui/button'; import { Input } from '@/components/shared/ui/input'; import { Label } from '@/components/shared/ui/label'; /** * A newsletter input and button, used in LandingNewsletterSection, but can also be used as a standalone component in LandingPrimaryCta sections. */ export const LandingNewsletterInput = ({ className, buttonLabel = 'Subscribe', placeholderLabel = 'Enter your email', inputLabel = 'Email address', variant = 'primary', disabled = false, onSubmit = () => {}, }: { className?: string; buttonLabel?: string; placeholderLabel?: string; inputLabel?: string; variant?: 'primary' | 'secondary'; disabled?: boolean; onSubmit?: (e: React.FormEvent) => void; }) => { return (
); };