Skip to content

Commit c2042b1

Browse files
committed
Blockchain: Footer changed
1 parent 3eab471 commit c2042b1

File tree

3 files changed

+38
-1
lines changed

3 files changed

+38
-1
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/**
2+
* Alternative footer for Topcoder sub-communities. It is just a gray stripe,
3+
* where dark gray TC logo and (c) msg are rendered.
4+
*/
5+
6+
import React from 'react';
7+
8+
import TopcoderLogoGray from '../../../../assets/images/tc-communities/logo_topcoder_gray.svg';
9+
import './style.scss';
10+
11+
export default function Footer2() {
12+
return (
13+
<div styleName="footer">
14+
<div styleName="content">
15+
<TopcoderLogoGray />
16+
<span styleName="copyright">&copy; Topcoder, 2017</span>
17+
</div>
18+
</div>
19+
);
20+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
.content {
2+
text-align: center;
3+
}
4+
5+
.copyright {
6+
bottom: 6px;
7+
color: #787d81;
8+
display: inline-block;
9+
font: 12px 'Open Sans';
10+
left: 24px;
11+
position: relative;
12+
}
13+
14+
.footer {
15+
background: #fafafb;
16+
padding: 24px 24px 18px;
17+
}

src/shared/routes/Communities/Blockchain/Routes.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import ChallengeListingRegisterToSee from
1010
'components/tc-communities/communities/blockchain/ChallengeListing/RegisterToSee';
1111

1212
import Error404 from 'components/Error404';
13-
import Footer from 'containers/tc-communities/Footer';
13+
import Footer from 'components/tc-communities/Footer2';
1414
import Header from 'containers/tc-communities/Header';
1515
import Home from 'components/tc-communities/communities/blockchain/Home';
1616
import Learn from 'components/tc-communities/communities/blockchain/Learn';

0 commit comments

Comments
 (0)