Co-authored-by: qingguo <qingguo@lexin.com>
This commit is contained in:
GQ1994 2025-05-17 12:32:27 +08:00 • committed by GitHub
commit e7659ecd9d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 89 additions and 83 deletions

View file

@ -1,8 +1,8 @@
'use client'
import type { FC } from 'react'
import { WEB_PREFIX } from '@/config'
import classNames from '@/utils/classnames'
import useTheme from '@/hooks/use-theme'
import { basePath } from '@/utils/var'
export type LogoStyle = 'default' | 'monochromeWhite'
@ -35,7 +35,7 @@ const DifyLogo: FC<DifyLogoProps> = ({
return (
<img
src={`${WEB_PREFIX}${logoPathMap[themedStyle]}`}
src={`${basePath}${logoPathMap[themedStyle]}`}
className={classNames('block object-contain', logoSizeMap[size], className)}
alt='Dify logo'
/>