mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-07 06:07:42 +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 (
|
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue