[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:
2026-04-22 10:47:06 +01:00
parent 06af260a32
commit 03abcfabbe
3 changed files with 21 additions and 0 deletions

View File

@@ -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>

View File

@@ -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
View 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"
}