fix(profile): update private profile view (#35350)

This commit is contained in:
mrugesh mohapatra
2019-02-22 18:25:59 +05:30
committed by Ahmad Abdolsaheb
parent a2536c864f
commit 86cf0cff91
2 changed files with 4 additions and 4 deletions

View File

@@ -5,3 +5,4 @@ export { default as Loader } from './Loader';
export { default as SkeletonSprite } from './SkeletonSprite';
export { default as Spacer } from './Spacer';
export { default as Link } from './Link';
export { default as CurrentChallengeLink } from './CurrentChallengeLink';

View File

@@ -4,9 +4,7 @@ import { Alert, Button, Grid, Row, Col } from '@freecodecamp/react-bootstrap';
import Helmet from 'react-helmet';
import { Link } from 'gatsby';
import CurrentChallengeLink from '../helpers/CurrentChallengeLink';
import FullWidthRow from '../helpers/FullWidthRow';
import Spacer from '../helpers/Spacer';
import { CurrentChallengeLink, FullWidthRow, Spacer } from '../helpers';
import Camper from './components/Camper';
import HeatMap from './components/HeatMap';
import Certifications from './components/Certifications';
@@ -34,7 +32,7 @@ const propTypes = {
function TakeMeToTheChallenges() {
return (
<CurrentChallengeLink>
<Button block={true} bsSize='lg' bsStyle='primary'>
<Button block={true} bsSize='lg' bsStyle='primary' className='btn-invert'>
Take me to the Challenges
</Button>
</CurrentChallengeLink>
@@ -64,6 +62,7 @@ function renderIsLocked(username) {
</FullWidthRow>
<FullWidthRow>
<TakeMeToTheChallenges />
<Spacer />
</FullWidthRow>
</Grid>
</Fragment>