add manifest.json (#469)

pull/472/head
Nathan Sarrazin 2023-10-03 12:47:34 +02:00 committed by GitHub
parent 641f9d3a08
commit 98030ef040
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 64 additions and 0 deletions

View File

@ -145,6 +145,10 @@
sizes="180x180"
type="image/png"
/>
<link
rel="manifest"
href="{PUBLIC_ORIGIN || $page.url.origin}{base}/{PUBLIC_APP_ASSETS}/manifest.json"
/>
</svelte:head>
<div

View File

@ -0,0 +1,30 @@
{
"background_color": "#ffffff",
"theme_color": "#3b82f6",
"name": "Chat UI",
"short_name": "Chat UI",
"display": "minimal-ui",
"start_url": "/",
"icons": [
{
"src": "/chatui/touch-icon-ipad-retina.png",
"sizes": "167x167",
"type": "image/png"
},
{
"src": "/chatui/touch-icon-ipad.png",
"sizes": "152x152",
"type": "image/png"
},
{
"src": "/chatui/touch-icon-iphone-retina.png",
"sizes": "180x180",
"type": "image/png"
},
{
"src": "/chatui/favicon.png",
"sizes": "192x192",
"type": "image/png"
}
]
}

View File

@ -0,0 +1,30 @@
{
"background_color": "#ffffff",
"theme_color": "#eab308",
"name": "HuggingChat",
"short_name": "HuggingChat",
"display": "minimal-ui",
"start_url": "/chat",
"icons": [
{
"src": "/huggingchat/touch-icon-ipad-retina.png",
"sizes": "167x167",
"type": "image/png"
},
{
"src": "/huggingchat/touch-icon-ipad.png",
"sizes": "152x152",
"type": "image/png"
},
{
"src": "/huggingchat/touch-icon-iphone-retina.png",
"sizes": "180x180",
"type": "image/png"
},
{
"src": "/huggingchat/favicon.png",
"sizes": "192x192",
"type": "image/png"
}
]
}