change pwa image and manifest.json

This commit is contained in:
TheCOBAN 2020-02-19 20:18:35 +03:00
parent eeddf10383
commit 717fadd7a9
23 changed files with 8 additions and 22 deletions

View File

@ -1,10 +1,10 @@
{ {
"name": "Akaunting", "name": "Akaunting",
"short_name": "Akaunting", "short_name": "Akaunting",
"start_url": ".", "start_url": ".?utm_source=pwa",
"display": "standalone", "display": "standalone",
"theme_color": "#3c3f72", "theme_color": "#FFFFFF",
"background_color": "#3c3f72", "background_color": "#FFFFFF",
"orientation": "any", "orientation": "any",
"splash": { "splash": {
"640x1136": "public/img/icons/splash-640x1136.png", "640x1136": "public/img/icons/splash-640x1136.png",
@ -29,11 +29,6 @@
"type": "image/png", "type": "image/png",
"sizes": "96x96" "sizes": "96x96"
}, },
{
"src": "public/img/icons/akaunting-120x120.png",
"type": "image/png",
"sizes": "120x120"
},
{ {
"src": "public/img/icons/akaunting-128x128.png", "src": "public/img/icons/akaunting-128x128.png",
"type": "image/png", "type": "image/png",
@ -49,11 +44,6 @@
"type": "image/png", "type": "image/png",
"sizes": "152x152" "sizes": "152x152"
}, },
{
"src": "public/img/icons/akaunting-180x180.png",
"type": "image/png",
"sizes": "180x180"
},
{ {
"src": "public/img/icons/akaunting-192x192.png", "src": "public/img/icons/akaunting-192x192.png",
"type": "image/png", "type": "image/png",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.8 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 904 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -2,7 +2,7 @@
<link rel="manifest" href="{{ asset('manifest.json') }}"> <link rel="manifest" href="{{ asset('manifest.json') }}">
<!-- Chrome for Android theme color --> <!-- Chrome for Android theme color -->
<meta name="theme-color" content="#3c3f72"> <meta name="theme-color" content="#FFFFFF">
<!-- Add to homescreen for Chrome on Android --> <!-- Add to homescreen for Chrome on Android -->
<meta name="mobile-web-app-capable" content="yes"> <meta name="mobile-web-app-capable" content="yes">
@ -11,15 +11,14 @@
<!-- Add to homescreen for Safari on iOS --> <!-- Add to homescreen for Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#3c3f72"> <meta name="apple-mobile-web-app-status-bar-style" content="#FFFFFF">
<meta name="apple-mobile-web-app-title" content="Akaunting"> <meta name="apple-mobile-web-app-title" content="Akaunting">
<link rel="apple-touch-icon" href="{{ asset('public/img/icons/icon-512x512.png') }}"> <link rel="apple-touch-icon" href="{{ asset('public/img/icons/icon-512x512.png') }}">
<link href="{{ asset('public/img/icons/splash-640x1136.png') }}" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" /> <link href="{{ asset('public/img/icons/splash-640x1136.png') }}" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
<link href="{{ asset('public/img/icons/splash-750x1334.png') }}" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" /> <link href="{{ asset('public/img/icons/splash-750x1334.png') }}" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
<link href="{{ asset('public/img/icons/splash-1242x2208.png') }}" media="(device-width: 621px) and (device-height: 1104px) and (-webkit-device-pixel-ratio: 3)" rel="apple-touch-startup-image" />
<link href="{{ asset('public/img/icons/splash-1125x2436.png') }}" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3)" rel="apple-touch-startup-image" />
<link href="{{ asset('public/img/icons/splash-828x1792.png') }}" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" /> <link href="{{ asset('public/img/icons/splash-828x1792.png') }}" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
<link href="{{ asset('public/img/icons/splash-1242x2208.png') }}" media="(device-width: 621px) and (device-height: 1104px) and (-webkit-device-pixel-ratio: 3)" rel="apple-touch-startup-image" />
<link href="{{ asset('public/img/icons/splash-1242x2688.png') }}" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3)" rel="apple-touch-startup-image" /> <link href="{{ asset('public/img/icons/splash-1242x2688.png') }}" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3)" rel="apple-touch-startup-image" />
<link href="{{ asset('public/img/icons/splash-1536x2048.png') }}" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" /> <link href="{{ asset('public/img/icons/splash-1536x2048.png') }}" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
<link href="{{ asset('public/img/icons/splash-1668x2224.png') }}" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" /> <link href="{{ asset('public/img/icons/splash-1668x2224.png') }}" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
@ -27,7 +26,7 @@
<link href="{{ asset('public/img/icons/splash-2048x2732.png') }}" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" /> <link href="{{ asset('public/img/icons/splash-2048x2732.png') }}" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
<!-- Tile for Win8 --> <!-- Tile for Win8 -->
<meta name="msapplication-TileColor" content="#3c3f72"> <meta name="msapplication-TileColor" content="#FFFFFF">
<meta name="msapplication-TileImage" content="{{ asset('public/img/icons/icon-512x512.png') }}"> <meta name="msapplication-TileImage" content="{{ asset('public/img/icons/icon-512x512.png') }}">
<script type="text/javascript"> <script type="text/javascript">

5
serviceworker.js vendored
View File

@ -2,15 +2,12 @@ var staticCacheName = "pwa-v" + new Date().getTime();
var filesToCache = [ var filesToCache = [
'public/img/icons/akaunting-72x72.png', 'public/img/icons/akaunting-72x72.png',
'public/img/icons/akaunting-96x96.png', 'public/img/icons/akaunting-96x96.png',
'public/img/icons/akaunting-120x120.png',
'public/img/icons/akaunting-128x128.png', 'public/img/icons/akaunting-128x128.png',
'public/img/icons/akaunting-144x144.png', 'public/img/icons/akaunting-144x144.png',
'public/img/icons/akaunting-152x152.png', 'public/img/icons/akaunting-152x152.png',
'public/img/icons/akaunting-180x180.png',
'public/img/icons/akaunting-192x192.png', 'public/img/icons/akaunting-192x192.png',
'public/img/icons/akaunting-384x384.png', 'public/img/icons/akaunting-384x384.png',
'public/img/icons/akaunting-512x512.png', 'public/img/icons/akaunting-512x512.png'
'public/img/icons/akaunting-640x1136.png'
]; ];
/* /*