Skip to content

Commit 2a74ef6

Browse files
Make footer links open in new tab
1 parent a4fe5e4 commit 2a74ef6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/components/Footer.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,24 @@ class Footer extends Component {
1010
<footer className={classes.footer}>
1111
<a
1212
href="https://github.com/PrinceSumberia/covid-19-tracker"
13+
target="_blank"
14+
rel="noopener noreferrer"
1315
className={classNames(classes.btn, classes.github)}
1416
>
1517
Contribute on Github
1618
</a>
1719
<a
1820
href="https://twitter.com/intent/tweet?text=Get the latest Covid-19 updates with Covid-19 India Tracker!&url=https://covidindiatracker.netlify.app/"
21+
target="_blank"
22+
rel="noopener noreferrer"
1923
className={classNames(classes.btn, classes.twitter)}
2024
>
2125
Share on Twitter
2226
</a>
2327
<a
2428
href="https://github.com/PrinceSumberia/covid-19-tracker/issues/new"
29+
target="_blank"
30+
rel="noopener noreferrer"
2531
className={classNames(classes.btn, classes.issue)}
2632
>
2733
Report an Issue

0 commit comments

Comments
 (0)