mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-03 20:27:20 +02:00
Allow hiding footer icon (#357)
This commit is contained in:
parent
de381e8f03
commit
f8840e507c
1 changed files with 11 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue