Add copyright statement and privacy policy translations; update Footer component to use translations
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user