<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[977],{21078:(e,s,a)=&gt;{Promise.resolve().then(a.bind(a,48966))},48966:(e,s,a)=&gt;{"use strict";a.r(s),a.d(s,{default:()=&gt;r});var t=a(95155),l=a(12115);function r(){let[e,s]=(0,l.useState)({name:"",email:"",message:""}),[a,r]=(0,l.useState)(""),i=e=&gt;{let{name:a,value:t}=e.target;s(e=&gt;({...e,[a]:t}))},n=async a=&gt;{a.preventDefault(),r("Sending...");try{(await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).ok?(r("Message sent!"),s({name:"",email:"",message:""})):r("Failed to send message. Please try again later.")}catch(e){console.error("Error:",e),r("Failed to send message. Please try again later.")}};return(0,t.jsx)("div",{className:"min-h-screen bg-cover bg-center flex items-center justify-center",style:{backgroundImage:"url('https://source.unsplash.com/featured/?forest')"},children:(0,t.jsxs)("div",{className:"bg-white bg-opacity-80 p-10 rounded-lg shadow-lg max-w-4xl w-full flex",children:[(0,t.jsxs)("div",{className:"w-1/2 pr-8",children:[(0,t.jsx)("h2",{className:"text-3xl font-bold text-black mb-4",children:"Contact Us"}),(0,t.jsx)("p",{className:"text-gray-700 mb-6",children:"We would love to hear from you! Whether you have a question, feedback, or just want to say hello, feel free to reach out to us using the form."}),(0,t.jsxs)("p",{className:"text-gray-700",children:["You can also contact us directly at ",(0,t.jsx)("br",{}),(0,t.jsxs)("span",{className:"inline-flex items-center",children:[(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5 mr-2",viewBox:"0 0 20 20",fill:"currentColor",children:[(0,t.jsx)("path",{d:"M2.003 5.884l8 4.5a1 1 0 001 0l8-4.5A1 1 0 0018.5 4H1.5a1 1 0 00-.497 1.884z"}),(0,t.jsx)("path",{d:"M19 8.118l-8 4.5a3 3 0 01-3 0l-8-4.5V14a1 1 0 001 1h16a1 1 0 001-1V8.118z"})]}),(0,t.jsx)("a",{href:"mailto:kade@firstfruitrealestate.com",className:"text-indigo-600 hover:underline",children:"kade@firstfruitrealestate.com"})]}),(0,t.jsx)("br",{})]})]}),(0,t.jsx)("div",{className:"w-1/2",children:(0,t.jsxs)("form",{onSubmit:n,className:"space-y-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"name",className:"block text-sm font-medium text-black",children:"Name"}),(0,t.jsx)("input",{type:"text",id:"name",name:"name",value:e.name,onChange:i,required:!0,className:"mt-1 block w-full border-gray-300 rounded-md shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"email",className:"block text-sm font-medium text-black",children:"Email"}),(0,t.jsx)("input",{type:"email",id:"email",name:"email",value:e.email,onChange:i,required:!0,className:"mt-1 block w-full border-gray-300 rounded-md shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"message",className:"block text-sm font-medium text-black",children:"Message"}),(0,t.jsx)("textarea",{id:"message",name:"message",value:e.message,onChange:i,required:!0,className:"mt-1 block w-full border-gray-300 rounded-md shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm"})]}),(0,t.jsx)("button",{type:"submit",className:"w-full bg-grass text-white py-2 px-4 rounded-md hover:opacity-80",children:"Submit"}),a&amp;&amp;(0,t.jsx)("p",{className:"mt-2 text-sm text-gray-800",children:a})]})})]})})}}},e=&gt;{var s=s=&gt;e(e.s=s);e.O(0,[441,684,358],()=&gt;s(21078)),_N_E=e.O()}]);</pre></body></html>