aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucas Teixeira <ltx16@hotmail.com>2018-02-08 06:52:35 -0200
committerChocobozzz <me@florianbigard.com>2018-02-08 09:52:35 +0100
commit9ccf111912cae2a345d8ca0cf412703e59d19cf8 (patch)
tree2efc9e8b18be17d30667619bcf55e6cae887d1aa
parent00336945ce75c04d603ed7950e18b699a606ac8b (diff)
downloadPeerTube-9ccf111912cae2a345d8ca0cf412703e59d19cf8.tar.gz
PeerTube-9ccf111912cae2a345d8ca0cf412703e59d19cf8.tar.zst
PeerTube-9ccf111912cae2a345d8ca0cf412703e59d19cf8.zip
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
-rw-r--r--client/src/assets/images/icons/.gitignore1
-rw-r--r--client/src/assets/images/icons/hdpi.pngbin0 -> 2178 bytes
-rw-r--r--client/src/assets/images/icons/ldpi.pngbin0 -> 977 bytes
-rw-r--r--client/src/assets/images/icons/mdpi.pngbin0 -> 1265 bytes
-rw-r--r--client/src/assets/images/icons/xhdpi.pngbin0 -> 2036 bytes
-rw-r--r--client/src/assets/images/icons/xxhdpi.pngbin0 -> 5278 bytes
-rw-r--r--client/src/assets/images/icons/xxxhdpi.pngbin0 -> 3907 bytes
-rw-r--r--client/src/index.html2
-rw-r--r--client/src/manifest.json40
9 files changed, 43 insertions, 0 deletions
diff --git a/client/src/assets/images/icons/.gitignore b/client/src/assets/images/icons/.gitignore
new file mode 100644
index 000000000..aafa76831
--- /dev/null
+++ b/client/src/assets/images/icons/.gitignore
@@ -0,0 +1 @@
Thumbs.db \ No newline at end of file
diff --git a/client/src/assets/images/icons/hdpi.png b/client/src/assets/images/icons/hdpi.png
new file mode 100644
index 000000000..c1e7b9c29
--- /dev/null
+++ b/client/src/assets/images/icons/hdpi.png
Binary files differ
diff --git a/client/src/assets/images/icons/ldpi.png b/client/src/assets/images/icons/ldpi.png
new file mode 100644
index 000000000..6ba0ac319
--- /dev/null
+++ b/client/src/assets/images/icons/ldpi.png
Binary files differ
diff --git a/client/src/assets/images/icons/mdpi.png b/client/src/assets/images/icons/mdpi.png
new file mode 100644
index 000000000..9524a6d4f
--- /dev/null
+++ b/client/src/assets/images/icons/mdpi.png
Binary files differ
diff --git a/client/src/assets/images/icons/xhdpi.png b/client/src/assets/images/icons/xhdpi.png
new file mode 100644
index 000000000..79b0b8340
--- /dev/null
+++ b/client/src/assets/images/icons/xhdpi.png
Binary files differ
diff --git a/client/src/assets/images/icons/xxhdpi.png b/client/src/assets/images/icons/xxhdpi.png
new file mode 100644
index 000000000..6568bb9ad
--- /dev/null
+++ b/client/src/assets/images/icons/xxhdpi.png
Binary files differ
diff --git a/client/src/assets/images/icons/xxxhdpi.png b/client/src/assets/images/icons/xxxhdpi.png
new file mode 100644
index 000000000..ee4c849d7
--- /dev/null
+++ b/client/src/assets/images/icons/xxxhdpi.png
Binary files differ
diff --git a/client/src/index.html b/client/src/index.html
index 094d52454..79c3edea8 100644
--- a/client/src/index.html
+++ b/client/src/index.html
@@ -7,6 +7,8 @@
7 <meta name="viewport" content="width=device-width, initial-scale=1"> 7 <meta name="viewport" content="width=device-width, initial-scale=1">
8 <meta name="description" content="PeerTube, a decentralized video streaming platform using P2P (BitTorrent) directly in the web browser" /> 8 <meta name="description" content="PeerTube, a decentralized video streaming platform using P2P (BitTorrent) directly in the web browser" />
9 9
10 <!-- Web Manifest file -->
11 <link rel="manifest" href="manifest.json">
10 <!-- The following comment is used by the server to prerender OpenGraph and oEmbed tags --> 12 <!-- The following comment is used by the server to prerender OpenGraph and oEmbed tags -->
11 <!-- open graph and oembed tags --> 13 <!-- open graph and oembed tags -->
12 <!-- Do not remove it! --> 14 <!-- Do not remove it! -->
diff --git a/client/src/manifest.json b/client/src/manifest.json
new file mode 100644
index 000000000..3a0c58b96
--- /dev/null
+++ b/client/src/manifest.json
@@ -0,0 +1,40 @@
1{
2 "background_color": "gray",
3 "description": "A federated decentralized video streaming platform",
4 "display": "fullscreen",
5 "icons": [
6 {
7 "src": "/client/assets/images/icons/hdpi.png",
8 "sizes": "72x72",
9 "type": "image/png"
10 },
11 {
12 "src": "/client/assets/images/icons/ldpi.png",
13 "sizes": "36x36",
14 "type": "image/png"
15 },
16 {
17 "src": "/client/assets/images/icons/mdpi.png",
18 "sizes": "48x48",
19 "type": "image/png"
20 },
21 {
22 "src": "/client/assets/images/icons/xhdpi.png",
23 "sizes": "96x96",
24 "type": "image/png"
25 },
26 {
27 "src": "/client/assets/images/icons/xxhdpi.png",
28 "sizes": "144x144",
29 "type": "image/png"
30 },
31 {
32 "src": "/client/assets/images/icons/xxxhdpi.png",
33 "sizes": "192x192",
34 "type": "image/png"
35 }
36 ],
37 "name": "PeerTube",
38 "short_name": "PeerTube",
39 "start_url": "/videos/recently-added"
40} \ No newline at end of file