修改logo

This commit is contained in:
CaIon
2023-10-31 00:41:01 +08:00
parent e3b7f8bff9
commit 114353647f
5 changed files with 17 additions and 8 deletions

View File

@@ -201,7 +201,7 @@ const HeaderBar = () => {
position="bottomRight"
render={
<Dropdown.Menu>
<Dropdown.Item>退出</Dropdown.Item>
<Dropdown.Item onClick={logout}>退出</Dropdown.Item>
</Dropdown.Menu>
}
>

View File

@@ -254,7 +254,7 @@ const HeaderBar = () => {
setSelectedKeys([key.itemKey]);
}}
header={{
logo: <IconSemiLogo style={{height: '36px', fontSize: 36}}/>,
logo: <img src={logo} alt='logo' style={{marginRight: '0.75em'}}/>,
text: 'NekoAPI'
}}
// footer={{