From 29e63cc4821a5ab760c57982d735b67e63284f83 Mon Sep 17 00:00:00 2001 From: chenos Date: Tue, 22 Dec 2020 09:38:05 +0800 Subject: [PATCH] change logo --- packages/app/src/components/pages/TopMenuLayout/index.tsx | 3 ++- packages/app/src/components/pages/TopMenuLayout/logo-blue.svg | 1 + packages/app/src/components/pages/TopMenuLayout/logo-white.svg | 1 + packages/app/src/components/pages/TopMenuLayout/logo.svg | 1 + packages/app/src/components/pages/TopMenuLayout/style.less | 2 +- 5 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 packages/app/src/components/pages/TopMenuLayout/logo-blue.svg create mode 100644 packages/app/src/components/pages/TopMenuLayout/logo-white.svg create mode 100644 packages/app/src/components/pages/TopMenuLayout/logo.svg diff --git a/packages/app/src/components/pages/TopMenuLayout/index.tsx b/packages/app/src/components/pages/TopMenuLayout/index.tsx index e45f4cd90..c0c9c43f3 100644 --- a/packages/app/src/components/pages/TopMenuLayout/index.tsx +++ b/packages/app/src/components/pages/TopMenuLayout/index.tsx @@ -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 ( -
NocoBase
+
diff --git a/packages/app/src/components/pages/TopMenuLayout/logo-blue.svg b/packages/app/src/components/pages/TopMenuLayout/logo-blue.svg new file mode 100644 index 000000000..80b9f1bbb --- /dev/null +++ b/packages/app/src/components/pages/TopMenuLayout/logo-blue.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/app/src/components/pages/TopMenuLayout/logo-white.svg b/packages/app/src/components/pages/TopMenuLayout/logo-white.svg new file mode 100644 index 000000000..44fab5458 --- /dev/null +++ b/packages/app/src/components/pages/TopMenuLayout/logo-white.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/app/src/components/pages/TopMenuLayout/logo.svg b/packages/app/src/components/pages/TopMenuLayout/logo.svg new file mode 100644 index 000000000..1aa836ce4 --- /dev/null +++ b/packages/app/src/components/pages/TopMenuLayout/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/app/src/components/pages/TopMenuLayout/style.less b/packages/app/src/components/pages/TopMenuLayout/style.less index 17422c276..99503d94b 100644 --- a/packages/app/src/components/pages/TopMenuLayout/style.less +++ b/packages/app/src/components/pages/TopMenuLayout/style.less @@ -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 {