Add rel="noreferrer noopener" to <a> with target="_blank" (#531)

* Add rel="noreferrer noopener" to <a> with target="_blank"

* Run Prettier
This commit is contained in:
Yangshun Tay 2018-04-07 19:14:29 -07:00 committed by Joel Marcey
parent c2cd169b64
commit e19b9ac56e
5 changed files with 26 additions and 10 deletions

View file

@ -52,11 +52,15 @@ class Footer extends React.Component {
</a>
<a
href="http://stackoverflow.com/questions/tagged/"
target="_blank">
target="_blank"
rel="noreferrer noopener">
Stack Overflow
</a>
<a href="https://discordapp.com/">Project Chat</a>
<a href="https://twitter.com/" target="_blank">
<a
href="https://twitter.com/"
target="_blank"
rel="noreferrer noopener">
Twitter
</a>
</div>
@ -80,6 +84,7 @@ class Footer extends React.Component {
<a
href="https://code.facebook.com/projects/"
target="_blank"
rel="noreferrer noopener"
className="fbOpenSource">
<img
src={this.props.config.baseUrl + 'img/oss_logo.png'}