commit a5db796fd98c40b8647f20af1ee52be2fcd6e0bf
parent 4dc289855d20fc0342dd1b56c7235521d05f6602
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Sat, 6 Jul 2024 17:32:03 +0200
feat: add webmanifest as standalone webapp
Diffstat:
9 files changed, 52 insertions(+), 0 deletions(-)
diff --git a/assets/img/favicon_128.png b/assets/img/favicon_128.png
Binary files differ.
diff --git a/assets/img/favicon_16.png b/assets/img/favicon_16.png
Binary files differ.
diff --git a/assets/img/favicon_32.png b/assets/img/favicon_32.png
Binary files differ.
diff --git a/assets/img/favicon_48.png b/assets/img/favicon_48.png
Binary files differ.
diff --git a/assets/img/favicon_64.png b/assets/img/favicon_64.png
Binary files differ.
diff --git a/assets/img/favicon_72.png b/assets/img/favicon_72.png
Binary files differ.
diff --git a/assets/img/favicon_96.png b/assets/img/favicon_96.png
Binary files differ.
diff --git a/index.php b/index.php
@@ -61,6 +61,7 @@ if (strlen($query) > 0) {
<link rel=stylesheet href=/assets/css/simple.min.css media=all>
<link rel=stylesheet href=/assets/css/custom.css>
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="traserĉi - search with !bangs">
+ <link rel="manifest" href="manifest.json">
<title>traserĉi - search with !bangs</title>
</head>
diff --git a/manifest.json b/manifest.json
@@ -0,0 +1,51 @@
+{
+ "name":"traserĉi",
+ "short_name":"traserĉi",
+ "start_url":"/",
+ "display":"standalone",
+ "scope":"/",
+ "background_color":"#000000",
+ "description":"Search with bangs!",
+ "icons":[
+ {
+ "src":"/assets/img/favicon.ico",
+ "sizes":"16x16",
+ "type":"x-icon/ico"
+ },
+ {
+ "src":"/assets/img/favicon_16.png",
+ "sizes":"16x16",
+ "type":"image/png"
+ },
+ {
+ "src":"/assets/img/favicon_32.png",
+ "sizes":"32x32",
+ "type":"image/png"
+ },
+ {
+ "src":"/assets/img/favicon_48.png",
+ "sizes":"48x48",
+ "type":"image/png"
+ },
+ {
+ "src":"/assets/img/favicon_64.png",
+ "sizes":"64x64",
+ "type":"image/png"
+ },
+ {
+ "src":"/assets/img/favicon_72.png",
+ "sizes":"72x72",
+ "type":"image/png"
+ },
+ {
+ "src":"/assets/img/favicon_96.png",
+ "sizes":"96x96",
+ "type":"image/png"
+ },
+ {
+ "src":"/assets/img/favicon_128.png",
+ "sizes":"128x128",
+ "type":"image/png"
+ }
+ ]
+}