Refactor Footer and update copyright year

This commit is contained in:
Felix Hamme 2019-05-11 17:51:44 +02:00
parent 7b5e18cc9e
commit fb4b380407
1 changed files with 18 additions and 7 deletions

View File

@ -1,19 +1,30 @@
export function Footer() {
return (
<footer className="footer mt-5 bg-dark text-light">
<div className="container py-3">
<div className="row">
<div className="col-md-6 text-center">
&copy; 2018 turnie.re &middot;
<a className="text-white" href="/privacy"> Datenschutzerklärung </a>
&middot;
<a className="text-white" href="/imprint"> Impressum</a>
<Copyright/> &middot; <Privacy/> &middot; <Imprint/>
</div>
<div className="col-md-6 text-center"><a href="#" className="text-white">zurück nach oben</a></div>
<div className="col-md-6 text-center"><MoveToTop/></div>
</div>
</div>
</footer>
);
}
function Copyright() {
return <span>&copy; 2019 turnie.re</span>;
}
function Privacy() {
return <a className="text-white" href="/privacy">Datenschutzerklärung</a>;
}
function Imprint() {
return <a className="text-white" href="/imprint">Impressum</a>;
}
function MoveToTop() {
return <a href="#" className="text-white">zurück nach oben</a>;
}