Merge pull request #361 from lolimay/master

[NEW] Add PWA support for the better mobile coding experience
pull/403/head
warlee 2020-02-14 21:15:09 +08:00 committed by GitHub
commit 60f3f7e45b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 34 additions and 0 deletions

View File

@ -18,6 +18,7 @@
<link href="<?php echo STATIC_PATH;?>images/common/ico.png?ver=<?php echo KOD_VERSION;?>" rel="icon" type="image/x-icon">
<link href="<?php echo STATIC_PATH;?>style/common.css?ver=<?php echo KOD_VERSION;?>" rel="stylesheet"/>
<link href="./static/style/font-awesome/css/font-awesome.css?ver=<?php echo KOD_VERSION;?>" rel="stylesheet">
<link rel="manifest" href="./static/manifest.json">
<!--[if IE 7]>
<link rel="stylesheet" href="./static/style/font-awesome/css/font-awesome-ie7.css">
<![endif]-->

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

33
static/manifest.json Normal file
View File

@ -0,0 +1,33 @@
{
"name": "KodExplorer",
"short_name": "KodExplorer",
"icons": [{
"src": "./images/common/ico-128X128.png",
"sizes": "128x128",
"type": "image/png"
}, {
"src": "./images/common/ico-144X144.png",
"sizes": "144x144",
"type": "image/png"
}, {
"src": "./images/common/ico-152X152.png",
"sizes": "152x152",
"type": "image/png"
}, {
"src": "./images/common/ico-192X192.png",
"sizes": "192x192",
"type": "image/png"
}, {
"src": "./images/common/ico-256X256.png",
"sizes": "256x256",
"type": "image/png"
}, {
"src": "./images/common/ico-512x512.png",
"sizes": "512x512",
"type": "image/png"
}],
"start_url": "/index.php",
"display": "standalone",
"background_color": "#FFFFFF",
"theme_color": "#000000"
}