wwf
2025-05-20 938c3e5a587ce950a94964ea509b9e7f8834dfae
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import classNames from '@/utils/classnames'
import type { FC } from 'react'
import { WEB_PREFIX } from '@/config'
 
type LogoEmbeddedChatHeaderProps = {
  className?: string
}
 
const LogoEmbeddedChatHeader: FC<LogoEmbeddedChatHeaderProps> = ({
  className,
}) => {
  return <picture>
    <source media="(resolution: 1x)" srcSet='/logo/logo-embedded-chat-header.png' />
    <source media="(resolution: 2x)" srcSet='/logo/logo-embedded-chat-header@2x.png' />
    <source media="(resolution: 3x)" srcSet='/logo/logo-embedded-chat-header@3x.png' />
    <img
      src={`${WEB_PREFIX}/logo/logo-embedded-chat-header.png`}
      alt='logo'
      className={classNames('block h-6 w-auto', className)}
    />
  </picture>
}
 
export default LogoEmbeddedChatHeader