import React, { useState } from "react"; import { Navigation } from "../components/Navigation"; import { Footer } from "../components/Footer"; import { Button } from "../components/ui/button"; import { Badge } from "../components/ui/badge"; import { Card, CardContent } from "../components/ui/card"; import { Input } from "../components/ui/input"; import { Textarea } from "../components/ui/textarea"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "../components/ui/select"; import { Checkbox } from "../components/ui/checkbox"; import { Mail, Phone, MapPin, Clock, Send, ArrowRight, MessageSquare, FileCheck, Calendar, Headphones, UserPlus } from "lucide-react"; import { navigateTo } from "../App"; export const Contact = () => { const [formData, setFormData] = useState({ fullName: "", email: "", phone: "", company: "", industry: "", interest: "", message: "", source: "", consent: false }); const [isSubmitting, setIsSubmitting] = useState(false); const industries = [ "Healthcare", "FinTech & Banking", "E-commerce & Retail", "Education", "Manufacturing", "Real Estate", "Logistics & Transportation", "Media & Entertainment", "Government", "Non-Profit", "Other" ]; const interests = [ "Software Development", "Mobile App Development", "Web Development", "AI & Machine Learning", "Cloud Solutions", "UI/UX Design", "DevOps & Infrastructure", "Hire Talent", "Partnership", "Career Opportunities", "Other" ]; const sources = [ "Google Search", "Social Media", "Referral", "Industry Event", "Blog/Content", "Partner/Agency", "Previous Client", "Other" ]; const contactMethods = [ { icon: Mail, title: "Email", value: "ideas@wdipl.com", description: "Send us an email and we'll respond within 24 hours" }, { icon: Phone, title: "Phone", value: "+1 (555) 123-4567", description: "Call us during business hours for immediate assistance" }, { icon: MapPin, title: "Address", value: "123 Innovation Drive, Tech City, TC 12345", description: "Visit our headquarters for in-person meetings" }, { icon: Clock, title: "Business Hours", value: "Mon-Fri: 9:00 AM - 6:00 PM EST", description: "We're available to help during business hours" } ]; const contactPages = [ { icon: FileCheck, title: "Request a Proposal", description: "Get a detailed, tailored proposal for your project", href: "/contact/request-a-proposal" }, { icon: Calendar, title: "Schedule a Discovery Call", description: "Book a free consultation with our experts", href: "/contact/schedule-a-discovery-call" }, { icon: MapPin, title: "Office Locations", description: "Find our global offices and development centers", href: "/contact/office-locations" }, { icon: Headphones, title: "Client Support", description: "Access dedicated support for existing clients", href: "/contact/client-support" }, { icon: UserPlus, title: "Send your CV to HR", description: "Submit your resume for career opportunities", href: "/contact/send-your-cv" } ]; const handleInputChange = (field: string, value: string | boolean) => { setFormData(prev => ({ ...prev, [field]: value })); }; const handleSubmit = async (e: React.FormEvent) => { e.preventDefault(); // Form validation if (!formData.fullName.trim()) { alert('Please enter your full name.'); return; } if (!formData.email.trim()) { alert('Please enter your email address.'); return; } if (!formData.company.trim()) { alert('Please enter your company name.'); return; } if (!formData.interest) { alert('Please select what you are interested in.'); return; } if (!formData.message.trim()) { alert('Please enter your message.'); return; } if (!formData.consent) { alert('Please agree to the privacy policy and consent to data processing.'); return; } setIsSubmitting(true); // Simulate form submission await new Promise(resolve => setTimeout(resolve, 2000)); // Reset form setFormData({ fullName: "", email: "", phone: "", company: "", industry: "", interest: "", message: "", source: "", consent: false }); setIsSubmitting(false); // Redirect to Thank You page navigateTo('/thank-you'); }; return (
Have a project in mind, a question about our services, or looking to join our team? We'd love to hear from you. Fill out the form below, and a WDI expert will get in touch within 24-48 business hours.
{method.value}
{method.description}
{page.description}
Privacy Statement: Your information is secure with us. We respect your privacy and will only use your data to respond to your inquiry.