U 更新logo

pull/59/head
vapao 2020-03-20 12:50:47 +08:00
parent 335db3d06c
commit 6eea69ec26
4 changed files with 5 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 107 KiB

View File

@ -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"

View File

@ -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