"use client"; import * as React from "react"; import { motion } from "framer-motion"; import { mockData } from "@/lib/mock-data"; import { useTranslations } from "next-intl"; import { toast } from "sonner"; import { Loader2 } from "lucide-react"; export function ContactContent() { const t = useTranslations("contact"); const [isLoading, setIsLoading] = React.useState(false); const handleSubmit = async (e: React.FormEvent) => { e.preventDefault(); setIsLoading(true); // Simulate network request await new Promise((resolve) => setTimeout(resolve, 1500)); setIsLoading(false); toast.success("Talebiniz başarıyla alındı!", { description: "En kısa sürede size dönüş yapacağız.", }); }; return (
{/* Decorative background blob */}
{t("title")}
{/* Contact Info */}

{t("title")}

{t("email")}

{mockData.contact.email}

{t("phone")}

{mockData.contact.phone}

{t("address")}

{mockData.contact.address}

{/* Contact Form */}

{t("reservationReq")}

); }