feat: logo (#1356)
This commit is contained in:
@@ -26,6 +26,8 @@ import { replaceStringWithValues } from '@/app/components/app/configuration/prom
|
||||
import { userInputsFormToPromptVariables } from '@/utils/model-config'
|
||||
import type { InstalledApp } from '@/models/explore'
|
||||
import { AlertTriangle } from '@/app/components/base/icons/src/vender/solid/alertsAndFeedback'
|
||||
import LogoHeader from '@/app/components/base/logo/logo-embeded-chat-header'
|
||||
import LogoAvatar from '@/app/components/base/logo/logo-embeded-chat-avatar'
|
||||
|
||||
export type IMainProps = {
|
||||
isInstalledApp?: boolean
|
||||
@@ -488,7 +490,7 @@ const Main: FC<IMainProps> = ({
|
||||
}
|
||||
|
||||
const difyIcon = (
|
||||
<div className={s.difyHeader}></div>
|
||||
<LogoHeader />
|
||||
)
|
||||
|
||||
if (appUnavailable)
|
||||
@@ -567,7 +569,7 @@ const Main: FC<IMainProps> = ({
|
||||
suggestionList={suggestQuestions}
|
||||
displayScene='web'
|
||||
isShowSpeechToText={speechToTextConfig?.enabled}
|
||||
answerIconClassName={s.difyIcon}
|
||||
answerIcon={<LogoAvatar className='relative shrink-0' />}
|
||||
/>
|
||||
</div>
|
||||
</div>)
|
||||
|
Reference in New Issue
Block a user