feat: implement web app manifest for progressive web app functionality (#8216)
✨ (frontend): add manifest.json file and link it in index.html to provide metadata for the web application and improve user experience
This commit is contained in:
parent
d9cfda7abc
commit
730c33877e
2 changed files with 32 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<link rel="icon" href="/favicon-new.ico" />
|
<link rel="icon" href="/favicon-new.ico" />
|
||||||
|
<link rel="manifest" href="/manifest.json" />
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||||
<link
|
<link
|
||||||
|
|
|
||||||
31
src/frontend/public/manifest.json
Normal file
31
src/frontend/public/manifest.json
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
{
|
||||||
|
"name": "Langflow",
|
||||||
|
"short_name": "Langflow",
|
||||||
|
"description": "Langflow is a low-code builder that makes it easier to build powerful AIs that can use any API, model, or database.",
|
||||||
|
"icons": [
|
||||||
|
{
|
||||||
|
"src": "icons/32x32.png",
|
||||||
|
"type": "image/png",
|
||||||
|
"sizes": "32x32"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "icons/128x128.png",
|
||||||
|
"type": "image/png",
|
||||||
|
"sizes": "128x128"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "icons/128x128@2x.png",
|
||||||
|
"type": "image/png",
|
||||||
|
"sizes": "256x256"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "icons/icon.ico",
|
||||||
|
"sizes": "64x64 32x32 24x24 16x16",
|
||||||
|
"type": "image/x-icon"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"categories": ["developer", "productivity", "utilities"],
|
||||||
|
"screenshots": [],
|
||||||
|
"related_applications": [],
|
||||||
|
"prefer_related_applications": false
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue