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

34 lines
977 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";
import Paypal from "../banner/Paypal";
4 years ago
class Footer extends Component {
4 years ago
constructor(props) {
super(props);
this.state = {
};
4 years ago
}
4 years ago
render() {
const linkStyle = {whiteSpace: "nowrap"};
4 years ago
const {t} = this.props;
4 years ago
return (
<footer className="text-center">
<Link to="/" style={linkStyle}>{t("Homepage")}</Link>
4 years ago
<span className="m-2">-</span>
<a href="https://github.com/MieuxVoter" target="_blank" rel="noopener noreferrer" style={linkStyle}>{t("Source code")}</a>
4 years ago
<span className="m-2">-</span>
<a href="https://mieuxvoter.fr/" target="_blank" rel="noopener noreferrer" style={linkStyle} >{t("Who are we?")}</a>
<div className="mt-3">
<Paypal btnColor="btn-primary"/>
</div>
4 years ago
</footer>
);
}
}
4 years ago
export default withTranslation()(Footer);