fix favicons on apple/android

This commit is contained in:
Matěj Divecký 2022-10-10 16:41:08 +02:00
parent 244ef24b3b
commit 4ff7b0a7e4
18 changed files with 72 additions and 3 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
# Specify filepatterns you want git to ignore.
_gen
public
.hugo_build.lock

View file

@ -13,15 +13,18 @@ params:
jquery: true
feedlinks: false # Show feed links in the footer.
footer: " "
icon: "images/logo.png" # Relative path to icon in json feed and JSON-LD, no leading slash.
image: "images/logo.png" # Relative path to site image in JSON-LD, no leading slash.
# icon: "images/logo.png" # Relative path to icon in json feed and JSON-LD, no leading slash.
# image: "images/logo.png" # Relative path to site image in JSON-LD, no leading slash.
# apple-touch-icon: "images/logo.png"
logo: true # Turn off the logo.
logoWidth: 74
mainSections: # The sections you want to have listed on the front page.
- "" # Default to the section with most content if not set.
mobileMenu: true # Turn on a mobile menu on small screens.
poweredby: false # Show powered by hugo in footer
# searchLimit: 20 # Max number of search hits, default 20.
sidebar: true # Show a sidebar to the right
realfavicongenerator: true
DefaultContentLanguage: cs

View file

@ -8,7 +8,6 @@
<li><a href="https://upload.nolog.cz">upload.nolog.cz</a></li>
<li><a href="https://call.nolog.cz">call.nolog.cz</a></li>
<li><a href="https://decide.nolog.cz">decide.nolog.cz</a></li>
<li><a href="https://nolog.chat">nolog.chat</a></li>
<li><a href="https://nolog.media">nolog.media</a></li>
<li><a href="https://paste.nolog.cz">paste.nolog.cz</a></li>
<li><a href="https://wiki.nolog.cz">wiki.nolog.cz</a></li>

Binary file not shown.

After

Width:  |  Height:  |  Size: 972 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
static/apple-touch-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 964 B

9
static/browserconfig.xml Normal file
View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#b91d47</TileColor>
</tile>
</msapplication>
</browserconfig>

BIN
static/favicon-16x16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 477 B

BIN
static/favicon-32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 559 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 15 KiB

BIN
static/images/logo_big.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
static/mstile-144x144.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 825 B

BIN
static/mstile-150x150.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 832 B

BIN
static/mstile-310x150.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 866 B

BIN
static/mstile-310x310.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
static/mstile-70x70.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 714 B

View file

@ -0,0 +1,39 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="700.000000pt" height="700.000000pt" viewBox="0 0 700.000000 700.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.14, written by Peter Selinger 2001-2017
</metadata>
<g transform="translate(0.000000,700.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M109 6107 c-1 -1 -2 -505 -3 -1119 l-1 -1118 25 -1 c111 -3 612 0
616 4 3 2 6 342 8 753 2 412 7 768 11 791 7 41 9 42 54 50 46 7 841 7 848 -1
2 -2 6 -361 9 -797 2 -436 6 -794 9 -797 2 -2 147 -4 322 -4 l318 0 1 1120 2
1120 -1109 1 c-610 0 -1110 -1 -1110 -2z"/>
<path d="M2503 4989 l0 -1119 26 -1 c160 -4 2204 0 2208 5 5 4 8 2096 4 2213
l-1 22 -1119 0 -1118 0 0 -1120z m1561 440 c3 -3 7 -213 9 -468 l5 -463 -425
4 c-234 2 -429 5 -434 8 -5 3 -9 190 -10 415 -2 549 -5 503 29 508 39 6 820 3
826 -4z"/>
<path d="M5845 5679 c-10 -24 -51 -145 -91 -269 l-72 -225 -298 -3 -297 -2 89
-62 c49 -34 91 -65 94 -68 3 -3 71 -52 151 -109 l146 -102 -37 -117 c-20 -64
-55 -173 -78 -241 -23 -68 -42 -137 -42 -153 l0 -28 38 19 c20 11 105 69 187
130 83 61 169 120 192 133 42 22 43 22 73 5 32 -19 284 -198 358 -254 43 -33
72 -42 72 -23 0 5 -24 85 -54 177 -75 232 -96 302 -96 323 0 28 129 134 407
333 24 17 41 32 40 33 -2 2 -130 5 -286 8 -259 4 -284 6 -297 23 -7 10 -14 23
-14 30 0 19 -137 429 -153 459 l-14 26 -18 -43z"/>
<path d="M120 3112 c-13 -2 -15 -141 -15 -1110 l0 -1107 953 -2 952 -1 0 36
c3 220 0 585 -4 589 -3 4 -282 7 -618 7 l-613 1 -3 795 -2 795 -318 0 c-175 0
-324 -1 -332 -3z"/>
<path d="M2211 3110 c-4 -3 -7 -502 -6 -1110 l0 -1105 1110 0 1110 0 2 1110 1
1110 -1105 0 c-608 0 -1108 -2 -1112 -5z m1569 -1123 l0 -464 -287 3 c-159 1
-358 3 -443 3 l-155 1 -3 450 -3 449 23 5 c13 3 32 7 43 9 11 2 201 4 423 6
l402 2 0 -464z"/>
<path d="M4588 3100 c-2 -8 -4 -508 -3 -1110 l0 -1095 1112 -2 1111 -2 -1 631
-2 631 -305 -1 c-168 -1 -313 -1 -322 -1 -17 -1 -18 -23 -18 -314 l0 -314
-455 0 -455 0 0 473 0 472 753 0 c413 1 764 1 779 1 l26 1 -1 322 -2 323
-1107 0 c-977 0 -1107 -2 -1110 -15z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

18
static/site.webmanifest Normal file
View file

@ -0,0 +1,18 @@
{
"name": "NoLog.cz",
"short_name": "NoLog.cz",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff"
}