fix(style): remove underlines on button text (#36662)

* fix/remove-link-underlines

* fix(style): remove-underlines-from-buttons

* fix: change class to className

* style/change-class-to-btn-cta
This commit is contained in:
Tom
2019-08-27 12:30:35 -05:00
committed by mrugesh
parent 920209cb23
commit f03a731c36
5 changed files with 21 additions and 43 deletions

View File

@@ -1,6 +1,6 @@
import React, { Fragment } from 'react';
import PropTypes from 'prop-types';
import { Alert, Button, Grid, Row, Col } from '@freecodecamp/react-bootstrap';
import { Alert, Grid, Row, Col } from '@freecodecamp/react-bootstrap';
import Helmet from 'react-helmet';
import { Link } from 'gatsby';
@@ -51,13 +51,7 @@ const propTypes = {
};
function TakeMeToTheChallenges() {
return (
<CurrentChallengeLink>
<Button block={true} bsSize='lg' bsStyle='primary' className='btn-invert'>
Take me to the Challenges
</Button>
</CurrentChallengeLink>
);
return <CurrentChallengeLink>Take me to the Challenges</CurrentChallengeLink>;
}
function renderIsLocked(username) {
@@ -95,15 +89,8 @@ function renderSettingsButton() {
<Fragment>
<Row>
<Col sm={4} smOffset={4}>
<Link to='/settings'>
<Button
block={true}
bsSize='lg'
bsStyle='primary'
className='btn-invert'
>
Update my settings
</Button>
<Link className='btn btn-lg btn-primary btn-block' to='/settings'>
Update my settings
</Link>
</Col>
</Row>