Refactor Footer and update copyright year
This commit is contained in:
parent
7b5e18cc9e
commit
fb4b380407
|
|
@ -1,19 +1,30 @@
|
||||||
|
|
||||||
|
|
||||||
export function Footer() {
|
export function Footer() {
|
||||||
return (
|
return (
|
||||||
<footer className="footer mt-5 bg-dark text-light">
|
<footer className="footer mt-5 bg-dark text-light">
|
||||||
<div className="container py-3">
|
<div className="container py-3">
|
||||||
<div className="row">
|
<div className="row">
|
||||||
<div className="col-md-6 text-center">
|
<div className="col-md-6 text-center">
|
||||||
© 2018 turnie.re ·
|
<Copyright/> · <Privacy/> · <Imprint/>
|
||||||
<a className="text-white" href="/privacy"> Datenschutzerklärung </a>
|
|
||||||
·
|
|
||||||
<a className="text-white" href="/imprint"> Impressum</a>
|
|
||||||
</div>
|
</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>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function Copyright() {
|
||||||
|
return <span>© 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>;
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue