File tree Expand file tree Collapse file tree 3 files changed +37
-1
lines changed
src/shared/components/HallOfFamePage Expand file tree Collapse file tree 3 files changed +37
-1
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ workflows:
237
237
filters :
238
238
branches :
239
239
only :
240
- - free
240
+ - spirit-award
241
241
# This is alternate dev env for parallel testing
242
242
- " build-qa " :
243
243
context : org-global
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import React from 'react';
7
7
import PT from 'prop-types' ;
8
8
import ContentfulLoader from 'containers/ContentfulLoader' ;
9
9
import { PrimaryButton , Button } from 'topcoder-react-ui-kit' ;
10
+ import ContentBlock from 'components/Contentful/ContentBlock' ;
10
11
11
12
import Error404 from 'components/Error404' ;
12
13
@@ -239,6 +240,21 @@ const HallOfFamePage = ({ eventId, hallOfFame }) => {
239
240
</ div >
240
241
)
241
242
}
243
+ {
244
+ data . fields . spiritAwardWinners && (
245
+ < div styleName = "spirit-awards" >
246
+ < h3 > Spirit Award</ h3 >
247
+ < div styleName = "spirit-awards-wrap" >
248
+ {
249
+ _ . map (
250
+ data . fields . spiritAwardWinners ,
251
+ sA => < ContentBlock id = { sA . sys . id } /> ,
252
+ )
253
+ }
254
+ </ div >
255
+ </ div >
256
+ )
257
+ }
242
258
{
243
259
tripWinnersBoard . data . length > 0 && (
244
260
< div styleName = "trip-winners" >
Original file line number Diff line number Diff line change 372
372
background-color : #5cc900 ;
373
373
}
374
374
}
375
+
376
+ .spirit-awards {
377
+ margin-top : 50px ;
378
+ display : flex ;
379
+ flex-direction : column ;
380
+ align-items : center ;
381
+
382
+ h3 {
383
+ margin-bottom : 20px ;
384
+ }
385
+
386
+ .spirit-awards-wrap {
387
+ display : flex ;
388
+ justify-content : center ;
389
+
390
+ a {
391
+ font-size : 16px ;
392
+ }
393
+ }
394
+ }
You can’t perform that action at this time.
0 commit comments