From 4b9c1d301ac86dd9b7493c44cf9a8eb145f19c3d Mon Sep 17 00:00:00 2001 From: Tiago Yamamoto Date: Mon, 22 Dec 2025 15:49:10 -0300 Subject: [PATCH] Fix contact page translations --- frontend/src/app/contact/page.tsx | 57 +++++++++++++++++-------------- frontend/src/i18n/en.json | 29 ++++++++++++++++ frontend/src/i18n/es.json | 29 ++++++++++++++++ frontend/src/i18n/pt-BR.json | 29 ++++++++++++++++ 4 files changed, 118 insertions(+), 26 deletions(-) diff --git a/frontend/src/app/contact/page.tsx b/frontend/src/app/contact/page.tsx index d28a794..a547828 100644 --- a/frontend/src/app/contact/page.tsx +++ b/frontend/src/app/contact/page.tsx @@ -11,9 +11,11 @@ import { Textarea } from "@/components/ui/textarea" import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card" import { Label } from "@/components/ui/label" import { Mail, MessageSquare, Phone, MapPin } from "lucide-react" +import { useTranslation } from "@/lib/i18n" export default function ContactPage() { const [submitted, setSubmitted] = useState(false) + const { t } = useTranslation() const handleSubmit = (e: React.FormEvent) => { e.preventDefault() @@ -30,10 +32,10 @@ export default function ContactPage() {
-

Get in Touch

-

- Have a question or suggestion? We are here to help. Reach out anytime. -

+

+ {t("contact.hero.title")} +

+

{t("contact.hero.subtitle")}

@@ -45,33 +47,38 @@ export default function ContactPage() { {/* Contact Form */} - Send a message - Fill out the form and we will get back to you soon. + {t("contact.form.title")} + {t("contact.form.description")}
- - + +
- - + +
- - + +
- -