You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mvfront-react/src/components/layouts/Footer.jsx

26 lines
710 B

4 years ago
import React, { Component } from "react";
4 years ago
import {withTranslation} from 'react-i18next';
4 years ago
import { Link } from "react-router-dom";
class Footer extends Component {
4 years ago
constructor(props) {
super(props);
this.state = {};
}
4 years ago
render() {
4 years ago
const {t} = this.props;
4 years ago
return (
<footer className="text-center">
4 years ago
<Link to="/">{t("Homepage")}</Link>
4 years ago
<span className="m-2">-</span>
4 years ago
<a href="https://github.com/MieuxVoter">{t("Source code")}</a>
4 years ago
<span className="m-2">-</span>
4 years ago
<a href="https://mieuxvoter.fr/">{t("Who are we")}</a>
<div className="mt-2">{t("BetterVote")} &copy;</div>
4 years ago
</footer>
);
}
}
4 years ago
export default withTranslation()(Footer);