Skip to content

Commit 38e6e57

Browse files
joealcornmontogeek
authored andcommitted
fix(site): Add rel="noopener nofollow" for links to sponsor websites (#2688)
* improvement: Add rel="noopener" for links to sponsor websites. (https://mathiasbynens.github.io/rel-noopener/) * improvement: add rel="nofollow" for links to sponsor websites, in order to discourage spam
1 parent 0e055d5 commit 38e6e57

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/Support/Support.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ export default class Support extends React.Component {
122122
className="support__item"
123123
title={ `$${formatMoney(supporter.totalDonations / 100)} by ${supporter.name || supporter.slug}` }
124124
target="_blank"
125+
rel="noopener nofollow"
125126
href={ supporter.website || `https://opencollective.com/${supporter.slug}` }>
126127
{<img
127128
className={ `support__${rank}-avatar` }

0 commit comments

Comments
 (0)