diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-08 11:22:03 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-08 11:23:05 +0100 |
commit | 151edeee3a1bff047bda4cdb60d98ad74f627488 (patch) | |
tree | 5cf652abb3a1e255d62f7f5424b831ce4d8741fc /client | |
parent | 4dd626d34d10e6e13c9689c75f13e438b46c35f4 (diff) | |
download | PeerTube-151edeee3a1bff047bda4cdb60d98ad74f627488.tar.gz PeerTube-151edeee3a1bff047bda4cdb60d98ad74f627488.tar.zst PeerTube-151edeee3a1bff047bda4cdb60d98ad74f627488.zip |
Better peertube icons
Diffstat (limited to 'client')
20 files changed, 31 insertions, 18 deletions
diff --git a/client/.angular-cli.json b/client/.angular-cli.json index 01c240beb..739a4c5a5 100644 --- a/client/.angular-cli.json +++ b/client/.angular-cli.json | |||
@@ -32,7 +32,8 @@ | |||
32 | "environments": { | 32 | "environments": { |
33 | "dev": "environments/environment.ts", | 33 | "dev": "environments/environment.ts", |
34 | "prod": "environments/environment.prod.ts" | 34 | "prod": "environments/environment.prod.ts" |
35 | } | 35 | }, |
36 | "serviceWorker": true | ||
36 | } | 37 | } |
37 | ], | 38 | ], |
38 | "e2e": { | 39 | "e2e": { |
diff --git a/client/package.json b/client/package.json index 574658e7d..39cd209e6 100644 --- a/client/package.json +++ b/client/package.json | |||
@@ -34,6 +34,7 @@ | |||
34 | "@angular/platform-browser": "~5.2.2", | 34 | "@angular/platform-browser": "~5.2.2", |
35 | "@angular/platform-browser-dynamic": "~5.2.2", | 35 | "@angular/platform-browser-dynamic": "~5.2.2", |
36 | "@angular/router": "~5.2.2", | 36 | "@angular/router": "~5.2.2", |
37 | "@angular/service-worker": "^5.2.4", | ||
37 | "@angularclass/hmr": "^2.1.3", | 38 | "@angularclass/hmr": "^2.1.3", |
38 | "@ngx-loading-bar/http-client": "^1.0.0-rc.1", | 39 | "@ngx-loading-bar/http-client": "^1.0.0-rc.1", |
39 | "@ngx-meta/core": "^5.0.0", | 40 | "@ngx-meta/core": "^5.0.0", |
diff --git a/client/src/assets/images/favicon.png b/client/src/assets/images/favicon.png index 2e589cf6c..a42fce3f1 100644 --- a/client/src/assets/images/favicon.png +++ b/client/src/assets/images/favicon.png | |||
Binary files differ | |||
diff --git a/client/src/assets/images/icons/.gitignore b/client/src/assets/images/icons/.gitignore deleted file mode 100644 index aafa76831..000000000 --- a/client/src/assets/images/icons/.gitignore +++ /dev/null | |||
@@ -1 +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 deleted file mode 100644 index c1e7b9c29..000000000 --- a/client/src/assets/images/icons/hdpi.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/client/src/assets/images/icons/icon-144x144.png b/client/src/assets/images/icons/icon-144x144.png new file mode 100644 index 000000000..f3ba9ff1e --- /dev/null +++ b/client/src/assets/images/icons/icon-144x144.png | |||
Binary files differ | |||
diff --git a/client/src/assets/images/icons/icon-192x192.png b/client/src/assets/images/icons/icon-192x192.png new file mode 100644 index 000000000..393fb10d9 --- /dev/null +++ b/client/src/assets/images/icons/icon-192x192.png | |||
Binary files differ | |||
diff --git a/client/src/assets/images/icons/icon-36x36.png b/client/src/assets/images/icons/icon-36x36.png new file mode 100644 index 000000000..b998221cd --- /dev/null +++ b/client/src/assets/images/icons/icon-36x36.png | |||
Binary files differ | |||
diff --git a/client/src/assets/images/icons/icon-48x48.png b/client/src/assets/images/icons/icon-48x48.png new file mode 100644 index 000000000..0c635be06 --- /dev/null +++ b/client/src/assets/images/icons/icon-48x48.png | |||
Binary files differ | |||
diff --git a/client/src/assets/images/icons/icon-512x512.png b/client/src/assets/images/icons/icon-512x512.png new file mode 100644 index 000000000..74338cf44 --- /dev/null +++ b/client/src/assets/images/icons/icon-512x512.png | |||
Binary files differ | |||
diff --git a/client/src/assets/images/icons/icon-72x72.png b/client/src/assets/images/icons/icon-72x72.png new file mode 100644 index 000000000..ff5596373 --- /dev/null +++ b/client/src/assets/images/icons/icon-72x72.png | |||
Binary files differ | |||
diff --git a/client/src/assets/images/icons/icon-96x96.png b/client/src/assets/images/icons/icon-96x96.png new file mode 100644 index 000000000..7354a5f2c --- /dev/null +++ b/client/src/assets/images/icons/icon-96x96.png | |||
Binary files differ | |||
diff --git a/client/src/assets/images/icons/ldpi.png b/client/src/assets/images/icons/ldpi.png deleted file mode 100644 index 6ba0ac319..000000000 --- a/client/src/assets/images/icons/ldpi.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/client/src/assets/images/icons/mdpi.png b/client/src/assets/images/icons/mdpi.png deleted file mode 100644 index 9524a6d4f..000000000 --- a/client/src/assets/images/icons/mdpi.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/client/src/assets/images/icons/xhdpi.png b/client/src/assets/images/icons/xhdpi.png deleted file mode 100644 index 79b0b8340..000000000 --- a/client/src/assets/images/icons/xhdpi.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/client/src/assets/images/icons/xxhdpi.png b/client/src/assets/images/icons/xxhdpi.png deleted file mode 100644 index 6568bb9ad..000000000 --- a/client/src/assets/images/icons/xxhdpi.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/client/src/assets/images/icons/xxxhdpi.png b/client/src/assets/images/icons/xxxhdpi.png deleted file mode 100644 index ee4c849d7..000000000 --- a/client/src/assets/images/icons/xxxhdpi.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/client/src/assets/images/logo.svg b/client/src/assets/images/logo.svg index 8777acd5b..38992a565 100644 --- a/client/src/assets/images/logo.svg +++ b/client/src/assets/images/logo.svg | |||
@@ -63,7 +63,7 @@ | |||
63 | } | 63 | } |
64 | 64 | ||
65 | .cls-6 { | 65 | .cls-6 { |
66 | fill: #fff; | 66 | fill: rgba(255, 255, 255, 0); |
67 | } | 67 | } |
68 | </style> | 68 | </style> |
69 | </defs> | 69 | </defs> |
@@ -111,7 +111,7 @@ | |||
111 | d="M 0,0 V 10.667 L 8,5.333 Z" | 111 | d="M 0,0 V 10.667 L 8,5.333 Z" |
112 | transform="rotate(180,24,40)" | 112 | transform="rotate(180,24,40)" |
113 | inkscape:connector-curvature="0" | 113 | inkscape:connector-curvature="0" |
114 | style="fill:#ffffff" /> | 114 | style="fill:rgba(255,255,255,0)" /> |
115 | </g> | 115 | </g> |
116 | </g> | 116 | </g> |
117 | </g> | 117 | </g> |
diff --git a/client/src/manifest.json b/client/src/manifest.json index 3a0c58b96..ac5eac647 100644 --- a/client/src/manifest.json +++ b/client/src/manifest.json | |||
@@ -1,40 +1,46 @@ | |||
1 | { | 1 | { |
2 | "background_color": "gray", | 2 | "background_color": "gray", |
3 | "description": "A federated decentralized video streaming platform", | 3 | "description": "A federated video streaming platform using P2P", |
4 | "display": "fullscreen", | 4 | "display": "fullscreen", |
5 | "orientation": "portrait", | ||
5 | "icons": [ | 6 | "icons": [ |
6 | { | 7 | { |
7 | "src": "/client/assets/images/icons/hdpi.png", | 8 | "src": "/client/assets/images/icons/icon-36x36.png", |
8 | "sizes": "72x72", | ||
9 | "type": "image/png" | ||
10 | }, | ||
11 | { | ||
12 | "src": "/client/assets/images/icons/ldpi.png", | ||
13 | "sizes": "36x36", | 9 | "sizes": "36x36", |
14 | "type": "image/png" | 10 | "type": "image/png" |
15 | }, | 11 | }, |
16 | { | 12 | { |
17 | "src": "/client/assets/images/icons/mdpi.png", | 13 | "src": "/client/assets/images/icons/icon-48x48.png", |
18 | "sizes": "48x48", | 14 | "sizes": "48x48", |
19 | "type": "image/png" | 15 | "type": "image/png" |
20 | }, | 16 | }, |
17 | { | ||
18 | "src": "/client/assets/images/icons/icon-72x72.png", | ||
19 | "sizes": "72x72", | ||
20 | "type": "image/png" | ||
21 | }, | ||
21 | { | 22 | { |
22 | "src": "/client/assets/images/icons/xhdpi.png", | 23 | "src": "/client/assets/images/icons/icon-96x96.png", |
23 | "sizes": "96x96", | 24 | "sizes": "96x96", |
24 | "type": "image/png" | 25 | "type": "image/png" |
25 | }, | 26 | }, |
26 | { | 27 | { |
27 | "src": "/client/assets/images/icons/xxhdpi.png", | 28 | "src": "/client/assets/images/icons/icon-144x144.png", |
28 | "sizes": "144x144", | 29 | "sizes": "144x144", |
29 | "type": "image/png" | 30 | "type": "image/png" |
30 | }, | 31 | }, |
31 | { | 32 | { |
32 | "src": "/client/assets/images/icons/xxxhdpi.png", | 33 | "src": "/client/assets/images/icons/icon-192x192.png", |
33 | "sizes": "192x192", | 34 | "sizes": "192x192", |
34 | "type": "image/png" | 35 | "type": "image/png" |
35 | } | 36 | }, |
37 | { | ||
38 | "src": "/client/assets/images/icons/icon-512x512.png", | ||
39 | "sizes": "512x512", | ||
40 | "type": "image/png" | ||
41 | } | ||
36 | ], | 42 | ], |
37 | "name": "PeerTube", | 43 | "name": "PeerTube", |
38 | "short_name": "PeerTube", | 44 | "short_name": "PeerTube", |
39 | "start_url": "/videos/recently-added" | 45 | "start_url": "/videos/recently-added" |
40 | } \ No newline at end of file | 46 | } |
diff --git a/client/yarn.lock b/client/yarn.lock index c2b4ac7e2..289a38502 100644 --- a/client/yarn.lock +++ b/client/yarn.lock | |||
@@ -158,6 +158,12 @@ | |||
158 | dependencies: | 158 | dependencies: |
159 | tslib "^1.7.1" | 159 | tslib "^1.7.1" |
160 | 160 | ||
161 | "@angular/service-worker@^5.2.4": | ||
162 | version "5.2.4" | ||
163 | resolved "https://registry.yarnpkg.com/@angular/service-worker/-/service-worker-5.2.4.tgz#23ef7366000908b22f5bb728435612c88400a1ff" | ||
164 | dependencies: | ||
165 | tslib "^1.7.1" | ||
166 | |||
161 | "@angularclass/hmr@^2.1.3": | 167 | "@angularclass/hmr@^2.1.3": |
162 | version "2.1.3" | 168 | version "2.1.3" |
163 | resolved "https://registry.yarnpkg.com/@angularclass/hmr/-/hmr-2.1.3.tgz#34e658ed3da37f23b0a200e2da5a89be92bb209f" | 169 | resolved "https://registry.yarnpkg.com/@angularclass/hmr/-/hmr-2.1.3.tgz#34e658ed3da37f23b0a200e2da5a89be92bb209f" |