@@ -18,7 +18,7 @@ class SingleChallenge extends Component {
18
18
< div >
19
19
< TintedHeader title = { challenge . title } subtitle = { challenge . body . short_description } />
20
20
< section className = "container" >
21
- < div className = "content challenge" >
21
+ < div style = { { maxWidth : '800px' , width : '92%' , marginLeft : 'auto' , marginRight : 'auto' , marginTop : '60px' , marginBottom : '120px' } } >
22
22
< div className = "ticket-data row pricing" >
23
23
< div className = "col-sm-6 plan" >
24
24
< ul className = "features" >
@@ -36,8 +36,9 @@ class SingleChallenge extends Component {
36
36
< strong > Type:</ strong > { challenge . head . challenge_type }
37
37
</ li >
38
38
< li >
39
- < i className = "icon-user" />
40
- < strong > Asigned to:</ strong > Me
39
+ < i className = "icon-tags" />
40
+ < strong > Tags: </ strong >
41
+ < Tags tags = { challenge . tags } />
41
42
</ li >
42
43
</ ul >
43
44
</ div >
@@ -62,13 +63,6 @@ class SingleChallenge extends Component {
62
63
</ ul >
63
64
</ div >
64
65
</ div >
65
- < div className = "row tags" >
66
- < p >
67
- < i className = "icon-tags" />
68
- < strong > Tags:</ strong >
69
- < Tags tags = { challenge . tags } />
70
- </ p >
71
- </ div >
72
66
< a className = "anchor" id = "description" />
73
67
< div className = "grey-box" >
74
68
< h2 > Description</ h2 >
@@ -97,6 +91,16 @@ class SingleChallenge extends Component {
97
91
Submit Answer < i className = "icon icon-right-1" />
98
92
</ Link >
99
93
</ div >
94
+ < h2 > Extra Points</ h2 >
95
+ < div className = "extra-points" >
96
+ < a className = "anchor" id = "extra-points" />
97
+ { challenge . body . extra_points &&
98
+ < ReactMarkdown source = { challenge . body . extra_points } />
99
+ }
100
+ { ! challenge . body . extra_points &&
101
+ < p > The requirements are complete as is.</ p >
102
+ }
103
+ </ div >
100
104
< a className = "anchor" id = "technical" />
101
105
< h2 > Technical Notes</ h2 >
102
106
< div className = "technical-notes" >
@@ -108,7 +112,7 @@ class SingleChallenge extends Component {
108
112
< div className = "source" >
109
113
{ challenge . source . map ( ( s , key ) => (
110
114
< p key = { key } >
111
- < strong > { s . name } </ strong >
115
+ < strong > { s . name } : </ strong >
112
116
< a href = { s . url } > { s . url } </ a >
113
117
</ p >
114
118
) ) }
0 commit comments