refactor: Footer component

This commit is contained in:
Francesco Esposito 2019-07-31 15:54:37 +02:00
parent a7ce3013ab
commit 6df8d5e086
1 changed files with 12 additions and 20 deletions

View File

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