mirror of https://github.com/franjsco/tick3t
feat: add footer
This commit is contained in:
parent
eec2b646cf
commit
c948bd329c
|
@ -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>
|
||||
);
|
||||
|
|
|
@ -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;
|
Loading…
Reference in New Issue