mirror of
https://github.com/franjsco/tick3t
synced 2025-06-05 22:19:18 +02:00
feat: add footer
This commit is contained in:
@@ -7,12 +7,18 @@ import 'bootstrap/dist/css/bootstrap.min.css';
|
|||||||
|
|
||||||
import Routes from './Routes';
|
import Routes from './Routes';
|
||||||
import NavBar from './components/NavBar';
|
import NavBar from './components/NavBar';
|
||||||
|
import Footer from './components/Footer';
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
return (
|
return (
|
||||||
<div className="app">
|
<div className="app">
|
||||||
<Routes>
|
<Routes>
|
||||||
<NavBar />
|
<NavBar />
|
||||||
|
|
||||||
|
<Container>
|
||||||
|
<Footer />
|
||||||
|
</Container>
|
||||||
|
|
||||||
</Routes>
|
</Routes>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
32
src/components/Footer.js
Normal file
32
src/components/Footer.js
Normal 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;
|
Reference in New Issue
Block a user