File tree 3 files changed +12
-3
lines changed
3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 31
31
.info > a {
32
32
color : # 71b6f6 ;
33
33
}
34
+ .info .contributor {
35
+ color : # 71b6f6 ;
36
+ text-decoration : underline;
37
+ cursor : pointer;
38
+ }
34
39
35
40
.copyright > p {
36
41
color : # a3a9a4 ;
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import './Footer.css'
3
3
import WWCodeFrontEnd from '../../assets/images/WWCode-Logo.png'
4
+ import { useHistory } from 'react-router-dom' ;
4
5
5
6
6
7
export default function Footer ( ) {
8
+ const history = useHistory ( ) ;
9
+
7
10
return (
8
11
< div className = "footer" >
9
12
< div className = "footer-items" >
@@ -42,6 +45,9 @@ export default function Footer(){
42
45
< a href = "https://www.womenwhocode.com/frontend"
43
46
target = "_blank"
44
47
rel = "noopener noreferrer" > https://www.womenwhocode.com/frontend</ a >
48
+
49
+ < p className = "contributor" onClick = { ( ) => history . push ( '/contributor' ) } > contributors
50
+ </ p >
45
51
</ div >
46
52
</ div >
47
53
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ import SingleResource from "./SingleResource/SingleResource";
8
8
import Contact from "./ContactUs/Contact" ;
9
9
import About from "./About/About" ;
10
10
import TableView from "./Resources/TableView" ;
11
- import Bubblechart from "./Resources/Bubblechart" ;
12
11
import GitApi from "./Api/GitApi" ;
13
12
14
13
@@ -24,8 +23,7 @@ const Router = () => (
24
23
< Route exact path = "/contact" component = { Contact } />
25
24
< Route exact path = "/about" component = { About } />
26
25
< Route exact path = "/TableView" component = { TableView } />
27
- < Route exact path = "/bubblechart" component = { Bubblechart } />
28
- < Route exact path = "/gitapi" component = { GitApi } />
26
+ < Route exact path = "/contributor" component = { GitApi } />
29
27
30
28
</ Switch >
31
29
< Footer />
You can’t perform that action at this time.
0 commit comments