forked from tools/josh
1
0
Fork 0

Use smaller favicon, remove .ico variant

Fixes #162.
This commit is contained in:
Florine W. Dekker 2020-12-10 20:56:58 +01:00
parent 8f283be633
commit fd858a2f8d
Signed by: FWDekker
GPG Key ID: B1B567AF58D6EE0F
7 changed files with 3 additions and 4 deletions

View File

@ -14,7 +14,7 @@ module.exports = grunt => {
files: [{expand: true, cwd: "src/main/", src: "**/*.html", dest: "dist/"}]
},
images: {
files: [{expand: true, cwd: "src/main/", src: ["**/*.png", "**/*.ico"], dest: "dist/"}]
files: [{expand: true, cwd: "src/main/", src: ["**/*.png"], dest: "dist/"}]
},
pwa: {
files: [{expand: true, cwd: "src/main/", src: ["manifest.json", "sw.js"], dest: "dist/"}]

View File

@ -1,6 +1,6 @@
{
"name": "fwdekker.com",
"version": "0.39.9",
"version": "0.39.10",
"description": "The source code of [my personal website](https://fwdekker.com/).",
"author": "Felix W. Dekker",
"browser": "dist/bundle.js",

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -14,7 +14,7 @@
<title>FWDekker</title>
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<link rel="icon" type="image/png" href="favicon.png" />
<link rel="apple-touch-icon" href="img/icon_ios.png" />
<link rel="manifest" href="manifest.json">

View File

@ -1,7 +1,6 @@
const CACHE_NAME = "fwdekker-%%VERSION_NUMBER%%";
const CACHE_FILES = [
"bundle.js",
"favicon.ico",
"favicon.png",
"index.html",
"manifest.json",