Skip to content

Commit 85deae6

Browse files
committed
Convert images to webp
1 parent 5cd30b6 commit 85deae6

8 files changed

+3
-3
lines changed

public/image/android-screenshot.png

-280 KB
Binary file not shown.

public/image/android-screenshot.webp

31.9 KB
Binary file not shown.

public/image/ios-screenshot.png

-243 KB
Binary file not shown.

public/image/ios-screenshot.webp

36.6 KB
Binary file not shown.

public/image/shuangpin-logo.png

-39.6 KB
Binary file not shown.

public/image/shuangpin-logo.webp

3.3 KB
Binary file not shown.

src/components/Hero.astro

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ import '../styles/hero.css';
5151
<div class="relative w-full max-w-[320px] mx-auto md:max-w-none">
5252
<!-- iOS 设备 -->
5353
<img
54-
src="/image/ios-screenshot.png"
54+
src="/image/ios-screenshot.webp"
5555
alt="iOS App Screenshot"
5656
class="w-[280px] md:w-[320px] rounded-[32px] shadow-2xl
5757
relative z-20 mx-auto md:ml-auto"
5858
>
5959

6060
<!-- Android 设备 -->
6161
<img
62-
src="/image/android-screenshot.png"
62+
src="/image/android-screenshot.webp"
6363
alt="Android App Screenshot"
6464
class="w-[280px] md:w-[320px] rounded-[32px] shadow-2xl
6565
absolute top-1/2 left-1/2 md:left-0

src/components/RelatedProducts.astro

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<a href="https://ulpb.app" class="product-card" target="_blank" rel="noopener">
99
<div class="product-content">
1010
<div class="product-header">
11-
<img src="/image/shuangpin-logo.png" alt="试试双拼 Logo" class="product-logo" />
11+
<img src="/image/shuangpin-logo.webp" alt="试试双拼 Logo" class="product-logo" />
1212
<h3>试试双拼</h3>
1313
</div>
1414
<p>投入一周时间,收获终身效率。这项简单实用的技能,值得你现在就开始学习。</p>

0 commit comments

Comments
 (0)