Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Commit

Permalink
Add rel="nofollow"
Browse files Browse the repository at this point in the history
  • Loading branch information
mxstbr committed Aug 31, 2017
1 parent 0830fc6 commit 208b984
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/navbar/components/profileDropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const ProfileDropdown = props => {
<UserProfileDropdown className={'dropdown'}>
<UserProfileDropdownList>
{props.user.username && (
<Link to={`/users/${props.user.username}/settings`}>
<Link rel="nofollow" to={`/users/${props.user.username}/settings`}>
<UserProfileDropdownListItem>
My Settings
</UserProfileDropdownListItem>
Expand Down
4 changes: 4 additions & 0 deletions src/views/navbar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ class Navbar extends Component {
<IconLink
data-active={history.location.pathname.includes('/messages')}
to="/messages"
rel="nofollow"
onClick={this.markDmNotificationsAsSeen}
>
<Icon
Expand All @@ -392,6 +393,7 @@ class Navbar extends Component {
<IconLink
data-active={history.location.pathname === '/notifications'}
to="/notifications"
rel="nofollow"
>
<Icon
glyph={
Expand Down Expand Up @@ -439,6 +441,7 @@ class Navbar extends Component {
<IconLink
data-active={history.location.pathname.includes('/messages')}
to="/messages"
rel="nofollow"
onClick={this.markDmNotificationsAsSeen}
>
<Icon
Expand All @@ -451,6 +454,7 @@ class Navbar extends Component {
<IconLink
data-active={history.location.pathname === '/notifications'}
to="/notifications"
rel="nofollow"
onClick={this.markAllNotificationsSeen}
>
<Icon
Expand Down

0 comments on commit 208b984

Please sign in to comment.