File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed
Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 3131.info > a {
3232 color : # 71b6f6 ;
3333}
34+ .info .contributor {
35+ color : # 71b6f6 ;
36+ text-decoration : underline;
37+ cursor : pointer;
38+ }
3439
3540.copyright > p {
3641 color : # a3a9a4 ;
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import './Footer.css'
33import WWCodeFrontEnd from '../../assets/images/WWCode-Logo.png'
4+ import { useHistory } from 'react-router-dom' ;
45
56
67export default function Footer ( ) {
8+ const history = useHistory ( ) ;
9+
710 return (
811 < div className = "footer" >
912 < div className = "footer-items" >
@@ -42,6 +45,9 @@ export default function Footer(){
4245 < a href = "https://www.womenwhocode.com/frontend"
4346 target = "_blank"
4447 rel = "noopener noreferrer" > https://www.womenwhocode.com/frontend</ a >
48+
49+ < p className = "contributor" onClick = { ( ) => history . push ( '/contributor' ) } > contributors
50+ </ p >
4551 </ div >
4652 </ div >
4753
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ import SingleResource from "./SingleResource/SingleResource";
88import Contact from "./ContactUs/Contact" ;
99import About from "./About/About" ;
1010import TableView from "./Resources/TableView" ;
11- import Bubblechart from "./Resources/Bubblechart" ;
1211import GitApi from "./Api/GitApi" ;
1312
1413
@@ -24,8 +23,7 @@ const Router = () => (
2423 < Route exact path = "/contact" component = { Contact } />
2524 < Route exact path = "/about" component = { About } />
2625 < 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 } />
2927
3028 </ Switch >
3129 < Footer />
You can’t perform that action at this time.
0 commit comments