"use client";
import { useState } from "react";
import { useTranslations, useLocale } from "next-intl";
import Header from "@/components/layout/Header";
import Footer from "@/components/layout/Footer";
import { Mail, MapPin, Truck, Check } from "lucide-react";
export default function ContactPage() {
const t = useTranslations("Contact");
const locale = useLocale();
const [formData, setFormData] = useState({
name: "",
email: "",
message: "",
});
const [submitted, setSubmitted] = useState(false);
const handleSubmit = (e: React.FormEvent) => {
e.preventDefault();
setSubmitted(true);
};
return (
<>
{t("subtitle")}
{t("title")}
{t("getInTouchDesc")}
{t("getInTouch")}
{t("getInTouchDesc")}
{t("email")}
hello@manoonoils.com
{t("emailReply")}
{t("shippingTitle")}
{t("freeShipping")}
{t("deliveryTime")}
{t("location")}
{t("locationDesc")}
{t("worldwideShipping")}
{submitted ? (
{t("thankYou")}
{t("thankYouDesc")}
) : (
)}
{t("faqTitle")}
{[
{ q: t("faq1q"), a: t("faq1a") },
{ q: t("faq2q"), a: t("faq2a") },
{ q: t("faq3q"), a: t("faq3a") },
{ q: t("faq4q"), a: t("faq4a") },
].map((faq, index) => (
))}
>
);
}