refactor: compress home page images
BIN
public/bliss/bliss.jpg
Normal file
|
After Width: | Height: | Size: 778 KiB |
|
Before Width: | Height: | Size: 1.9 MiB |
BIN
public/home/background.jpg
Normal file
|
After Width: | Height: | Size: 789 KiB |
|
Before Width: | Height: | Size: 3.6 MiB |
BIN
public/home/blockmatic_screenshot_dark.jpg
Normal file
|
After Width: | Height: | Size: 490 KiB |
|
Before Width: | Height: | Size: 1.5 MiB |
BIN
public/home/blockmatic_screenshot_light.jpg
Normal file
|
After Width: | Height: | Size: 500 KiB |
|
Before Width: | Height: | Size: 1.6 MiB |
BIN
public/home/miku.jpg
Normal file
|
After Width: | Height: | Size: 195 KiB |
|
Before Width: | Height: | Size: 2.4 MiB |
BIN
public/home/nyan_cat.jpg
Normal file
|
After Width: | Height: | Size: 147 KiB |
|
Before Width: | Height: | Size: 2.2 MiB |
|
Before Width: | Height: | Size: 1.5 MiB |
BIN
public/home/pikachu.jpg
Normal file
|
After Width: | Height: | Size: 124 KiB |
|
Before Width: | Height: | Size: 1.6 MiB |
BIN
public/home/portal.jpg
Normal file
|
After Width: | Height: | Size: 268 KiB |
|
Before Width: | Height: | Size: 2.2 MiB |
BIN
public/home/windows.jpg
Normal file
|
After Width: | Height: | Size: 660 KiB |
|
Before Width: | Height: | Size: 8.1 MiB |
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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 />
|
||||
|
|
|
|||