fix: webapp name (#2543)

This commit is contained in:
zxhlyh 2024-02-23 14:54:03 +08:00 committed by GitHub
parent b03bbab5ad
commit 3082093293
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,6 +3,7 @@ import { useTranslation } from 'react-i18next'
import { useChatWithHistoryContext } from '../context' import { useChatWithHistoryContext } from '../context'
import Form from './form' import Form from './form'
import Button from '@/app/components/base/button' import Button from '@/app/components/base/button'
import AppIcon from '@/app/components/base/app-icon'
import { MessageDotsCircle } from '@/app/components/base/icons/src/vender/solid/communication' import { MessageDotsCircle } from '@/app/components/base/icons/src/vender/solid/communication'
import { Edit02 } from '@/app/components/base/icons/src/vender/line/general' import { Edit02 } from '@/app/components/base/icons/src/vender/line/general'
import { Star06 } from '@/app/components/base/icons/src/vender/solid/shapes' import { Star06 } from '@/app/components/base/icons/src/vender/solid/shapes'
@ -40,8 +41,13 @@ const ConfigPanel = () => {
{ {
showConfigPanelBeforeChat && ( showConfigPanelBeforeChat && (
<> <>
<div className='flex items-center text-2xl font-semibold text-gray-800'> <div className='flex items-center h-8 text-2xl font-semibold text-gray-800'>
{appData?.site.icon} {appData?.site.title} <AppIcon
icon={appData?.site.icon}
background='transparent'
size='small'
/>
{appData?.site.title}
</div> </div>
{ {
appData?.site.description && ( appData?.site.description && (