"use client"; import TextAnimation from "@/components/text/TextAnimation"; import EmailSignupForm from "@/components/form/EmailSignupForm"; import { cls, shouldUseInvertedText } from "@/lib/utils"; import { useTheme } from "@/providers/themeProvider/ThemeProvider"; import type { InvertedBackground } from "@/providers/themeProvider/config/constants"; type AnimationType = "entrance-slide" | "reveal-blur" | "background-highlight"; interface ContactInlineProps { text: string; animationType?: AnimationType; inputPlaceholder?: string; buttonText?: string; onSubmit?: (email: string) => void; useInvertedBackground: InvertedBackground; ariaLabel?: string; className?: string; containerClassName?: string; textClassName?: string; formClassName?: string; inputClassName?: string; buttonClassName?: string; buttonTextClassName?: string; } const ContactInline = ({ text, animationType = "entrance-slide", inputPlaceholder = "Enter your message", buttonText = "Submit", onSubmit, useInvertedBackground, ariaLabel = "Contact section", className = "", containerClassName = "", textClassName = "", formClassName = "", inputClassName = "", buttonClassName = "", buttonTextClassName = "", }: ContactInlineProps) => { const theme = useTheme(); const shouldUseLightText = shouldUseInvertedText(useInvertedBackground, theme.cardStyle); return (
); }; ContactInline.displayName = "ContactInline"; export default ContactInline;