Browse Source

Add web app manifest

pm2
Luke Childs 8 years ago
parent
commit
de1c7970f3
  1. BIN
      public/assets/icons/homescreen-168.png
  2. BIN
      public/assets/icons/homescreen-192.png
  3. BIN
      public/assets/icons/homescreen-256.png
  4. BIN
      public/assets/icons/homescreen-48.png
  5. BIN
      public/assets/icons/homescreen-512.png
  6. BIN
      public/assets/icons/homescreen-72.png
  7. BIN
      public/assets/icons/homescreen-96.png
  8. 49
      public/manifest.json
  9. 1
      views/index.html

BIN
public/assets/icons/homescreen-168.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
public/assets/icons/homescreen-192.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
public/assets/icons/homescreen-256.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
public/assets/icons/homescreen-48.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
public/assets/icons/homescreen-512.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
public/assets/icons/homescreen-72.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
public/assets/icons/homescreen-96.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

49
public/manifest.json

@ -0,0 +1,49 @@
{
"name": "Tor Explorer",
"start_url": "/",
"display": "standalone",
"background_color": "#895CA1",
"theme_color": "#895CA1",
"icons": [
{
"src": "/assets/icons/homescreen-48.png",
"sizes": "48x48",
"type": "image/png"
},
{
"src": "/assets/icons/homescreen-72.png",
"sizes": "72x72",
"type": "image/png"
},
{
"src": "/assets/icons/homescreen-96.png",
"sizes": "96x96",
"type": "image/png"
},
{
"src": "/assets/icons/homescreen-144.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "/assets/icons/homescreen-168.png",
"sizes": "168x168",
"type": "image/png"
},
{
"src": "/assets/icons/homescreen-192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/assets/icons/homescreen-256.png",
"sizes": "256x256",
"type": "image/png"
},
{
"src": "/assets/icons/homescreen-512.png",
"sizes": "512x512",
"type": "image/png"
}
]
}

1
views/index.html

@ -6,6 +6,7 @@
<link rel="stylesheet" href="/assets/style.css">
<meta name="viewport" content="width=device-width">
<meta name="theme-color" content="#895CA1">
<link rel="manifest" href="/manifest.json">
</head>
<body>

Loading…
Cancel
Save