File tree 3 files changed +7
-4
lines changed
src/shared/components/tc-communities
3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 4
4
*/
5
5
6
6
import React from 'react' ;
7
-
7
+ import moment from 'moment' ;
8
8
import TopcoderLogoGray from '../../../../assets/images/tc-communities/logo_topcoder_gray.svg' ;
9
9
import './style.scss' ;
10
10
11
+
11
12
export default function Footer2 ( ) {
12
13
return (
13
14
< div styleName = "footer" >
14
15
< div styleName = "content" >
15
16
< TopcoderLogoGray />
16
17
< span styleName = "copyright" >
17
- © Topcoder, 2017
18
+ © Topcoder, { moment ( ) . year ( ) }
18
19
</ span >
19
20
< div styleName = "right" >
20
21
< a
Original file line number Diff line number Diff line change
1
+ import moment from 'moment' ;
1
2
import React from 'react' ;
2
3
import PT from 'prop-types' ;
3
4
import { themr } from 'react-css-super-themr' ;
@@ -8,7 +9,7 @@ function Footer({ theme }) {
8
9
return (
9
10
< footer className = { theme . footer } >
10
11
< div className = { theme . footerText } >
11
- © Copyright Topcoder Ltd 2017
12
+ © Copyright Topcoder Ltd { moment ( ) . year ( ) }
12
13
</ div >
13
14
</ footer >
14
15
) ;
Original file line number Diff line number Diff line change
1
+ import moment from 'moment' ;
1
2
import React from 'react' ;
2
3
import PT from 'prop-types' ;
3
4
import { themr } from 'react-css-super-themr' ;
@@ -8,7 +9,7 @@ function Footer({ theme }) {
8
9
return (
9
10
< footer className = { theme . footer } >
10
11
< div className = { theme . footerText } >
11
- © Copyright Wipro Ltd 2017
12
+ © Copyright Wipro Ltd { moment ( ) . year ( ) }
12
13
</ div >
13
14
</ footer >
14
15
) ;
You can’t perform that action at this time.
0 commit comments