github.com/golang/dep@v0.5.4/website/core/Footer.js (about) 1 const React = require('react'); 2 3 const siteConfig = require(process.cwd() + '/siteConfig.js'); 4 5 class Footer extends React.Component { 6 render() { 7 const currentYear = new Date().getFullYear(); 8 return ( 9 <footer className="nav-footer" id="footer"> 10 <section className="copyright"> 11 {siteConfig.copyright} 12 </section> 13 <section className="footer-logo"> 14 <a href={this.props.config.baseUrl} className="nav-home"> 15 {this.props.config.footerIcon && ( 16 <img 17 src={this.props.config.baseUrl + this.props.config.footerIcon} 18 alt={this.props.config.title} 19 width="75" 20 /> 21 )} 22 </a> 23 </section> 24 </footer> 25 ); 26 } 27 } 28 29 module.exports = Footer;