Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / packages / components / containers / login / FooterDetails.tsx
blob87731ca55c1681e610e42aef3f407c2e5bd63f43
1 import type { ReactNode } from 'react';
3 import { c } from 'ttag';
5 import { BRAND_NAME } from '@proton/shared/lib/constants';
7 interface Props {
8     link?: ReactNode;
10 const FooterDetails = ({ link }: Props) => {
11     const currentYear = new Date().getFullYear();
12     return (
13         <>
14             {currentYear} {link} -{' '}
15             {
16                 // translator: full sentence 'Proton. Privacy by default.'
17                 c('Footer').t`${BRAND_NAME}. Privacy by default.`
18             }
19         </>
20     );
23 export default FooterDetails;