From ec0f73f5602edc0a77c337907ec63195d3d0faf1 Mon Sep 17 00:00:00 2001 From: FernandoJVideira <03.pleaser-minster@icloud.com> Date: Sat, 12 Sep 2026 13:31:50 +0100 Subject: [PATCH] polishing ui --- src/Components/Footer/Footer.tsx | 11 ++++-- src/Components/Navbar/Navbar.tsx | 59 +++++++++++++++++++++++++----- src/Components/Pages/Hero/Hero.tsx | 13 +++++-- src/index.css | 2 +- 4 files changed, 68 insertions(+), 17 deletions(-) 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 (