diff --git a/src/app/contact-us/page.tsx b/src/app/contact-us/page.tsx index 048d9b1..4a5c07b 100644 --- a/src/app/contact-us/page.tsx +++ b/src/app/contact-us/page.tsx @@ -1,6 +1,6 @@ "use client"; -import Image from "next/image"; -import React, { useState } from "react"; +import Image from 'next/image'; +import React, { useState } from 'react'; const ContactUs = () => { const [formData, setFormData] = useState({ @@ -9,11 +9,11 @@ const ContactUs = () => { message: "", }); - const handleChange = (e) => { + const handleChange = (e: { target: { name: any; value: any } }) => { setFormData({ ...formData, [e.target.name]: e.target.value }); }; - const handleSubmit = (e) => { + const handleSubmit = (e: { preventDefault: () => void }) => { e.preventDefault(); console.log("Form submitted with data:", formData); alert("Thank you for reaching out! We will get back to you soon."); @@ -21,16 +21,22 @@ const ContactUs = () => { }; return ( -
+
Have questions or concerns about earthquake preparedness? Contact us using the form below or through the provided contact details.
@@ -81,10 +87,11 @@ const ContactUs = () => { id="message" value={formData.message} onChange={handleChange} - rows="5" + rows={5} placeholder="Your Message" className="w-full p-3 border border-neutral-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500" required + style={{ resize: "none" }} />{artifact.description}
-Location: {artifact.location}
-Price: ${artifact.price}
-+ {currencyTickers[selectedCurrency]} + {convertPrice(artifact.price, selectedCurrency)} +
+{artifact.description}
+Location: {artifact.location}
+ +{artifact.description}
+{artifact.location}
-+
{currencyTickers[selectedCurrency]} {convertPrice(artifact.price, selectedCurrency)}
@@ -234,6 +232,7 @@ export default function Shop() { ))}