fix: separate certs from interview prep on landing page (#37462)
This commit is contained in:
@ -24,6 +24,7 @@ const BigCallToAction = () => (
|
|||||||
|
|
||||||
export const Landing = ({ edges }) => {
|
export const Landing = ({ edges }) => {
|
||||||
const superBlocks = uniq(edges.map(element => element.node.superBlock));
|
const superBlocks = uniq(edges.map(element => element.node.superBlock));
|
||||||
|
const interviewPrep = superBlocks.splice(6, 1);
|
||||||
return (
|
return (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<Helmet>
|
<Helmet>
|
||||||
@ -69,6 +70,15 @@ export const Landing = ({ edges }) => {
|
|||||||
</li>
|
</li>
|
||||||
))}
|
))}
|
||||||
</ul>
|
</ul>
|
||||||
|
<Spacer />
|
||||||
|
<h2 className='medium-heading'>Additional Learning:</h2>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<Link state={{ superBlock: interviewPrep }} to={`/learn`}>
|
||||||
|
<h2 className='medium-heading'>{interviewPrep}</h2>
|
||||||
|
</Link>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
<Spacer />
|
<Spacer />
|
||||||
|
Reference in New Issue
Block a user