Add copyright statement and privacy policy translations; update Footer component to use translations

This commit is contained in:
2024-10-05 00:19:34 +05:30
parent 9364a365ec
commit 91e4ca3380
4 changed files with 14 additions and 5 deletions

View File

@@ -1,8 +1,11 @@
import { useTranslation } from 'react-i18next';
function Footer() {
const { t } = useTranslation();
return (
<footer className="flex justify-between p-2 text-sm px-7 font-body bg-tertiary text-primary dark:bg-tertiary-dark dark:text-primary-dark">
<p>Copyright © 2023, Tata Consultancy Services. All rights reserved</p>
<a className="cursor-wait">Privacy Policy</a>
<p>{t('copyright_statement')}</p>
<a className="cursor-pointer">{t('privacy_policy')}</a>
</footer>
);
}