diff --git a/src/Components/Footer/Footer.tsx b/src/Components/Footer/Footer.tsx index f35d635..ec925d3 100644 --- a/src/Components/Footer/Footer.tsx +++ b/src/Components/Footer/Footer.tsx @@ -5,6 +5,11 @@ import { motion } from "framer-motion"; const Footer = () => { const { t, i18n } = useTranslation(); + // Browsers report region variants (e.g. "en-US", "pt-BR"), not just the + // bare "en"/"pt" i18next is configured with - matching on that exactly + // would pick the wrong sized text class for most real visitors. + const currentLang = i18n.language?.startsWith("pt") ? "pt" : "en"; + return (