mirror of
https://github.com/YMFE/yapi.git
synced 2025-01-06 12:45:22 +08:00
feat: 更换header 中的logo图片
This commit is contained in:
parent
511ede4f25
commit
0f642bd170
@ -9,6 +9,7 @@ import { changeMenuItem } from '../../reducer/modules/menu'
|
||||
import { withRouter } from 'react-router';
|
||||
import Srch from './Search/Search'
|
||||
const { Header } = Layout;
|
||||
import { logoSVG } from '../../common.js';
|
||||
|
||||
const MenuUser = (props) => (
|
||||
<Menu className="user-menu" >
|
||||
@ -166,7 +167,7 @@ export default class HeaderCom extends Component {
|
||||
<div className="content g-row">
|
||||
<div className="logo">
|
||||
<Link to="/group" onClick={this.relieveLink} className="href">
|
||||
<img className="img" src="/image/logo_header@1x.png" /><span className="logo-name">YAPI<span className="ui-badge"></span></span>
|
||||
<span className="img">{logoSVG('32px')}</span><span className="logo-name">YAPI<span className="ui-badge"></span></span>
|
||||
</Link>
|
||||
</div>
|
||||
<div className="user-toolbar">
|
||||
|
@ -28,7 +28,7 @@
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 50%;
|
||||
transform: translateY(-56%);
|
||||
transform: translateY(-17px);
|
||||
}
|
||||
.ui-badge {
|
||||
position: absolute;
|
||||
|
Loading…
Reference in New Issue
Block a user