Footer text Fix
This commit is contained in:
@@ -2,7 +2,7 @@ import { useTranslation } from "react-i18next";
|
|||||||
import { FaFacebook, FaLinkedin } from "react-icons/fa";
|
import { FaFacebook, FaLinkedin } from "react-icons/fa";
|
||||||
|
|
||||||
const Footer = () => {
|
const Footer = () => {
|
||||||
const { t } = useTranslation();
|
const { t, i18n } = useTranslation();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<footer className="flex flex-col space-y-10 justify-center m-10">
|
<footer className="flex flex-col space-y-10 justify-center m-10">
|
||||||
@@ -37,19 +37,19 @@ const Footer = () => {
|
|||||||
<div className="flex justify-center space-x-5">
|
<div className="flex justify-center space-x-5">
|
||||||
<a
|
<a
|
||||||
href="/tos"
|
href="/tos"
|
||||||
className="text-gray-400 hover:text-gold-light font-medium"
|
className={i18n.language === "en" ? "footer-text hover:text-gold-light" : "footer-text-pt hover:text-gold-light"}
|
||||||
>
|
>
|
||||||
{t("footer.tos")}
|
{t("footer.tos")}
|
||||||
</a>
|
</a>
|
||||||
<a
|
<a
|
||||||
href="/privacy"
|
href="/privacy"
|
||||||
className="text-gray-400 hover:text-gold-light font-medium"
|
className={i18n.language === "en" ? "footer-text hover:text-gold-light" : "footer-text-pt hover:text-gold-light"}
|
||||||
>
|
>
|
||||||
{t("footer.privacy")}
|
{t("footer.privacy")}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p className="text-center text-gray-400 font-medium">
|
<p className={i18n.language === "en" ? "footer-text text-center" : "footer-text-pt text-center"}>
|
||||||
{t("footer.rights")}
|
{t("footer.rights")}
|
||||||
</p>
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
@@ -57,6 +57,13 @@ body {
|
|||||||
@apply mb-2 mt-3 italic text-lg xl:text-2xl font-medium text-gray-300;
|
@apply mb-2 mt-3 italic text-lg xl:text-2xl font-medium text-gray-300;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.footer-text {
|
||||||
|
@apply text-gray-400 font-medium
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-text-pt {
|
||||||
|
@apply text-gray-400 font-medium text-xs
|
||||||
|
}
|
||||||
|
|
||||||
@keyframes fadeEffect {
|
@keyframes fadeEffect {
|
||||||
0% {
|
0% {
|
||||||
|
|||||||
Reference in New Issue
Block a user