mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-07 14:17:16 +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,6 +30,7 @@ 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">
|
||||||
|
{this.props.config.footerIcon && (
|
||||||
<a href={this.props.config.baseUrl} className="nav-home">
|
<a href={this.props.config.baseUrl} className="nav-home">
|
||||||
<img
|
<img
|
||||||
src={`${this.props.config.baseUrl}${this.props.config
|
src={`${this.props.config.baseUrl}${this.props.config
|
||||||
|
@ -39,6 +40,7 @@ class Footer extends React.Component {
|
||||||
height="58"
|
height="58"
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
|
)}
|
||||||
<div>
|
<div>
|
||||||
<h5>Docs</h5>
|
<h5>Docs</h5>
|
||||||
<a
|
<a
|
||||||
|
|
Loading…
Add table
Reference in a new issue