import React, { useState } from 'react'; import { useTranslation } from 'react-i18next'; import { Mail, Phone, MapPin, Send, MessageSquare } from 'lucide-react'; const ContactPage: React.FC = () => { const { t } = useTranslation(); const [formState, setFormState] = useState({ name: '', email: '', subject: '', message: '', }); const [isSubmitting, setIsSubmitting] = useState(false); const [submitted, setSubmitted] = useState(false); const handleSubmit = async (e: React.FormEvent) => { e.preventDefault(); setIsSubmitting(true); // Simulate form submission await new Promise((resolve) => setTimeout(resolve, 1500)); setIsSubmitting(false); setSubmitted(true); setFormState({ name: '', email: '', subject: '', message: '' }); }; const handleChange = ( e: React.ChangeEvent ) => { setFormState((prev) => ({ ...prev, [e.target.name]: e.target.value, })); }; const contactInfo = [ { icon: Mail, label: 'Email', value: t('marketing.contact.info.email'), href: `mailto:${t('marketing.contact.info.email')}`, }, { icon: Phone, label: 'Phone', value: t('marketing.contact.info.phone'), href: `tel:${t('marketing.contact.info.phone').replace(/[^0-9+]/g, '')}`, }, { icon: MapPin, label: 'Address', value: t('marketing.contact.info.address'), href: null, }, ]; return (
{/* Header Section */}

{t('marketing.contact.title')}

{t('marketing.contact.subtitle')}

{/* Contact Content */}
{/* Contact Form */}

Send us a message

{submitted ? (

Message Sent!

{t('marketing.contact.form.success')}

) : (