make mobile shortcut icons pretty

This commit is contained in:
keyan 2022-04-14 12:05:44 -05:00
parent 64e9f30cd9
commit 9b8238616a
5 changed files with 19 additions and 0 deletions

View File

@ -6,6 +6,8 @@ class MyDocument extends Document {
return (
<Html>
<Head>
<link rel='apple-touch-icon' sizes='180x180' href='/apple-touch-icon.png' />
<link rel='manifest' href='/site.webmanifest' />
<link rel='preload' href={`${publicPrefix}/Lightningvolt-xoqm.ttf`} as='font' type='font/ttf' crossOrigin='' />
<style
dangerouslySetInnerHTML={{

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

BIN
public/apple-touch-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

17
public/site.webmanifest Normal file
View File

@ -0,0 +1,17 @@
{
"name": "stacker news",
"short_name": "SN",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"display": "standalone"
}