File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,12 @@ import WeChatLogo from '@site/static/svg/socials/wechat_24x24.svg';
15
15
import YoutubeLogo from '@site/static/svg/socials/youtube_24x24.svg' ;
16
16
import { FormSubmitUrl } from '@site/src/constants' ;
17
17
18
+ function getCurrentYear ( ) {
19
+ const today = new Date ( ) ;
20
+ const year = today . getFullYear ( ) ;
21
+ return year ;
22
+ }
23
+
18
24
function Footer ( ) : JSX . Element | null {
19
25
const [ email , setEmail ] = React . useState ( '' ) ;
20
26
const [ isSubmitted , setIsSubmitted ] = React . useState ( false ) ;
@@ -230,7 +236,7 @@ function Footer(): JSX.Element | null {
230
236
</ ul >
231
237
</ div >
232
238
< div className = { styles . minaFooter_legals__info } >
233
- ©2023 Mina Foundation. All rights reserved.
239
+ ©{ getCurrentYear ( ) } Mina Foundation. All rights reserved.
234
240
</ div >
235
241
</ div >
236
242
</ footer >
You can’t perform that action at this time.
0 commit comments