feat: add PWA support

This commit is contained in:
Cfp
2025-06-22 15:52:57 +02:00
parent 9a78c534d7
commit cb7f5fb799
4 changed files with 18 additions and 0 deletions

View File

@ -4,6 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="manifest" href="manifest.json" />
<title>TrafficCue</title>
</head>
<body class="dark">

BIN
public/img/icon192.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
public/img/icon512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

17
public/manifest.json Normal file
View File

@ -0,0 +1,17 @@
{
"name": "TrafficCue",
"icons": [
{
"src": "img/icon512.png",
"type": "image/png",
"sizes": "512x512"
},
{
"src": "img/icon192.png",
"type": "image/png",
"sizes": "192x192"
}
],
"start_url": "/",
"display": "standalone"
}