fix(profile): update private profile view (#35350)
This commit is contained in:
committed by
Ahmad Abdolsaheb
parent
a2536c864f
commit
86cf0cff91
@@ -5,3 +5,4 @@ export { default as Loader } from './Loader';
|
|||||||
export { default as SkeletonSprite } from './SkeletonSprite';
|
export { default as SkeletonSprite } from './SkeletonSprite';
|
||||||
export { default as Spacer } from './Spacer';
|
export { default as Spacer } from './Spacer';
|
||||||
export { default as Link } from './Link';
|
export { default as Link } from './Link';
|
||||||
|
export { default as CurrentChallengeLink } from './CurrentChallengeLink';
|
||||||
|
@@ -4,9 +4,7 @@ import { Alert, Button, Grid, Row, Col } from '@freecodecamp/react-bootstrap';
|
|||||||
import Helmet from 'react-helmet';
|
import Helmet from 'react-helmet';
|
||||||
import { Link } from 'gatsby';
|
import { Link } from 'gatsby';
|
||||||
|
|
||||||
import CurrentChallengeLink from '../helpers/CurrentChallengeLink';
|
import { CurrentChallengeLink, FullWidthRow, Spacer } from '../helpers';
|
||||||
import FullWidthRow from '../helpers/FullWidthRow';
|
|
||||||
import Spacer from '../helpers/Spacer';
|
|
||||||
import Camper from './components/Camper';
|
import Camper from './components/Camper';
|
||||||
import HeatMap from './components/HeatMap';
|
import HeatMap from './components/HeatMap';
|
||||||
import Certifications from './components/Certifications';
|
import Certifications from './components/Certifications';
|
||||||
@@ -34,7 +32,7 @@ const propTypes = {
|
|||||||
function TakeMeToTheChallenges() {
|
function TakeMeToTheChallenges() {
|
||||||
return (
|
return (
|
||||||
<CurrentChallengeLink>
|
<CurrentChallengeLink>
|
||||||
<Button block={true} bsSize='lg' bsStyle='primary'>
|
<Button block={true} bsSize='lg' bsStyle='primary' className='btn-invert'>
|
||||||
Take me to the Challenges
|
Take me to the Challenges
|
||||||
</Button>
|
</Button>
|
||||||
</CurrentChallengeLink>
|
</CurrentChallengeLink>
|
||||||
@@ -64,6 +62,7 @@ function renderIsLocked(username) {
|
|||||||
</FullWidthRow>
|
</FullWidthRow>
|
||||||
<FullWidthRow>
|
<FullWidthRow>
|
||||||
<TakeMeToTheChallenges />
|
<TakeMeToTheChallenges />
|
||||||
|
<Spacer />
|
||||||
</FullWidthRow>
|
</FullWidthRow>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Fragment>
|
</Fragment>
|
||||||
|
Reference in New Issue
Block a user