(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[977],{504:(e,s,a)=>{Promise.resolve().then(a.bind(a,1871))},1871:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>i});var n=a(5155),l=a(2115);function i(){let[e,s]=(0,l.useState)({name:"",email:"",message:""}),a=a=>{s({...e,[a.target.name]:a.target.value})};return(0,n.jsx)("section",{id:"contact",className:"py-20",children:(0,n.jsxs)("div",{className:"max-w-3xl mx-auto px-4",children:[(0,n.jsx)("h2",{className:"text-3xl font-bold text-center mb-8",children:"Get in Touch"}),(0,n.jsxs)("form",{onSubmit:s=>{s.preventDefault(),console.log("Form submitted:",e),alert("Form submission is a placeholder. Integrate a backend or service like Formspree to handle submissions.")},className:"bg-white shadow-md rounded-lg p-8 space-y-6",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("label",{className:"block mb-2 font-medium",children:"Name"}),(0,n.jsx)("input",{type:"text",name:"name",value:e.name,onChange:a,className:"w-full border rounded px-3 py-2 focus:ring-2 focus:ring-indigo-500",required:!0})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("label",{className:"block mb-2 font-medium",children:"Email"}),(0,n.jsx)("input",{type:"email",name:"email",value:e.email,onChange:a,className:"w-full border rounded px-3 py-2 focus:ring-2 focus:ring-indigo-500",required:!0})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("label",{className:"block mb-2 font-medium",children:"Message"}),(0,n.jsx)("textarea",{name:"message",rows:5,value:e.message,onChange:a,className:"w-full border rounded px-3 py-2 focus:ring-2 focus:ring-indigo-500",required:!0})]}),(0,n.jsx)("button",{type:"submit",className:"w-full bg-indigo-600 text-white font-semibold py-3 rounded-lg hover:bg-indigo-700",children:"Send Message"})]})]})})}}},e=>{e.O(0,[441,255,358],()=>e(e.s=504)),_N_E=e.O()}]);