diff --git a/web/src/assets/svg/chat-star.svg b/web/src/assets/svg/chat-star.svg new file mode 100644 index 000000000..eb34c34b3 --- /dev/null +++ b/web/src/assets/svg/chat-star.svg @@ -0,0 +1,12 @@ + + + + + + + + + + \ No newline at end of file diff --git a/web/src/assets/svg/logo.svg b/web/src/assets/svg/logo.svg new file mode 100644 index 000000000..8e7968d21 --- /dev/null +++ b/web/src/assets/svg/logo.svg @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/web/src/layouts/components/header/index.less b/web/src/layouts/components/header/index.less index 898fc95a0..b396f0739 100644 --- a/web/src/layouts/components/header/index.less +++ b/web/src/layouts/components/header/index.less @@ -11,3 +11,36 @@ color: #1677ff; border-color: #1677ff; } + +.appIcon { + vertical-align: middle; +} + +.appName { + vertical-align: middle; + font-family: Inter; + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: 20px; +} + +.radioGroup { + background: rgba(249, 249, 249, 1) !important; + & > label { + border: 0 !important; + &::before { + display: none !important; + } + } + :global(.ant-radio-button-wrapper-checked) { + border-radius: 6px !important; + } +} + +.ant-radio-button-wrapper-checked { + border-radius: 6px !important; +} +.radioButtonIcon { + vertical-align: middle; +} diff --git a/web/src/layouts/components/header/index.tsx b/web/src/layouts/components/header/index.tsx index 8307ae013..fab3ee416 100644 --- a/web/src/layouts/components/header/index.tsx +++ b/web/src/layouts/components/header/index.tsx @@ -1,6 +1,6 @@ -import logo from '@/assets/logo.png'; -import { Layout, Space, theme } from 'antd'; -import classnames from 'classnames'; +import { ReactComponent as StarIon } from '@/assets/svg/chat-star.svg'; +import { ReactComponent as Logo } from '@/assets/svg/logo.svg'; +import { Layout, Radio, Space, theme } from 'antd'; import styles from './index.less'; @@ -34,7 +34,7 @@ const RagHeader = () => { return (
{ height: '72px', }} > - + + + + - {tagsData.map((item) => ( - handleChange(item.path)} - > - {item.name} - - ))} + + {tagsData.map((item) => ( + handleChange(item.path)} + > + + + {item.name} + + + ))} +