| 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' | ||||
| { | { | ||||
| showConfigPanelBeforeChat && ( | showConfigPanelBeforeChat && ( | ||||
| <> | <> | ||||
| <div className='flex items-center text-2xl font-semibold text-gray-800'> | |||||
| {appData?.site.icon} {appData?.site.title} | |||||
| <div className='flex items-center h-8 text-2xl font-semibold text-gray-800'> | |||||
| <AppIcon | |||||
| icon={appData?.site.icon} | |||||
| background='transparent' | |||||
| size='small' | |||||
| /> | |||||
| {appData?.site.title} | |||||
| </div> | </div> | ||||
| { | { | ||||
| appData?.site.description && ( | appData?.site.description && ( |