Challenge SidePanel tweaking (#162)
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
8635f8bdee
commit
cc6067f065
@ -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`} />
|
||||||
|
@ -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>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
Reference in New Issue
Block a user