mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 03:59:01 +08:00
fix: add img cdn link for site (#39554)
This commit is contained in:
parent
0e9a7f17c1
commit
ad252b223c
@ -7,7 +7,6 @@ import useSiteToken from '../../../hooks/useSiteToken';
|
||||
import { GroupMask } from './Group';
|
||||
import * as utils from '../../../theme/utils';
|
||||
import SiteContext from './SiteContext';
|
||||
import topicImage from './images/topic.png';
|
||||
|
||||
const locales = {
|
||||
cn: {
|
||||
@ -69,7 +68,11 @@ export default function Banner({ children }: BannerProps) {
|
||||
<>
|
||||
{/* Banner Placeholder Motion */}
|
||||
{isMobile ? (
|
||||
<img src={topicImage} alt="" style={{ width: '100%' }} />
|
||||
<img
|
||||
src="https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*JmlaR5oQn3MAAAAAAAAAAAAADrJ8AQ/original"
|
||||
style={{ width: '100%' }}
|
||||
alt=""
|
||||
/>
|
||||
) : (
|
||||
<div
|
||||
style={{
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 196 KiB |
Loading…
Reference in New Issue
Block a user