Skip to content

Commit eb42378

Browse files
committed
Misc updates for Blockchain community
1 parent 17db876 commit eb42378

File tree

8 files changed

+44
-9
lines changed

8 files changed

+44
-9
lines changed
Binary file not shown.
Loading

src/server/tc-communities/blockchain/metadata.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@
2424
}, {
2525
"title": "Learn",
2626
"url": "learn"
27-
}, {
28-
"title": "Challenges",
29-
"url": "challenges"
3027
}
3128
],
3229
"leaderboardApiUrl": "https://api.topcoder.com/v4/looks/458/run/json/",

src/shared/components/tc-communities/Banner/style.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
position: relative;
1212

1313
@include xxs-to-xs {
14+
align-items: flex-end;
1415
height: 600px;
1516
}
1617
}

src/shared/components/tc-communities/ResourceCard/style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
display: inline-block;
5656
border: 1px solid #0092ff;
5757
border-radius: 20px;
58-
font: 700 14px/40px 'OpenSans';
58+
font: 700 14px/40px 'Open Sans';
5959
height: 40px;
6060
text-align: center;
6161
text-transform: uppercase;

src/shared/components/tc-communities/communities/blockchain/Home/index.jsx

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import ResourceCard from 'components/tc-communities/ResourceCard';
1414
import NewsSection from 'components/tc-communities/NewsSection';
1515
import PT from 'prop-types';
1616

17-
import CommunityStats from 'containers/tc-communities/CommunityStats';
1817
import JoinCommunity from 'containers/tc-communities/JoinCommunity';
1918

2019
import IconRocket from '../../../../../../assets/images/tc-communities/rocket.svg';
@@ -36,8 +35,16 @@ export default function Home(props) {
3635
label="Join Now"
3736
/>
3837
</Banner>
39-
40-
<CommunityStats />
38+
<Section
39+
theme={{
40+
container: style.introContainer,
41+
}}
42+
>
43+
<div>
44+
<h1>Build unstoppable applications with Ethereum</h1>
45+
<p>Ethereum is a decentralized platform that runs smart contracts: applications that run exactly as programmed without any possibility of downtime, censorship, fraud or third party interference. orem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitationorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.</p>
46+
</div>
47+
</Section>
4148

4249
<Section
4350
theme={{
@@ -52,7 +59,7 @@ export default function Home(props) {
5259
title: 'Start Learning',
5360
url: 'learn',
5461
}}
55-
imageSrc="/themes/blockchain/home/image-text-learn.jpg"
62+
imageSrc="/themes/blockchain/home/image-text-learn.png"
5663
/>
5764
<ImageText
5865
title="Get Involved"

src/shared/components/tc-communities/communities/blockchain/Home/style.scss

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import '~styles/tc-styles';
1+
@import '~styles/mixins';
22

33
.statsContainer {
44
padding: 0;
@@ -60,3 +60,28 @@
6060
top: -7px;
6161
}
6262
}
63+
64+
.introContainer {
65+
background: $tc-gray-neutral-light;
66+
color: #394146;
67+
padding-bottom: 48px;
68+
margin-bottom: 24px;
69+
70+
@include xxs-to-xs {
71+
padding-left: 24px;
72+
padding-right: 24px;
73+
}
74+
75+
h1 {
76+
@include roboto;
77+
78+
font-size: 36px;
79+
margin-bottom: 12px;
80+
}
81+
82+
p {
83+
color: #394146;
84+
font: 15px/22px 'roboto';
85+
}
86+
}
87+

src/shared/reducers/tc-communities/meta.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ export function factory(req) {
6969
return toFSA(actions.tcCommunities.meta.fetchDataDone('wipro'))
7070
.then(res => create(onDone(state, res)));
7171
}
72+
if (subdomains.indexOf('blockchain') >= 0) {
73+
const state = { loadingMetaDataForCommunityId: 'blockchain' };
74+
return toFSA(actions.tcCommunities.meta.fetchDataDone('blockchain'))
75+
.then(res => create(onDone(state, res)));
76+
}
7277

7378
if (req && req.url.startsWith('/community')) {
7479
const communityId = req.url.split('/')[2];

0 commit comments

Comments
 (0)