mirror of https://github.com/openspug/spug
U 更新logo
parent
335db3d06c
commit
6eea69ec26
Binary file not shown.
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 107 KiB |
|
@ -11,7 +11,8 @@ import history from '../libs/history';
|
|||
import styles from './layout.module.css';
|
||||
import lodash from 'lodash';
|
||||
import menus from '../menus';
|
||||
import logo from './logo.svg';
|
||||
import logo from './logo-spug.png';
|
||||
import logoText from './logo-text.png';
|
||||
|
||||
|
||||
class Sider extends React.Component {
|
||||
|
@ -76,7 +77,7 @@ class Sider extends React.Component {
|
|||
<Layout.Sider collapsed={this.props.collapsed}>
|
||||
<div className={styles.logo}>
|
||||
<img src={logo} alt="Logo"/>
|
||||
<h1>Spug</h1>
|
||||
<img src={logoText} alt="logo-text" style={{marginLeft: 25, width: 70}} />
|
||||
</div>
|
||||
<Menu
|
||||
theme="dark"
|
||||
|
|
|
@ -35,8 +35,7 @@
|
|||
.logo {
|
||||
height: 64px;
|
||||
line-height: 64px;
|
||||
padding-left: 24px;
|
||||
background-color: #002140;
|
||||
padding-left: 15px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
@ -51,7 +50,7 @@
|
|||
}
|
||||
|
||||
.logo img {
|
||||
height: 32px;
|
||||
width: 50px;
|
||||
}
|
||||
|
||||
.right {
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 887 B |
Loading…
Reference in New Issue