Convert static assets to use WebP

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
Harsh Shandilya 2019-09-11 04:52:14 +05:30
parent 7d7d9befb7
commit 697ba2afde
15 changed files with 10 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@ -2,7 +2,7 @@
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<square150x150logo src="/mstile-150x150.webp"/>
<TileColor>#2b5797</TileColor>
</tile>
</msapplication>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

BIN
static/favicon-16x16.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

BIN
static/favicon-32x32.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

BIN
static/mstile-150x150.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -8,19 +8,19 @@
"theme_color": "#a9a9b3",
"icons": [
{
"src": "favicon-16x16.png",
"src": "favicon-16x16.webp",
"sizes": "16x16",
"type": "image/png"
"type": "image/webp"
},
{
"src": "favicon-32x32.png",
"src": "favicon-32x32.webp",
"sizes": "32x32",
"type": "image/png"
"type": "image/webp"
},
{
"src": "android-chrome-192x192.png",
"src": "android-chrome-192x192.webp",
"sizes": "192x192",
"type": "image/png"
"type": "image/webp"
}
]
}

View File

@ -1,6 +1,6 @@
<link rel="apple-touch-icon" sizes="180x180" href="{{"apple-touch-icon.png" | relURL}}">
<link rel="icon" type="image/png" sizes="32x32" href="{{"favicon-32x32.png" | relURL}}">
<link rel="icon" type="image/png" sizes="16x16" href="{{"favicon-16x16.png" | relURL}}">
<link rel="apple-touch-icon" sizes="180x180" href="{{"apple-touch-icon.webp" | relURL}}">
<link rel="icon" type="image/webp" sizes="32x32" href="{{"favicon-32x32.webp" | relURL}}">
<link rel="icon" type="image/webp" sizes="16x16" href="{{"favicon-16x16.webp" | relURL}}">
<link rel="manifest" href="{{"site.webmanifest" | relURL}}">
<link rel="mask-icon" href="{{"safari-pinned-tab.svg" | relURL}}" color="#252627">
<link rel="shortcut icon" href="{{"favicon.ico" | relURL}}">