From d675023284b0398dbb595348fbfa36de6bdc8a8c Mon Sep 17 00:00:00 2001 From: Victor Date: Sat, 30 Mar 2024 11:43:29 -0300 Subject: [PATCH 1/5] feat:locales:add footer socials translations --- src/config/i18n/locales/en/translation.json | 5 +++-- src/config/i18n/locales/pt/translation.json | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/config/i18n/locales/en/translation.json b/src/config/i18n/locales/en/translation.json index 8ab2337..8244a97 100644 --- a/src/config/i18n/locales/en/translation.json +++ b/src/config/i18n/locales/en/translation.json @@ -43,6 +43,7 @@ "company": "Bepro Network" } }, - "contributions_cta": "See live", - "socials_label": "Visit my profile on {{name}}" + "socials_label": "Visit my profile on {{name}}", + "footer_socials_caption": "Connect", + "footer_socials_title": "Let's keep people together!" } diff --git a/src/config/i18n/locales/pt/translation.json b/src/config/i18n/locales/pt/translation.json index c570eed..77968f6 100644 --- a/src/config/i18n/locales/pt/translation.json +++ b/src/config/i18n/locales/pt/translation.json @@ -43,6 +43,7 @@ "company": "Bepro Network" } }, - "contributions_cta": "Veja no ar", - "socials_label": "Visite meu perfil do {{name}}" + "socials_label": "Visite meu perfil do {{name}}", + "footer_socials_caption": "Conecte-se", + "footer_socials_title": "Vamos manter a gente juntos!" } From a9cc2c0947dc7650a55b56e55f6e152c7294fe90 Mon Sep 17 00:00:00 2001 From: Victor Date: Sat, 30 Mar 2024 11:43:44 -0300 Subject: [PATCH 2/5] feat:FooterSocials:implement translations --- src/containers/FooterSocials.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/containers/FooterSocials.tsx b/src/containers/FooterSocials.tsx index 958c0ed..4946db8 100644 --- a/src/containers/FooterSocials.tsx +++ b/src/containers/FooterSocials.tsx @@ -1,8 +1,11 @@ +import { useTranslation } from "react-i18next"; import { twMerge } from "tailwind-merge"; import classNames from "consts/classNames"; import Socials from "./Socials"; export default function FooterSocials() { + const [t] = useTranslation(); + return (
@@ -12,10 +15,10 @@ export default function FooterSocials() { "text-amber-600 md:pl-1 dark:text-amber-400", )} > - Connect + {t("footer_socials_caption")}

- Let's keep people together! + {t("footer_socials_title")}

From 9461f4609f3dbb12175fe50ed8f1bdb3761c476e Mon Sep 17 00:00:00 2001 From: Victor Date: Sat, 30 Mar 2024 11:49:10 -0300 Subject: [PATCH 3/5] feat:FooterSocials:enhance spacing for content and socials --- src/containers/FooterSocials.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/containers/FooterSocials.tsx b/src/containers/FooterSocials.tsx index 4946db8..a84a921 100644 --- a/src/containers/FooterSocials.tsx +++ b/src/containers/FooterSocials.tsx @@ -8,7 +8,7 @@ export default function FooterSocials() { return (
-
+

-
+
From 5d9d247d247d06a994811a22896c626871d63d33 Mon Sep 17 00:00:00 2001 From: Victor Date: Sat, 30 Mar 2024 11:49:25 -0300 Subject: [PATCH 4/5] feat:locales:adjust pt-br translation --- src/config/i18n/locales/pt/translation.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/i18n/locales/pt/translation.json b/src/config/i18n/locales/pt/translation.json index 77968f6..f62842f 100644 --- a/src/config/i18n/locales/pt/translation.json +++ b/src/config/i18n/locales/pt/translation.json @@ -45,5 +45,5 @@ }, "socials_label": "Visite meu perfil do {{name}}", "footer_socials_caption": "Conecte-se", - "footer_socials_title": "Vamos manter a gente juntos!" + "footer_socials_title": "Vamos manter as pessoas juntas!" } From 13f4fcef4fa2418c31c6b99f6d2eb9f17ddeda6b Mon Sep 17 00:00:00 2001 From: Victor Date: Sat, 30 Mar 2024 11:59:02 -0300 Subject: [PATCH 5/5] feat:index:adjust JS not allowed UI --- index.html | 37 ++++++++++++++++++------------------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/index.html b/index.html index 980caf2..1f0d2ea 100644 --- a/index.html +++ b/index.html @@ -65,27 +65,26 @@