refactor: compress home page images

This commit is contained in:
trafficlunar 2025-10-05 21:54:44 +01:00
parent 9c3472cd93
commit 3eba32f6d2
21 changed files with 8 additions and 8 deletions

BIN
public/bliss/bliss.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 778 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

BIN
public/home/background.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 789 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 490 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 500 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

BIN
public/home/miku.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 MiB

BIN
public/home/nyan_cat.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

BIN
public/home/pikachu.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

BIN
public/home/portal.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

BIN
public/home/windows.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 660 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 MiB

View file

@ -26,7 +26,7 @@ function ImageComparison() {
/>
<img
src="/bliss/bliss.png"
src="/bliss/bliss.jpg"
alt="blockmatic version of bliss"
draggable={false}
className="absolute w-full -z-20 rounded-xl"

View file

@ -40,7 +40,7 @@ function IndexPage() {
</header>
<img
src="/home/background.png"
src="/home/background.jpg"
alt="background"
className="absolute w-full object-cover -z-20"
style={{ maskImage: "linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 10%, rgba(255,255,255,0) 100%)" }}
@ -65,7 +65,7 @@ function IndexPage() {
<section className="max-w-full mx-8 mt-16">
<img
src={isDark ? "/home/blockmatic_screenshot_dark.png" : "/home/blockmatic_screenshot_light.png"}
src={isDark ? "/home/blockmatic_screenshot_dark.jpg" : "/home/blockmatic_screenshot_light.jpg"}
alt="app preview"
className="max-w-260 w-full rounded-xl border border-zinc-700"
/>
@ -112,19 +112,19 @@ function IndexPage() {
<Carousel className="w-full">
<CarouselContent>
<CarouselItem>
<img src="/home/miku.png" className="rounded-xl border border-zinc-300 dark:border-zinc-800"></img>
<img src="/home/miku.jpg" className="rounded-xl border border-zinc-300 dark:border-zinc-800"></img>
</CarouselItem>
<CarouselItem>
<img src="/home/nyan_cat.png" className="rounded-xl border border-zinc-300 dark:border-zinc-800"></img>
<img src="/home/nyan_cat.jpg" className="rounded-xl border border-zinc-300 dark:border-zinc-800"></img>
</CarouselItem>
<CarouselItem>
<img src="/home/pikachu.png" className="rounded-xl border border-zinc-300 dark:border-zinc-800"></img>
<img src="/home/pikachu.jpg" className="rounded-xl border border-zinc-300 dark:border-zinc-800"></img>
</CarouselItem>
<CarouselItem>
<img src="/home/portal.png" className="rounded-xl border border-zinc-300 dark:border-zinc-800"></img>
<img src="/home/portal.jpg" className="rounded-xl border border-zinc-300 dark:border-zinc-800"></img>
</CarouselItem>
<CarouselItem>
<img src="/home/windows.png" className="rounded-xl border border-zinc-300 dark:border-zinc-800"></img>
<img src="/home/windows.jpg" className="rounded-xl border border-zinc-300 dark:border-zinc-800"></img>
</CarouselItem>
</CarouselContent>
<CarouselPrevious />