Skip to content

Commit 8325d22

Browse files
Add links to footer
1 parent c7ab583 commit 8325d22

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

src/components/Footer.js

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,24 @@ class Footer extends Component {
88
const { classes } = this.props;
99
return (
1010
<footer className={classes.footer}>
11-
<button className={classNames(classes.btn, classes.github)}>
11+
<a
12+
href="https://github.com/PrinceSumberia/covid-19-tracker"
13+
className={classNames(classes.btn, classes.github)}
14+
>
1215
Contribute on Github
13-
</button>
14-
<button className={classNames(classes.btn, classes.twitter)}>
16+
</a>
17+
<a
18+
href="https://twitter.com/intent/tweet?text=Get the latest Covid-19 updates with Covid-19 India Tracker!&url=https://covidindiatracker.netlify.app/"
19+
className={classNames(classes.btn, classes.twitter)}
20+
>
1521
Share on Twitter
16-
</button>
17-
<button className={classNames(classes.btn, classes.issue)}>
22+
</a>
23+
<a
24+
href="https://github.com/PrinceSumberia/covid-19-tracker/issues/new"
25+
className={classNames(classes.btn, classes.issue)}
26+
>
1827
Report an Issue
19-
</button>
28+
</a>
2029
</footer>
2130
);
2231
}

src/styles/FooterStyles.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export default {
1515
transition: "all .3s",
1616
transform: "translateY(-.5rem)",
1717
boxShadow: "0 .5rem 2rem rgba(0,0,0,.5)",
18+
textDecoration: "none",
1819

1920
"&:hover": {
2021
transform: "translateY(0)",

0 commit comments

Comments
 (0)