File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 410
410
"subtitle3" : " Address"
411
411
},
412
412
"footer" : {
413
- "copyright" : " © 2024 Lunatech. All rights reserved." ,
413
+ "copyright" : " All rights reserved." ,
414
414
"terms" : " Terms of Services" ,
415
415
"title1" : " Plan" ,
416
416
"title2" : " Get connected" ,
Original file line number Diff line number Diff line change 548
548
"subtitle3" : " Adresse"
549
549
},
550
550
"footer" : {
551
- "copyright" : " © 2024 Lunatech. Tous droits réservés." ,
551
+ "copyright" : " Tous droits réservés." ,
552
552
"terms" : " Conditions d'utilisation" ,
553
553
"title1" : " Plan" ,
554
554
"title2" : " Restez connecté" ,
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ interface FooterProps {
13
13
changeLanguage : ( lng : string ) => void ;
14
14
}
15
15
16
+ const currentYear = new Date ( ) . getFullYear ( ) ;
17
+
16
18
const Footer : React . FC < FooterProps > = ( { changeLanguage } ) => {
17
19
useTranslation ( ) ;
18
20
@@ -62,7 +64,7 @@ const Footer: React.FC<FooterProps> = ({ changeLanguage }) => {
62
64
</ div >
63
65
64
66
< div className = "footer__bottom" >
65
- < p > < Trans i18nKey = "footer.copyright" /> </ p >
67
+ < p > © { currentYear } Lunatech. < Trans i18nKey = "footer.copyright" /> </ p >
66
68
< a href = "/Lunatech-General_Terms_and_Conditions.pdf" target = "_blank" > < Trans i18nKey = "footer.terms" /> </ a >
67
69
</ div >
68
70
</ Container >
You can’t perform that action at this time.
0 commit comments