@homefile/components-v2 2.49.0 → 2.49.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -305,11 +305,11 @@
|
|
|
305
305
|
"uploading": "Uploading"
|
|
306
306
|
},
|
|
307
307
|
"footer": {
|
|
308
|
-
"copyright": "
|
|
308
|
+
"copyright": "HMFC, Inc. All Rights Reserved.",
|
|
309
309
|
"privacyLink": "Privacy Policy",
|
|
310
|
-
"privacyUrl": "https://homefile.
|
|
310
|
+
"privacyUrl": "https://homefile.com/privacy-policy",
|
|
311
311
|
"termsLink": "Terms of Service",
|
|
312
|
-
"termsUrl": "https://homefile.
|
|
312
|
+
"termsUrl": "https://homefile.com/terms-of-service"
|
|
313
313
|
},
|
|
314
314
|
"forms": {
|
|
315
315
|
"addAll": "Add All",
|
|
@@ -2,5 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { t } from 'i18next';
|
|
3
3
|
import { Flex, Text } from '@chakra-ui/react';
|
|
4
4
|
export const Footer = () => {
|
|
5
|
-
|
|
5
|
+
const currentDate = new Date();
|
|
6
|
+
const currentYear = currentDate.getFullYear();
|
|
7
|
+
return (_jsxs(Flex, { w: ['container.full', 'container.sm', 'container.md'], direction: ['column', 'row'], mx: "auto", my: 4, justifyContent: ['center', 'space-between'], alignItems: "center", children: [_jsx(Text, { variant: "label", children: `©${currentYear} ${t('footer.copyright')}` }), _jsxs(Flex, { gap: 2, children: [_jsx(Text, { variant: "label", children: _jsx("a", { target: "_blank", href: t('footer.termsUrl'), children: t('footer.termsLink') }) }), _jsx(Text, { variant: "label", children: _jsx("a", { target: "_blank", href: t('footer.privacyUrl'), children: t('footer.privacyLink') }) })] })] }));
|
|
6
8
|
};
|