fix: separate certs from interview prep on landing page (#37462)

This commit is contained in:
Tom
2019-10-22 13:50:56 -05:00
committed by mrugesh
parent 8469975e52
commit 3fb5a2c361

View File

@ -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 />