mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
add noopener noreferrer to fix lint errors
This commit is contained in:
parent
f180d4f395
commit
87c1bc5858
4 changed files with 5 additions and 0 deletions
|
@ -31,6 +31,7 @@ const InstallScratchLink = ({
|
|||
'https://www.microsoft.com/store/productId/9N48XLLCZH0X' :
|
||||
'https://itunes.apple.com/us/app/scratch-link/id1408863490'
|
||||
}
|
||||
rel="noopener noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
<img
|
||||
|
|
|
@ -5,6 +5,7 @@ const ProjectCard = props => (
|
|||
<a
|
||||
className="project-card"
|
||||
href={props.cardUrl}
|
||||
rel="noopener noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
<div className="project-card-image">
|
||||
|
|
|
@ -56,6 +56,7 @@ const TTTModal = props => (
|
|||
<div className="ttt-item">
|
||||
<a
|
||||
href={props.cardsUrl}
|
||||
rel="noopener noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
<FormattedMessage id="ideas.downloadPDF" />
|
||||
|
@ -72,6 +73,7 @@ const TTTModal = props => (
|
|||
<div className="ttt-item">
|
||||
<a
|
||||
href={props.guideUrl}
|
||||
rel="noopener noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
<FormattedMessage id="ideas.downloadPDF" />
|
||||
|
|
|
@ -158,6 +158,7 @@ class Ideas extends React.Component {
|
|||
href={this.props.intl.formatMessage({
|
||||
id: 'cards.scratch-cards-allLink'
|
||||
})}
|
||||
rel="noopener noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
<Button className="ideas-button">
|
||||
|
|
Loading…
Reference in a new issue