mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-24 21:48:02 +02:00
A bunch of tiny little fixes for issues I found while setting up docusaurus (#312)
* Do not show users related UI if no users have been specified * Fixed typo in Docusaurus homepage link * Allow projects without icons Not every project has an icon, so avoid showing a broken image in that case. * Do not show project icon in the footer if there's no footer icon
This commit is contained in:
parent
e865ed88a0
commit
829508797e
4 changed files with 18 additions and 11 deletions
|
@ -188,10 +188,12 @@ class HeaderNav extends React.Component {
|
|||
<div className="headerWrapper wrapper">
|
||||
<header>
|
||||
<a href={this.props.baseUrl}>
|
||||
<img
|
||||
className="logo"
|
||||
src={this.props.baseUrl + siteConfig.headerIcon}
|
||||
/>
|
||||
{siteConfig.headerIcon && (
|
||||
<img
|
||||
className="logo"
|
||||
src={this.props.baseUrl + siteConfig.headerIcon}
|
||||
/>
|
||||
)}
|
||||
{!this.props.config.disableHeaderTitle && (
|
||||
<h2 className="headerTitle">{this.props.title}</h2>
|
||||
)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue