Allow hiding footer icon (#357)

This commit is contained in:
artiebits 2017-12-27 16:40:38 +01:00 committed by Joel Marcey
parent de381e8f03
commit f8840e507c

View file

@ -30,15 +30,17 @@ class Footer extends React.Component {
return (
<footer className="nav-footer" id="footer">
<section className="sitemap">
<a href={this.props.config.baseUrl} className="nav-home">
<img
src={`${this.props.config.baseUrl}${this.props.config
.footerIcon}`}
alt={this.props.config.title}
width="66"
height="58"
/>
</a>
{this.props.config.footerIcon && (
<a href={this.props.config.baseUrl} className="nav-home">
<img
src={`${this.props.config.baseUrl}${this.props.config
.footerIcon}`}
alt={this.props.config.title}
width="66"
height="58"
/>
</a>
)}
<div>
<h5>Docs</h5>
<a