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 ( return (
<footer className="nav-footer" id="footer"> <footer className="nav-footer" id="footer">
<section className="sitemap"> <section className="sitemap">
<a href={this.props.config.baseUrl} className="nav-home"> {this.props.config.footerIcon && (
<img <a href={this.props.config.baseUrl} className="nav-home">
src={`${this.props.config.baseUrl}${this.props.config <img
.footerIcon}`} src={`${this.props.config.baseUrl}${this.props.config
alt={this.props.config.title} .footerIcon}`}
width="66" alt={this.props.config.title}
height="58" width="66"
/> height="58"
</a> />
</a>
)}
<div> <div>
<h5>Docs</h5> <h5>Docs</h5>
<a <a