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:
@ -1,6 +1,6 @@
|
|||||||
import React, { Fragment } from 'react';
|
import React, { Fragment } from 'react';
|
||||||
import PropTypes from 'prop-types';
|
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 Helmet from 'react-helmet';
|
||||||
import { Link } from 'gatsby';
|
import { Link } from 'gatsby';
|
||||||
|
|
||||||
@ -68,12 +68,10 @@ function renderIsLocked(username) {
|
|||||||
</h2>
|
</h2>
|
||||||
</FullWidthRow>
|
</FullWidthRow>
|
||||||
<FullWidthRow>
|
<FullWidthRow>
|
||||||
<Alert bsStyle='info'>
|
<p className='alert alert-info'>
|
||||||
<p>
|
{username} needs to change their privacy setting in order for you to
|
||||||
{username} needs to change their privacy setting in order for you
|
view their profile
|
||||||
to view their profile
|
|
||||||
</p>
|
</p>
|
||||||
</Alert>
|
|
||||||
</FullWidthRow>
|
</FullWidthRow>
|
||||||
<FullWidthRow>
|
<FullWidthRow>
|
||||||
<TakeMeToTheChallenges />
|
<TakeMeToTheChallenges />
|
||||||
|
Reference in New Issue
Block a user