Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

Added noreferrer to Banner links #531

Merged
merged 2 commits into from
May 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## [UNRELEASED]
* [#524] Added `noreferrer` to Banner links

## v0.41.x-14
* [#488] Updated missing proposer address in proposals.
* [#486] Fixed delegators voting power display on gov proposals
Expand Down
6 changes: 3 additions & 3 deletions imports/ui/components/Banners.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ export default class Banners extends React.Component {
return (
<Container fluid className="banner mb-3 text-center">
<Row>
<Col className="d-none d-xl-block"><a href={banner.url} target="_blank"><img src={banner.images.lg} /></a></Col>
<Col className="d-none d-md-block d-xl-none"><a href={banner.url} target="_blank"><img src={banner.images.md} /></a></Col>
<Col className="d-block d-md-none"><a href={banner.url} target="_blank"><img src={banner.images.xs} /></a></Col>
<Col className="d-none d-xl-block"><a href={banner.url} rel="noreferrer" target="_blank"><img src={banner.images.lg} /></a></Col>
<Col className="d-none d-md-block d-xl-none"><a href={banner.url} rel="noreferrer" target="_blank"><img src={banner.images.md} /></a></Col>
<Col className="d-block d-md-none"><a href={banner.url} rel="noreferrer" target="_blank"><img src={banner.images.xs} /></a></Col>
</Row>
</Container>
);
Expand Down