nsarrazin HF staff commited on
Commit
98030ef
1 Parent(s): 641f9d3

add manifest.json (#469)

Browse files
src/routes/+layout.svelte CHANGED
@@ -145,6 +145,10 @@
145
  sizes="180x180"
146
  type="image/png"
147
  />
 
 
 
 
148
  </svelte:head>
149
 
150
  <div
145
  sizes="180x180"
146
  type="image/png"
147
  />
148
+ <link
149
+ rel="manifest"
150
+ href="{PUBLIC_ORIGIN || $page.url.origin}{base}/{PUBLIC_APP_ASSETS}/manifest.json"
151
+ />
152
  </svelte:head>
153
 
154
  <div
static/chatui/manifest.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "background_color": "#ffffff",
3
+ "theme_color": "#3b82f6",
4
+ "name": "Chat UI",
5
+ "short_name": "Chat UI",
6
+ "display": "minimal-ui",
7
+ "start_url": "/",
8
+ "icons": [
9
+ {
10
+ "src": "/chatui/touch-icon-ipad-retina.png",
11
+ "sizes": "167x167",
12
+ "type": "image/png"
13
+ },
14
+ {
15
+ "src": "/chatui/touch-icon-ipad.png",
16
+ "sizes": "152x152",
17
+ "type": "image/png"
18
+ },
19
+ {
20
+ "src": "/chatui/touch-icon-iphone-retina.png",
21
+ "sizes": "180x180",
22
+ "type": "image/png"
23
+ },
24
+ {
25
+ "src": "/chatui/favicon.png",
26
+ "sizes": "192x192",
27
+ "type": "image/png"
28
+ }
29
+ ]
30
+ }
static/huggingchat/manifest.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "background_color": "#ffffff",
3
+ "theme_color": "#eab308",
4
+ "name": "HuggingChat",
5
+ "short_name": "HuggingChat",
6
+ "display": "minimal-ui",
7
+ "start_url": "/chat",
8
+ "icons": [
9
+ {
10
+ "src": "/huggingchat/touch-icon-ipad-retina.png",
11
+ "sizes": "167x167",
12
+ "type": "image/png"
13
+ },
14
+ {
15
+ "src": "/huggingchat/touch-icon-ipad.png",
16
+ "sizes": "152x152",
17
+ "type": "image/png"
18
+ },
19
+ {
20
+ "src": "/huggingchat/touch-icon-iphone-retina.png",
21
+ "sizes": "180x180",
22
+ "type": "image/png"
23
+ },
24
+ {
25
+ "src": "/huggingchat/favicon.png",
26
+ "sizes": "192x192",
27
+ "type": "image/png"
28
+ }
29
+ ]
30
+ }