feat(client): Remove outbound link icon
This commit is contained in:
committed by
mrugesh mohapatra
parent
6ef8173f1b
commit
c36ee82443
@ -1,8 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { Link as GatsbyLink } from 'gatsby';
|
import { Link as GatsbyLink } from 'gatsby';
|
||||||
import { Grid, Row, Col } from '@freecodecamp/react-bootstrap';
|
import { Grid, Row, Col } from '@freecodecamp/react-bootstrap';
|
||||||
import FontAwesomeIcon from '@fortawesome/react-fontawesome';
|
|
||||||
import { faExternalLinkAlt } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
|
|
||||||
import './footer.css';
|
import './footer.css';
|
||||||
|
|
||||||
@ -24,11 +22,6 @@ const Link = ({ children, to, external, ...other }) => {
|
|||||||
return (
|
return (
|
||||||
<a href={to} {...other} rel='noopener noreferrer' target='_blank'>
|
<a href={to} {...other} rel='noopener noreferrer' target='_blank'>
|
||||||
{children}
|
{children}
|
||||||
<FontAwesomeIcon
|
|
||||||
className='external-link-icon'
|
|
||||||
icon={faExternalLinkAlt}
|
|
||||||
size='xs'
|
|
||||||
/>
|
|
||||||
</a>
|
</a>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user