Only show large Khoj favicon on web interface

- Do not want browsers to use the small, grainy favicons
- Firefox for Android does use the bigger icon, when it's the only one available
- Update svg to match the 144x144 ratio just for consistency
This commit is contained in:
Debanjum Singh Solanky 2022-08-04 14:07:06 +03:00
parent 1649fa644c
commit 61c26ba611
5 changed files with 2 additions and 13 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

View file

@ -3,9 +3,8 @@
<meta charset="utf-8">
<title>Khoj</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🦅</text></svg>">
<link rel="icon" type="image/png" sizes="32x32" href="/static/assets/icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/static/assets/icons/favicon-16x16.png">
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 144 144%22><text y=%22.86em%22 font-size=%22144%22>🦅</text></svg>">
<link rel="icon" type="image/png" sizes="144x144" href="/static/assets/icons/favicon-144x144.png">
<link rel="manifest" href="/static/khoj.webmanifest">
</head>
<script type="text/javascript" src="static/assets/org.js"></script>

View file

@ -7,16 +7,6 @@
"src": "/static/assets/icons/favicon-144x144.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "/static/assets/icons/favicon-32x32.png",
"sizes": "32x32",
"type": "image/png"
},
{
"src": "/static/assets/icons/favicon-16x16.png",
"sizes": "16x16",
"type": "image/png"
}
],
"theme_color": "#ffffff",