Skip to content

Commit

Permalink
fix: update manifest to follow spec
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed Mar 31, 2024
1 parent 868aa34 commit adbb978
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 30 deletions.
1 change: 0 additions & 1 deletion src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ const App: NextPage<SkyraAppProps> = ({ Component, pageProps, emotionCache = cli
<link rel="icon" type="image/png" sizes="96x96" href="/icons/android-chrome-96x96.png" />
<link rel="icon" type="image/png" sizes="144x144" href="/icons/android-chrome-144x144.png" />
<link rel="icon" type="image/png" sizes="192x192" href="/icons/android-chrome-192x192.png" />
<link rel="icon" type="image/png" sizes="256x256" href="/icons/android-chrome-256x256.png" />
<link rel="icon" type="image/png" sizes="384x384" href="/icons/android-chrome-384x384.png" />
<link rel="icon" type="image/png" sizes="512x512" href="/icons/android-chrome-512x512.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/icons/favicon-16x16.png" />
Expand Down
Binary file removed src/public/icons/android-chrome-256x256.png
Binary file not shown.
Binary file removed src/public/icons/maskable_icon.png
Binary file not shown.
55 changes: 26 additions & 29 deletions src/public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
{
"src": "https://skyra.pw/icons/android-chrome-36x36.png",
"sizes": "36x36",
"type": "image/png",
"purpose": "any badge"
"type": "image/png"
},
{
"src": "https://skyra.pw/icons/android-chrome-48x48.png",
Expand All @@ -44,11 +43,6 @@
"sizes": "192x192",
"type": "image/png"
},
{
"src": "https://skyra.pw/icons/android-chrome-256x256.png",
"sizes": "256x256",
"type": "image/png"
},
{
"src": "https://skyra.pw/icons/android-chrome-384x384.png",
"sizes": "384x384",
Expand All @@ -58,32 +52,47 @@
"src": "https://skyra.pw/icons/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
},
{
"src": "https://skyra.pw/icons/maskable_icon.png",
"sizes": "640x640",
"type": "image/png",
"purpose": "any maskable"
}
],
"shortcuts": [
{
"name": "Skyra Dashboard",
"short_name": "Homepage",
"description": "Go to Skyra's dashboard",
"url": "/"
"url": "/",
"icons": [
{
"src": "https://skyra.pw/icons/android-chrome-96x96.png",
"sizes": "96x96",
"type": "image/png"
}
]
},
{
"name": "Skyra Commands",
"short_name": "Commands",
"description": "View Skyra's commands",
"url": "/commands"
"url": "/commands",
"icons": [
{
"src": "https://skyra.pw/icons/android-chrome-96x96.png",
"sizes": "96x96",
"type": "image/png"
}
]
},
{
"name": "Skyra Privacy Policy",
"short_name": "Privacy Policy",
"description": "Read Skyra's Privacy Policy",
"url": "/privacy"
"url": "/privacy",
"icons": [
{
"src": "https://skyra.pw/icons/android-chrome-96x96.png",
"sizes": "96x96",
"type": "image/png"
}
]
}
],
"splash_pages": {
Expand All @@ -94,8 +103,7 @@
{
"src": "https://skyra.pw/icons/android-chrome-36x36.png",
"sizes": "36x36",
"type": "image/png",
"purpose": "any badge"
"type": "image/png"
},
{
"src": "https://skyra.pw/icons/android-chrome-48x48.png",
Expand All @@ -122,11 +130,6 @@
"sizes": "192x192",
"type": "image/png"
},
{
"src": "https://skyra.pw/icons/android-chrome-256x256.png",
"sizes": "256x256",
"type": "image/png"
},
{
"src": "https://skyra.pw/icons/android-chrome-384x384.png",
"sizes": "384x384",
Expand All @@ -136,12 +139,6 @@
"src": "https://skyra.pw/icons/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
},
{
"src": "https://skyra.pw/icons/maskable_icon.png",
"sizes": "640x640",
"type": "image/png",
"purpose": "any maskable"
}
]
}
Expand Down

0 comments on commit adbb978

Please sign in to comment.