fix(client): add missing bootstrap container (#37905)

This commit is contained in:
Oliver Eyton-Williams
2019-12-10 13:08:16 +01:00
committed by mrugesh
parent 3f075f91d8
commit 6a91f7c5b2

View File

@ -2,7 +2,7 @@ import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { Link, graphql } from 'gatsby'; import { Link, graphql } from 'gatsby';
import Helmet from 'react-helmet'; import Helmet from 'react-helmet';
import { ListGroup, ListGroupItem } from '@freecodecamp/react-bootstrap'; import { Grid, ListGroup, ListGroupItem } from '@freecodecamp/react-bootstrap';
import LearnLayout from '../../components/layouts/Learn'; import LearnLayout from '../../components/layouts/Learn';
import FullWidthRow from '../../components/helpers/FullWidthRow'; import FullWidthRow from '../../components/helpers/FullWidthRow';
@ -42,7 +42,7 @@ function IntroductionPage({ data: { markdownRemark, allChallengeNode } }) {
<Helmet> <Helmet>
<title>{block} | freeCodeCamp.org</title> <title>{block} | freeCodeCamp.org</title>
</Helmet> </Helmet>
<div className='intro-layout-container'> <Grid className='intro-layout-container'>
<FullWidthRow> <FullWidthRow>
<div <div
className='intro-layout' className='intro-layout'
@ -69,7 +69,7 @@ function IntroductionPage({ data: { markdownRemark, allChallengeNode } }) {
{allChallengeNode ? renderMenuItems(allChallengeNode) : null} {allChallengeNode ? renderMenuItems(allChallengeNode) : null}
</ListGroup> </ListGroup>
</FullWidthRow> </FullWidthRow>
</div> </Grid>
</LearnLayout> </LearnLayout>
); );
} }