fix: add img cdn link for site (#39554)

This commit is contained in:
lijianan 2022-12-15 10:18:41 +08:00 committed by GitHub
parent 0e9a7f17c1
commit ad252b223c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -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