Skip to content

Commit 039113e

Browse files
committed
PWA: Refacto
1 parent 72e1d30 commit 039113e

File tree

1 file changed

+40
-54
lines changed

1 file changed

+40
-54
lines changed

public/manifest.json

Lines changed: 40 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@
22
"name": "Mr. Robøt — Whois on Discord",
33
"short_name": "Whois Discord",
44
"description": "Get information about Discord users and bots by ID",
5-
"theme_color": "#5865F2",
6-
"background_color": "#5865F2",
5+
"lang": "en",
6+
"dir": "ltr",
7+
"id": "/",
8+
"start_url": "/",
9+
"scope": "/",
710
"display": "fullscreen",
811
"orientation": "portrait",
9-
"scope": "/",
10-
"start_url": "/",
12+
"background_color": "#5865F2",
13+
"theme_color": "#5865F2",
1114
"categories": [
1215
"developer tools",
1316
"developer",
@@ -24,85 +27,68 @@
2427
],
2528
"icons": [
2629
{
27-
"src": "/img/manifest/72x72.png",
28-
"type": "image/png",
29-
"sizes": "72x72"
30-
},
31-
{
32-
"src": "/img/manifest/96x96.png",
33-
"type": "image/png",
34-
"sizes": "96x96"
35-
},
36-
{
37-
"src": "/img/manifest/128x128.png",
38-
"type": "image/png",
39-
"sizes": "128x128"
40-
},
41-
{
42-
"src": "/img/manifest/144x144.png",
30+
"src": "https://whois.mrrobot.app/img/manifest/192x192.png",
31+
"sizes": "192x192",
4332
"type": "image/png",
44-
"sizes": "144x144"
33+
"purpose": "any"
4534
},
4635
{
47-
"src": "/img/manifest/152x152.png",
36+
"src": "https://whois.mrrobot.app/img/manifest/512x512.png",
37+
"sizes": "512x512",
4838
"type": "image/png",
49-
"sizes": "152x152"
39+
"purpose": "any"
5040
},
5141
{
52-
"src": "/img/manifest/192x192.png",
53-
"type": "image/png",
42+
"src": "https://whois.mrrobot.app/img/manifest/192x192-maskable.png",
5443
"sizes": "192x192",
55-
"purpose": "any maskable"
56-
},
57-
{
58-
"src": "/img/manifest/384x384.png",
5944
"type": "image/png",
60-
"sizes": "384x384",
61-
"purpose": "any"
45+
"purpose": "maskable"
6246
},
6347
{
64-
"src": "/img/manifest/512x512.png",
65-
"type": "image/png",
48+
"src": "https://whois.mrrobot.app/img/manifest/512x512-maskable.png",
6649
"sizes": "512x512",
67-
"purpose": "any maskable"
50+
"type": "image/png",
51+
"purpose": "maskable"
6852
}
6953
],
7054
"screenshots": [
7155
{
72-
"src": "/img/screens/screen_1.png",
56+
"src": "https://whois.mrrobot.app/img/screens/screen_1.png",
7357
"type": "image/png",
74-
"media": "1081x2340",
75-
"label": "Homepage",
76-
"platform": "wide"
58+
"form_factor": "narrow",
59+
"label": "Homepage"
7760
},
7861
{
79-
"src": "/img/screens/screen_2.png",
62+
"src": "https://whois.mrrobot.app/img/screens/screen_2.png",
8063
"type": "image/png",
81-
"media": "1081x2340",
82-
"label": "Example of a profile of a bot",
83-
"platform": "wide"
64+
"form_factor": "narrow",
65+
"label": "Bot profile"
8466
},
8567
{
86-
"src": "/img/screens/screen_3.png",
68+
"src": "https://whois.mrrobot.app/img/screens/screen_3.png",
8769
"type": "image/png",
88-
"media": "1081x2340",
89-
"label": "Example of a profile of another bot",
90-
"platform": "wide"
70+
"form_factor": "narrow",
71+
"label": "Another bot profile"
9172
},
9273
{
93-
"src": "/img/screens/screen_4.png",
74+
"src": "https://whois.mrrobot.app/img/screens/screen_4.png",
9475
"type": "image/png",
95-
"media": "1081x2340",
96-
"label": "Example of a profile of a user",
97-
"platform": "wide"
76+
"form_factor": "narrow",
77+
"label": "User profile"
9878
}
9979
],
10080
"shortcuts": [
10181
{
10282
"name": "Discord bot",
10383
"url": "https://mrrobot.app",
104-
"description": "Add the Discord bot"
84+
"description": "Add the Discord bot",
85+
"icons": [
86+
{
87+
"src": "https://whois.mrrobot.app/img/manifest/shortcut-96.png",
88+
"sizes": "96x96",
89+
"type": "image/png"
90+
}
91+
]
10592
}
106-
],
107-
"lang": "en"
108-
}
93+
]
94+
}

0 commit comments

Comments
 (0)