switch to a less generic icon

This commit is contained in:
Daniel Friesel 2019-05-11 11:52:47 +02:00
parent 93c6e85f60
commit 098d02972a
19 changed files with 110 additions and 25 deletions

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View file

@ -1,18 +1,18 @@
const CACHE_NAME = 'static-cache-v17b';
const CACHE_NAME = 'static-cache-v18';
const FILES_TO_CACHE = [
'/favicon.ico',
'/offline.html',
'/static/v17/css/materialize.min.css',
'/static/v17/css/material-icons.css',
'/static/v17/css/local.css',
'/static/v17/fonts/MaterialIcons-Regular.woff2',
'/static/v17/fonts/MaterialIcons-Regular.woff',
'/static/v17/fonts/MaterialIcons-Regular.ttf',
'/static/v17/js/jquery-3.4.1.min.js',
'/static/v17/js/materialize.min.js',
'/static/v17/js/travelynx-actions.min.js',
'/static/v17/js/autocomplete.min.js',
'/static/v17/js/geolocation.min.js',
'/static/v18/css/materialize.min.css',
'/static/v18/css/material-icons.css',
'/static/v18/css/local.css',
'/static/v18/fonts/MaterialIcons-Regular.woff2',
'/static/v18/fonts/MaterialIcons-Regular.woff',
'/static/v18/fonts/MaterialIcons-Regular.ttf',
'/static/v18/js/jquery-3.4.1.min.js',
'/static/v18/js/materialize.min.js',
'/static/v18/js/travelynx-actions.min.js',
'/static/v18/js/autocomplete.min.js',
'/static/v18/js/geolocation.min.js',
];
self.addEventListener('install', (evt) => {

View file

@ -2,12 +2,12 @@
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: url(/static/v17/fonts/MaterialIcons-Regular.eot); /* For IE6-8 */
src: url(/static/v18/fonts/MaterialIcons-Regular.eot); /* For IE6-8 */
src: local('Material Icons'),
local('MaterialIcons-Regular'),
url(/static/v17/fonts/MaterialIcons-Regular.woff2) format('woff2'),
url(/static/v17/fonts/MaterialIcons-Regular.woff) format('woff'),
url(/static/v17/fonts/MaterialIcons-Regular.ttf) format('truetype');
url(/static/v18/fonts/MaterialIcons-Regular.woff2) format('woff2'),
url(/static/v18/fonts/MaterialIcons-Regular.woff) format('woff'),
url(/static/v18/fonts/MaterialIcons-Regular.ttf) format('truetype');
}
.material-icons {

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 564 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 800 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

@ -0,0 +1,79 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="24"
height="24"
viewBox="0 0 24 24"
version="1.1"
id="svg6"
sodipodi:docname="travelynx.svg"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
<metadata
id="metadata12">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs10" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1918"
inkscape:window-height="2131"
id="namedview8"
showgrid="false"
inkscape:zoom="19.666667"
inkscape:cx="0.25717638"
inkscape:cy="10.252251"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:current-layer="g4573" />
<g
id="g4573">
<rect
y="3.40678"
x="3.1271186"
height="9.5338984"
width="10.550848"
id="rect4564"
style="fill:#ffffff;fill-opacity:1;stroke-width:1.44797695" />
<g
id="g4562">
<path
d="m 8.4266298,1.3049637 c -3.0613961,0 -6.1227924,0.3826745 -6.1227924,3.0613962 v 7.2708161 c 0,1.477124 1.2015981,2.678722 2.6787217,2.678722 l -1.1480235,1.148023 v 0.382675 H 5.5412639 L 7.071962,14.315898 h 2.8853658 l 1.5306982,1.530698 h 1.530698 V 15.463921 L 11.8707,14.315898 c 1.477124,0 2.678722,-1.201598 2.678722,-2.678722 V 4.3663599 c 0,-2.6787217 -2.73995,-3.0613962 -6.1227922,-3.0613962 z M 4.9825591,12.7852 c -0.6352397,0 -1.1480235,-0.512784 -1.1480235,-1.148024 0,-0.63524 0.5127838,-1.148024 1.1480235,-1.148024 0.6352397,0 1.1480236,0.512784 1.1480236,1.148024 0,0.63524 -0.5127839,1.148024 -1.1480236,1.148024 z M 7.6612808,7.427756 H 3.8345356 V 4.3663599 h 3.8267452 z m 1.5306982,0 V 4.3663599 h 3.826745 V 7.427756 Z M 11.8707,12.7852 c -0.635239,0 -1.148023,-0.512784 -1.148023,-1.148024 0,-0.63524 0.512784,-1.148024 1.148023,-1.148024 0.63524,0 1.148024,0.512784 1.148024,1.148024 0,0.63524 -0.512784,1.148024 -1.148024,1.148024 z"
id="path14"
inkscape:connector-curvature="0"
style="stroke-width:0.76534903" />
<path
style="fill:none"
inkscape:connector-curvature="0"
d="M 0,0 H 24 V 24 H 0 Z"
id="path16" />
<path
inkscape:connector-curvature="0"
d="M 13.208696,20.997167 9.6183022,17.406774 8.3956743,18.620792 13.208696,23.433813 23.540763,13.101746 22.326745,11.887728 Z"
id="path16-3"
style="stroke-width:0.8610056" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

@ -3,27 +3,27 @@
"short_name": "Travelynx",
"scope": "/",
"icons": [{
"src": "/static/v17/icons/icon-128x128.png",
"src": "/static/v18/icons/icon-128x128.png",
"sizes": "128x128",
"type": "image/png"
}, {
"src": "/static/v17/icons/icon-144x144.png",
"src": "/static/v18/icons/icon-144x144.png",
"sizes": "144x144",
"type": "image/png"
}, {
"src": "/static/v17/icons/icon-152x152.png",
"src": "/static/v18/icons/icon-152x152.png",
"sizes": "152x152",
"type": "image/png"
}, {
"src": "/static/v17/icons/icon-192x192.png",
"src": "/static/v18/icons/icon-192x192.png",
"sizes": "192x192",
"type": "image/png"
}, {
"src": "/static/v17/icons/icon-256x256.png",
"src": "/static/v18/icons/icon-256x256.png",
"sizes": "256x256",
"type": "image/png"
}, {
"src": "/static/v17/icons/icon-512x512.png",
"src": "/static/v18/icons/icon-512x512.png",
"sizes": "512x512",
"type": "image/png"
}],

View file

@ -8,9 +8,15 @@
<meta name="theme-color" content="#673ab7">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Weather PWA">
% my $av = 'v17'; # asset version
<link rel="apple-touch-icon" href="/static/<%= $av %>/icons/icon-152x152.png">
<meta name="apple-mobile-web-app-title" content="Travelynx">
% my $av = 'v18'; # asset version
<link rel="icon" type="image/png" href="/static/<%= $av %>/icons/icon-16x16.png" sizes="16x16">
<link rel="icon" type="image/png" href="/static/<%= $av %>/icons/icon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/static/<%= $av %>/icons/icon-96x96.png" sizes="96x96">
<link rel="apple-touch-icon" href="/static/<%= $av %>/icons/icon-120x120.png">
<link rel="apple-touch-icon" sizes="180x180" href="/static/<%= $av %>/icons/icon-180x180.png">
<link rel="apple-touch-icon" sizes="152x152" href="/static/<%= $av %>/icons/icon-152x152.png">
<link rel="apple-touch-icon" sizes="167x167" href="/static/<%= $av %>/icons/icon-167x167.png">
<link rel="manifest" href="/static/<%= $av %>/manifest.json">
%= stylesheet "/static/${av}/css/materialize.min.css"
%= stylesheet "/static/${av}/css/material-icons.css"