PWA support.

This commit is contained in:
HenriT
2021-04-19 14:45:46 +03:00
parent 2e57464679
commit 92560b0641
27 changed files with 462 additions and 49 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

View File

@ -2,8 +2,8 @@
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#da532c</TileColor>
<square150x150logo src="/img/icons/mstile-150x150.png"/>
<TileColor>#2d89ef</TileColor>
</tile>
</msapplication>
</browserconfig>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 998 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1005 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -0,0 +1,37 @@
<?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="1024.000000pt" height="1024.000000pt" viewBox="0 0 1024.000000 1024.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.11, written by Peter Selinger 2001-2013
</metadata>
<g transform="translate(0.000000,1024.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M2729 7026 c-2 -2 -27 -7 -56 -10 -47 -5 -205 -50 -277 -79 -65 -26
-201 -99 -269 -144 -93 -61 -257 -227 -327 -331 -54 -79 -76 -102 -77 -79 0 7
-3 48 -7 92 -12 136 -25 338 -30 442 -2 59 4 58 -371 61 l-345 4 0 -1879 0
-1879 113 2 c61 1 244 3 405 5 l292 3 0 321 c1 544 9 1601 14 1791 3 100 10
202 16 227 44 199 166 416 307 547 93 85 216 170 247 170 13 0 33 9 46 20 13
11 42 25 64 31 23 5 47 12 53 14 48 16 284 25 358 13 28 -4 66 -10 85 -13 108
-17 248 -86 333 -165 109 -99 169 -216 208 -401 21 -102 22 -123 26 -1144 2
-572 5 -1125 6 -1230 l2 -190 399 0 c260 0 400 3 402 10 1 5 5 494 8 1085 5
1192 5 1199 39 1296 8 21 13 51 11 67 -2 18 2 27 12 27 8 0 14 8 14 18 0 45
117 249 196 340 112 129 290 237 464 283 66 17 115 22 220 22 133 1 148 0 242
-22 130 -30 264 -100 350 -183 124 -121 179 -264 196 -512 4 -61 7 -632 7
-1268 0 -765 3 -1158 10 -1159 28 -4 792 -5 802 -1 10 3 11 138 8 605 -8 1052
-17 1845 -25 2092 -5 160 -96 408 -203 555 -66 91 -259 270 -382 356 -37 26
-181 94 -198 94 -7 0 -17 4 -22 9 -17 16 -176 61 -265 75 -86 14 -491 16 -555
2 -16 -3 -59 -11 -95 -17 -103 -18 -298 -85 -404 -139 -125 -63 -236 -143
-325 -234 -89 -90 -120 -130 -183 -234 l-51 -84 -41 78 c-61 116 -100 169
-195 264 -83 83 -167 145 -281 208 -97 53 -304 129 -405 148 -16 3 -41 8 -55
11 -32 6 -505 15 -511 9z"/>
<path d="M7949 5256 c-3 -3 -22 -8 -43 -12 -57 -9 -182 -52 -258 -89 -293
-145 -485 -408 -525 -720 -13 -106 -7 -370 11 -469 34 -183 202 -439 371 -566
94 -70 237 -130 368 -156 10 -2 26 -5 35 -8 53 -15 139 -21 317 -21 223 0 282
9 429 69 240 96 414 256 516 471 76 160 98 271 98 483 0 204 -27 352 -85 461
-7 15 -13 30 -13 34 0 19 -112 176 -159 223 -98 99 -218 180 -345 233 -80 33
-108 40 -251 57 -61 7 -460 16 -466 10z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<link rel="icon" href="<%= BASE_URL %>img/icons/favicon.ico">
<title>Serverless Invoices</title>
<!-- Google Material Icons -->

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

2
public/robots.txt Normal file
View File

@ -0,0 +1,2 @@
User-agent: *
Disallow:

View File

@ -1,27 +0,0 @@
<?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="420.000000pt" height="420.000000pt" viewBox="0 0 420.000000 420.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.11, written by Peter Selinger 2001-2013
</metadata>
<g transform="translate(0.000000,420.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M970 2940 c-154 -40 -274 -120 -348 -230 -23 -35 -42 -59 -43 -54 -5
42 -16 203 -18 257 -1 15 -16 17 -161 17 l-160 0 0 -845 0 -845 181 2 182 3 2
510 c1 281 5 522 9 536 22 93 68 181 125 238 49 49 106 91 125 91 8 0 17 4 20
8 11 19 117 35 193 29 167 -12 274 -106 299 -264 5 -26 9 -51 10 -55 1 -5 2
-253 3 -553 l1 -545 180 0 180 0 1 478 c1 519 2 553 18 595 6 16 9 33 5 38 -3
5 0 9 7 9 7 0 10 3 6 6 -8 8 49 112 86 154 16 19 50 49 75 67 180 130 472 78
549 -97 38 -86 40 -122 39 -692 l-1 -558 183 0 183 0 -4 613 c-2 336 -7 626
-11 642 -23 93 -55 170 -91 215 -50 63 -146 147 -195 171 -124 60 -188 74
-335 72 -248 -3 -458 -115 -556 -297 l-17 -30 -21 42 c-66 129 -192 221 -371
269 -83 22 -251 24 -330 3z"/>
<path d="M3360 2153 c-99 -16 -186 -60 -253 -126 -90 -89 -128 -197 -123 -346
4 -108 10 -132 46 -206 26 -54 75 -114 125 -154 95 -77 309 -112 455 -75 223
57 352 243 337 487 -6 102 -34 182 -88 254 -46 62 -137 125 -213 149 -49 15
-231 26 -286 17z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -1,19 +0,0 @@
{
"name": "",
"short_name": "",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-384x384.png",
"sizes": "384x384",
"type": "image/png"
}
],
"theme_color": "#eceff1",
"background_color": "#eceff1",
"display": "standalone"
}