added pwa for android and iphone.

This commit is contained in:
DESKTOP-T0O5CDB\DESK-555BD
2024-01-11 13:53:02 -07:00
parent 200aa79dac
commit 014b6bce8d
10 changed files with 50 additions and 0 deletions

View File

@@ -18,6 +18,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="apple-mobile-web-app-title" content="LubeLogger" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<title>@ViewData["Title"] - CarCareTracker</title>
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap-icons.css" />
@@ -25,6 +28,12 @@
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
<link rel="stylesheet" href="~/css/loader.css" asp-append-version="true" />
<link rel="stylesheet" href="~/sweetalert/sweetalert2.min.css" asp-append-version="true" />
<link rel="icon" sizes="192x192" href="~/defaults/lubelogger_icon_192.png" />
<link rel="icon" sizes="128x128" href="~/defaults/lubelogger_icon_128.png" />
<link rel="apple-touch-icon" sizes="128x128" href="~/defaults/lubelogger_icon_128.png" />
<link rel="apple-touch-icon-precomposed" sizes="128x128" href="~/defaults/lubelogger_icon_128.png" />
<link rel="apple-touch-startup-image" href="~/defaults/lubelogger_launch.png" />
<link rel="manifest" href="~/manifest.json">
<script src="~/lib/jquery/dist/jquery.min.js"></script>
<script src="~/js/shared.js"></script>
<script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script>

BIN
wwwroot/defaults/garage.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

41
wwwroot/manifest.json Normal file
View File

@@ -0,0 +1,41 @@
{
"name": "LubeLogger",
"start_url": "/",
"display": "standalone",
"icons": [
{
"src": "/defaults/lubelogger_icon_72.png",
"sizes": "72x72",
"type": "image/png"
},
{
"src": "/defaults/lubelogger_icon_128.png",
"sizes": "128x128",
"type": "image/png"
},
{
"src": "/defaults/lubelogger_icon_144.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "/defaults/lubelogger_icon_192.png",
"sizes": "192x192",
"type": "image/png"
}
],
"screenshots": [
{
"src": "/defaults/garage_narrow.png",
"type": "image/png",
"sizes": "540x720",
"form_factor": "narrow"
},
{
"src": "/defaults/garage.png",
"type": "image/png",
"sizes": "720x540",
"form_factor": "wide"
}
]
}