Challenge SidePanel tweaking (#162)

This commit is contained in:
Stuart Taylor
2018-06-07 23:11:28 +01:00
committed by Mrugesh Mohapatra
parent 8635f8bdee
commit cc6067f065
3 changed files with 3 additions and 5 deletions

View File

@ -209,7 +209,7 @@ class ShowClassic extends PureComponent {
const showPreview = const showPreview =
challengeType === challengeTypes.html || challengeType === challengeTypes.html ||
challengeType === challengeTypes.modern; challengeType === challengeTypes.modern;
const blockNameTitle = `${blockName} - ${title}`; const blockNameTitle = `${blockName}: ${title}`;
return ( return (
<Fragment> <Fragment>
<Helmet title={`${blockNameTitle} | Learn freeCodeCamp`} /> <Helmet title={`${blockNameTitle} | Learn freeCodeCamp`} />

View File

@ -15,11 +15,10 @@ function ChallengeTitle({ children, isCompleted }) {
); );
} }
return ( return (
<h4 className='text-center challenge-title'> <h2 className='text-center challenge-title'>
{children || 'Happy Coding!'} {children || 'Happy Coding!'}
{icon} {icon}
<hr /> </h2>
</h4>
); );
} }

View File

@ -68,7 +68,6 @@ export class SidePanel extends PureComponent {
<ChallengeTitle>{title}</ChallengeTitle> <ChallengeTitle>{title}</ChallengeTitle>
<ChallengeDescription description={description} /> <ChallengeDescription description={description} />
</div> </div>
<hr />
<ToolPanel guideUrl={guideUrl} /> <ToolPanel guideUrl={guideUrl} />
<TestSuite tests={tests} /> <TestSuite tests={tests} />
</div> </div>