Include Web Manifest (#273)

* Include Web Manifest

Now we need to fix the path, which shouldn't be hard.

* Delete unused icon

* Remove Thumbs.db

That file was automatically generated

* Fixed icon path

* Fixed typo
pull/285/head
Lucas Teixeira 2018-02-08 06:52:35 -02:00 committed by Chocobozzz
parent 00336945ce
commit 9ccf111912
9 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1 @@
Thumbs.db

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 977 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@ -7,6 +7,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="PeerTube, a decentralized video streaming platform using P2P (BitTorrent) directly in the web browser" />
<!-- Web Manifest file -->
<link rel="manifest" href="manifest.json">
<!-- The following comment is used by the server to prerender OpenGraph and oEmbed tags -->
<!-- open graph and oembed tags -->
<!-- Do not remove it! -->

40
client/src/manifest.json Normal file
View File

@ -0,0 +1,40 @@
{
"background_color": "gray",
"description": "A federated decentralized video streaming platform",
"display": "fullscreen",
"icons": [
{
"src": "/client/assets/images/icons/hdpi.png",
"sizes": "72x72",
"type": "image/png"
},
{
"src": "/client/assets/images/icons/ldpi.png",
"sizes": "36x36",
"type": "image/png"
},
{
"src": "/client/assets/images/icons/mdpi.png",
"sizes": "48x48",
"type": "image/png"
},
{
"src": "/client/assets/images/icons/xhdpi.png",
"sizes": "96x96",
"type": "image/png"
},
{
"src": "/client/assets/images/icons/xxhdpi.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "/client/assets/images/icons/xxxhdpi.png",
"sizes": "192x192",
"type": "image/png"
}
],
"name": "PeerTube",
"short_name": "PeerTube",
"start_url": "/videos/recently-added"
}