"use client"; import { useState } from "react"; import { motion } from "framer-motion"; import { Mail, Phone, MapPin, Send, Instagram, Linkedin, MessageSquare, Clock, CheckCircle } from "lucide-react"; import Link from "next/link"; const contactMethods = [ { icon: Mail, label: "Email", value: "artsplash@sjec.ac.in", href: "mailto:artsplash@sjec.ac.in", description: "Best for detailed inquiries", }, { icon: Phone, label: "Phone", value: "+91 98765 43210", href: "tel:+919876543210", description: "Mon-Fri, 10AM-5PM", }, { icon: MapPin, label: "Location", value: "SJEC, Mangalore", href: "https://maps.google.com/?q=St+Joseph+Engineering+College+Mangalore", description: "Visit us on campus", }, ]; const socialLinks = [ { icon: Instagram, label: "Instagram", href: "https://instagram.com/sceptix_sjec", username: "@sceptix_sjec", }, { icon: Linkedin, label: "LinkedIn", href: "https://linkedin.com/company/sceptix-sjec", username: "Sceptix SJEC", }, ]; const departments = [ "General Inquiry", "Registration Help", "Technical Support", "Submission Issues", "Voting Questions", "Partnership & Sponsorship", "Other", ]; export default function ContactPage() { const [formState, setFormState] = useState({ name: "", email: "", department: "", subject: "", message: "", }); const [isSubmitting, setIsSubmitting] = useState(false); const [isSubmitted, setIsSubmitted] = useState(false); const handleChange = (e: React.ChangeEvent) => { const { name, value } = e.target; setFormState((prev) => ({ ...prev, [name]: value })); }; const handleSubmit = async (e: React.FormEvent) => { e.preventDefault(); setIsSubmitting(true); // Simulate API call await new Promise((resolve) => setTimeout(resolve, 1500)); setIsSubmitting(false); setIsSubmitted(true); }; if (isSubmitted) { return (

Message Sent!

Thank you for reaching out. We'll get back to you within 24-48 hours.

Back to Home
); } return (
{/* Header */} CONTACT

Get in Touch

Have a question about ArtSplash? We're here to help. Reach out to us through any of the channels below.

{/* Contact Info Column */} {/* Contact Methods */}
{contactMethods.map((method, index) => (

{method.label}

{method.value}

{method.description}

))}
{/* Response Time */}

Response Time

We typically respond within 24-48 hours on business days. For urgent issues during the competition, we'll prioritize your query.

{/* Social Links */}

Follow Us

{socialLinks.map((social) => ( {social.username} ))}
{/* Contact Form */}

Send us a Message

{/* Name & Email Row */}
{/* Department & Subject Row */}
{/* Message */}