Feature(challenges): Add hint system to challenges

This commit is contained in:
Berkeley Martinez
2016-06-14 18:47:43 -07:00
parent 4b1d191fd5
commit ccc5c3ec24
10 changed files with 105 additions and 30 deletions

View File

@@ -66,7 +66,8 @@ export class Challenge extends PureComponent {
return (
<Col
lg={ 3 }
md={ 4 }>
md={ 4 }
>
<Preview />
</Col>
);
@@ -85,12 +86,14 @@ export class Challenge extends PureComponent {
<div>
<Col
lg={ 3 }
md={ showPreview ? 3 : 4 }>
md={ showPreview ? 3 : 4 }
>
<SidePanel />
</Col>
<Col
lg={ showPreview ? 6 : 9 }
md={ showPreview ? 5 : 8 }>
md={ showPreview ? 5 : 8 }
>
<Editor
content={ content }
executeChallenge={ executeChallenge }