Skip to content

Commit 2ed4221

Browse files
committed
Compress banner to WebP (11MB PNG -> 487KB WebP)
Resize to 2000px wide at q=82 and drop the unused banner.jpeg.
1 parent f2144e9 commit 2ed4221

4 files changed

Lines changed: 1 addition & 1 deletion

File tree

website/assets/banner.jpeg

-905 KB
Binary file not shown.

website/assets/banner2.png

-10.8 MB
Binary file not shown.

website/assets/banner2.webp

476 KB
Loading

website/css/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ header.g {
394394
@keyframes blink { 50% { opacity: 0; } }
395395

396396
.demo-side {
397-
background: url('../assets/banner2.png') center/cover no-repeat;
397+
background: url('../assets/banner2.webp') center/cover no-repeat;
398398
position: relative;
399399
min-height: 400px;
400400
border-left: none !important;

0 commit comments

Comments
 (0)