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 styles from './layout.module.css';
|
||||||
import lodash from 'lodash';
|
import lodash from 'lodash';
|
||||||
import menus from '../menus';
|
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 {
|
class Sider extends React.Component {
|
||||||
|
@ -76,7 +77,7 @@ class Sider extends React.Component {
|
||||||
<Layout.Sider collapsed={this.props.collapsed}>
|
<Layout.Sider collapsed={this.props.collapsed}>
|
||||||
<div className={styles.logo}>
|
<div className={styles.logo}>
|
||||||
<img src={logo} alt="Logo"/>
|
<img src={logo} alt="Logo"/>
|
||||||
<h1>Spug</h1>
|
<img src={logoText} alt="logo-text" style={{marginLeft: 25, width: 70}} />
|
||||||
</div>
|
</div>
|
||||||
<Menu
|
<Menu
|
||||||
theme="dark"
|
theme="dark"
|
||||||
|
|
|
@ -35,8 +35,7 @@
|
||||||
.logo {
|
.logo {
|
||||||
height: 64px;
|
height: 64px;
|
||||||
line-height: 64px;
|
line-height: 64px;
|
||||||
padding-left: 24px;
|
padding-left: 15px;
|
||||||
background-color: #002140;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -51,7 +50,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo img {
|
.logo img {
|
||||||
height: 32px;
|
width: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.right {
|
.right {
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 887 B |
Loading…
Reference in New Issue