Refactor Footer and update copyright year
This commit is contained in:
parent
7b5e18cc9e
commit
fb4b380407
|
|
@ -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">
|
||||
© 2018 turnie.re ·
|
||||
<a className="text-white" href="/privacy"> Datenschutzerklärung </a>
|
||||
·
|
||||
<a className="text-white" href="/imprint"> Impressum</a>
|
||||
<Copyright/> · <Privacy/> · <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>© 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