Add ability to install as PWA

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
Sebastian Martinez
2023-05-08 13:55:50 +02:00
parent 03c05edeca
commit d8d470ae9d
6 changed files with 26 additions and 6 deletions
+17
View File
@@ -0,0 +1,17 @@
{
"id": "radicle-interface",
"name": "Radicle Interface",
"short_name": "Radicle",
"description": "Interact with Radicle.",
"start_url": "/",
"theme_color": "#0e171f",
"icons": [
{
"src": "/images/radicle-192x192.png",
"type": "image/png",
"sizes": "192x192"
},
{ "src": "/radicle.svg", "type": "image/svg", "sizes": "44x44" }
],
"display": "standalone"
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 805 B

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

+3
View File
@@ -0,0 +1,3 @@
self.addEventListener("install", () => {
return;
});