[code] created manifest.json file for progressive web application (PWA) functionality (file is not complete) implemented link tags for styles.css and manifest.json in home.html and transport.html pages.
This commit is contained in:
@@ -5,6 +5,8 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Home | Sentinel</title>
|
<title>Home | Sentinel</title>
|
||||||
<link rel="icon" type="image/x-icon" href="/assets/icons/favicon.ico">
|
<link rel="icon" type="image/x-icon" href="/assets/icons/favicon.ico">
|
||||||
|
<link rel="stylesheet" href="/css/styles.css">
|
||||||
|
<link rel="manifest" href="/manifest.json" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -5,6 +5,8 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Transport | Sentinel</title>
|
<title>Transport | Sentinel</title>
|
||||||
<link rel="icon" type="image/x-icon" href="/assets/icons/favicon.ico">
|
<link rel="icon" type="image/x-icon" href="/assets/icons/favicon.ico">
|
||||||
|
<link rel="stylesheet" href="/css/styles.css">
|
||||||
|
<link rel="manifest" href="/manifest.json" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
17
manifest.json
Normal file
17
manifest.json
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"short_name": "Sentinel",
|
||||||
|
"name": "Sentinel",
|
||||||
|
"icons": [
|
||||||
|
{
|
||||||
|
"src": "/",
|
||||||
|
"type": "image/svg+xml",
|
||||||
|
"sizes": "512x512"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"id": "/?source=pwa",
|
||||||
|
"start_url": "/?source=pwa",
|
||||||
|
"background_color": "#000000",
|
||||||
|
"display": "standalone",
|
||||||
|
"scope": "/",
|
||||||
|
"theme_color": "#000000"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user