Skip to content
This repository was archived by the owner on Nov 2, 2024. It is now read-only.

Commit c3614ce

Browse files
committed
fix(home): home page image can't be loaded
1 parent 2f017f1 commit c3614ce

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pages/index.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -292,12 +292,12 @@ import docsCardDark from "../public/console-dark.png";
292292
<p>Mix Space 支持自定义 Markdown 内语法,您可以使用自定义语法来丰富您的内容。</p>
293293
</div>
294294
<div className="absolute w-full h-full inset-0 hidden sm:block bg-[linear-gradient(to_right,white_250px,_transparent)] dark:bg-[linear-gradient(to_right,#202020_250px,_transparent)] z-[1]"/>
295-
<img src="https://pan.vinua.cn/f/2XNtZ/macros.png" alt="Macros" className="absolute w-full h-full inset-0 object-cover object-right-top z-0 dark:hidden"/>
296-
<img src="https://pan.vinua.cn/f/RoncO/macros-dark.png" alt="Macros (Dark)" className="absolute w-full h-full inset-0 object-cover object-right-top z-0 hidden dark:block"/>
295+
<img src="/macros.png" alt="Macros" className="absolute w-full h-full inset-0 object-cover object-right-top z-0 dark:hidden"/>
296+
<img src="/macros-dark.png" alt="Macros (Dark)" className="absolute w-full h-full inset-0 object-cover object-right-top z-0 hidden dark:block"/>
297297
</Feature>
298298
<Feature index={4} large id="serverless-card" style={{
299299
color: 'white',
300-
backgroundImage: 'url(https://pan.vinua.cn/f/3XXIN/serverless.png), url(https://pan.vinua.cn/f/pKbi6/gradient-bg.jpg)',
300+
backgroundImage: 'url(/serverless.png), url(/gradient-bg.jpg)',
301301
backgroundSize: '140%, 180%',
302302
backgroundPosition: '130px -8px, top',
303303
backgroundRepeat: 'no-repeat',
@@ -314,7 +314,7 @@ import docsCardDark from "../public/console-dark.png";
314314
backgroundSize: 720,
315315
backgroundRepeat: 'no-repeat',
316316
minHeight: 288,
317-
backgroundImage: 'url(https://pan.vinua.cn/f/6q3hB/analyze-dashboard.png)',
317+
backgroundImage: 'url(/analyze-dashboard.png)',
318318
}}>
319319
<h3>数据统计面板</h3>
320320
<p>Mix Space 支持访客统计,<br className="show-on-mobile"/>您可以在后台查看您的 <b>网站访问量</b>,<b>访问来源</b>,<b>访问设备</b>等信息。</p>

0 commit comments

Comments
 (0)