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

Commit 208b984

Browse files
committed
Add rel="nofollow"
1 parent 0830fc6 commit 208b984

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/views/navbar/components/profileDropdown.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const ProfileDropdown = props => {
4343
<UserProfileDropdown className={'dropdown'}>
4444
<UserProfileDropdownList>
4545
{props.user.username && (
46-
<Link to={`/users/${props.user.username}/settings`}>
46+
<Link rel="nofollow" to={`/users/${props.user.username}/settings`}>
4747
<UserProfileDropdownListItem>
4848
My Settings
4949
</UserProfileDropdownListItem>

src/views/navbar/index.js

+4
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,7 @@ class Navbar extends Component {
366366
<IconLink
367367
data-active={history.location.pathname.includes('/messages')}
368368
to="/messages"
369+
rel="nofollow"
369370
onClick={this.markDmNotificationsAsSeen}
370371
>
371372
<Icon
@@ -392,6 +393,7 @@ class Navbar extends Component {
392393
<IconLink
393394
data-active={history.location.pathname === '/notifications'}
394395
to="/notifications"
396+
rel="nofollow"
395397
>
396398
<Icon
397399
glyph={
@@ -439,6 +441,7 @@ class Navbar extends Component {
439441
<IconLink
440442
data-active={history.location.pathname.includes('/messages')}
441443
to="/messages"
444+
rel="nofollow"
442445
onClick={this.markDmNotificationsAsSeen}
443446
>
444447
<Icon
@@ -451,6 +454,7 @@ class Navbar extends Component {
451454
<IconLink
452455
data-active={history.location.pathname === '/notifications'}
453456
to="/notifications"
457+
rel="nofollow"
454458
onClick={this.markAllNotificationsSeen}
455459
>
456460
<Icon

0 commit comments

Comments
 (0)