支持使用自定义logo地址

pull/19211/head
JJ-Choi1999 1 year ago
parent b6dd769833
commit ecb11e88f7

@ -5,14 +5,16 @@ import classNames from '@/utils/classnames'
type LogoSiteProps = { type LogoSiteProps = {
className?: string className?: string
logoPath?: string
} }
const LogoSite: FC<LogoSiteProps> = ({ const LogoSite: FC<LogoSiteProps> = ({
className, className,
logoPath,
}) => { }) => {
return ( return (
<img <img
src={`${basePath}/logo/logo.png`} src={logoPath || `${basePath}/logo/logo.png`}
className={classNames('block w-[22.651px] h-[24.5px]', className)} className={classNames('block w-[22.651px] h-[24.5px]', className)}
alt='logo' alt='logo'
/> />

Loading…
Cancel
Save