29 lines
986 B
TypeScript
29 lines
986 B
TypeScript
import React, {Component} from 'react';
|
|
import {COPYRIGHT} from './ts/main';
|
|
|
|
class Footer extends Component {
|
|
render() {
|
|
return (
|
|
<React.Fragment>
|
|
<div style={{fontSize: 10 + "%"}}> </div>
|
|
<div style={{fontSize: 10 + "%"}}> </div>
|
|
<div className="row">
|
|
<div className="twelve columns" style={{textAlign: "center"}}>
|
|
<a className="button" href="# " onClick={(e) => {window.scrollTo(0, 0);}}>Go to top</a>
|
|
</div>
|
|
</div>
|
|
<div style={{fontSize: 10 + "%"}}> </div>
|
|
<div id="footer" className="row" style={{textAlign: "center"}}>
|
|
<div className="twelve columns">
|
|
<a href="." title="Minimal Linux Live">Minimal Linux Live</a>
|
|
<span className="separator">|</span> Copyright © {COPYRIGHT}
|
|
</div>
|
|
</div>
|
|
<div style={{fontSize: 10 + "%"}}> </div>
|
|
</React.Fragment>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default Footer;
|