mirror of https://gitee.com/answerdev/answer.git
Merge branch 'feat/ui-v0.4' into 'test'
Feat/ui v0.4 See merge request opensource/answer!246
This commit is contained in:
commit
20b2d84aa9
|
@ -74,11 +74,19 @@ const Header: FC = () => {
|
|||
<div className="d-flex justify-content-between align-items-center nav-grow flex-nowrap">
|
||||
<Navbar.Brand to="/" as={Link} className="lh-1 me-0 me-sm-3">
|
||||
{brandingInfo.logo ? (
|
||||
<>
|
||||
<img
|
||||
className="logo rounded-1 me-0"
|
||||
className="d-none d-lg-block logo rounded-1 me-0"
|
||||
src={brandingInfo.logo}
|
||||
alt=""
|
||||
/>
|
||||
|
||||
<img
|
||||
className="logo d-block d-lg-none rounded-1 me-0"
|
||||
src={brandingInfo.mobile_logo || brandingInfo.mobile_logo}
|
||||
alt=""
|
||||
/>
|
||||
</>
|
||||
) : (
|
||||
<span>{siteInfo.name || 'Answer'}</span>
|
||||
)}
|
||||
|
|
Loading…
Reference in New Issue