Use webp and woff2 to reduce file size

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
Macintxsh 2024-05-04 20:29:58 +05:00
parent 39bc536d38
commit 2989ac9791
Signed by: mctaylors
GPG key ID: 7181BEBE676903C1
6 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
@font-face {
font-family: Nintendo;
src: url(/assets/ttf/Nintendo.ttf);
src: url(/assets/woff2/Nintendo.woff2);
}

View file

@ -26,7 +26,7 @@
width: 100vw;
margin-top: -8px;
margin-left: -8px;
background: url(/assets/jpg/Urchin_Underpass.jpg);
background: url(/assets/webp/Urchin_Underpass.webp);
background-size: cover;
animation: 750ms forwards ease-out onload-background-blur;
transform: scale(1.1);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 939 KiB

BIN
assets/woff2/Nintendo.woff2 Normal file

Binary file not shown.