fix(style): info message on a private profile + night mode (#36697)

* fix(style): private-profile-alert-message
* fix: remove-alert-component
This commit is contained in:
Tom
2019-08-27 13:30:51 -05:00
committed by mrugesh
parent 3a02183415
commit 8b43105d75

View File

@ -1,6 +1,6 @@
import React, { Fragment } from 'react';
import PropTypes from 'prop-types';
import { Alert, Grid, Row, Col } from '@freecodecamp/react-bootstrap';
import { Grid, Row, Col } from '@freecodecamp/react-bootstrap';
import Helmet from 'react-helmet';
import { Link } from 'gatsby';
@ -68,12 +68,10 @@ function renderIsLocked(username) {
</h2>
</FullWidthRow>
<FullWidthRow>
<Alert bsStyle='info'>
<p>
{username} needs to change their privacy setting in order for you
to view their profile
</p>
</Alert>
<p className='alert alert-info'>
{username} needs to change their privacy setting in order for you to
view their profile
</p>
</FullWidthRow>
<FullWidthRow>
<TakeMeToTheChallenges />