mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 08:36:44 +00:00
change logo
This commit is contained in:
parent
98ae8a62a1
commit
29e63cc482
@ -5,13 +5,14 @@ import { history, Link, request, useModel } from 'umi';
|
||||
import { UserOutlined, CodeOutlined } from '@ant-design/icons';
|
||||
import AvatarDropdown from '../AvatarDropdown';
|
||||
import Menu from '@/components/menu';
|
||||
import { ReactComponent as Logo } from './logo-white.svg';
|
||||
|
||||
export function TopMenuLayout(props: any) {
|
||||
const { menu = [] } = props.page;
|
||||
return (
|
||||
<Layout style={{ height: '100vh' }}>
|
||||
<Layout.Header style={{height: 48, lineHeight: '48px', padding: 0}} className="nb-header">
|
||||
<div className="logo" style={{width: 200, height: 20, float: 'left'}}><CodeOutlined /> NocoBase</div>
|
||||
<div className="logo" style={{width: 200, height: 20, float: 'left'}}><Logo/></div>
|
||||
<Menu hideChildren={true} items={menu} className={'noco-top-menu'} style={{float: 'left'}} theme="dark" mode="horizontal">
|
||||
</Menu>
|
||||
<AvatarDropdown/>
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
packages/app/src/components/pages/TopMenuLayout/logo.svg
Normal file
1
packages/app/src/components/pages/TopMenuLayout/logo.svg
Normal file
File diff suppressed because one or more lines are too long
@ -1,10 +1,10 @@
|
||||
.logo {
|
||||
// font-family: 'Michroma', sans-serif;
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
padding-left: 28px;
|
||||
font-size: 18px;
|
||||
letter-spacing: 2px;
|
||||
font-weight: 300;
|
||||
padding: 6px 20px 0 20px;
|
||||
}
|
||||
|
||||
body {
|
||||
|
Loading…
Reference in New Issue
Block a user