Skip to content

Commit

Permalink
U 更新logo
Browse files Browse the repository at this point in the history
  • Loading branch information
vapao committed Mar 20, 2020
1 parent 335db3d commit 6eea69e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Binary file modified spug_web/public/favicon.ico
Binary file not shown.
5 changes: 3 additions & 2 deletions spug_web/src/layout/Sider.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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"
Expand Down
5 changes: 2 additions & 3 deletions spug_web/src/layout/layout.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
.logo {
height: 64px;
line-height: 64px;
padding-left: 24px;
background-color: #002140;
padding-left: 15px;
overflow: hidden;
}

Expand All @@ -51,7 +50,7 @@
}

.logo img {
height: 32px;
width: 50px;
}

.right {
Expand Down
Binary file added spug_web/src/layout/logo-text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6eea69e

Please sign in to comment.