feat: add footer

This commit is contained in:
frab1t 2019-05-18 14:50:49 +02:00
parent eec2b646cf
commit c948bd329c
2 changed files with 38 additions and 0 deletions

View File

@ -7,12 +7,18 @@ import 'bootstrap/dist/css/bootstrap.min.css';
import Routes from './Routes';
import NavBar from './components/NavBar';
import Footer from './components/Footer';
function App() {
return (
<div className="app">
<Routes>
<NavBar />
<Container>
<Footer />
</Container>
</Routes>
</div>
);

32
src/components/Footer.js Normal file
View File

@ -0,0 +1,32 @@
import React, { Component } from 'react';
import {
Row,
Col
} from 'reactstrap';
const style = {
textAlign: 'center'
}
class Footer extends Component {
constructor(props) {
super(props);
this.state = {};
}
render() {
return (
<Row className="row-centred">
<Col>
<p className="text-center">
<a href="https://github.com/frab1t/tick3t">tick3t</a>{` `}
by <a href="https://twitter.com/frab1t">@frab1t</a> (Francesco Esposito)
</p>
</Col>
</Row>
);
}
}
export default Footer;