Skip to content

Commit 01af418

Browse files
authored
PWA Icon fix (#948)
* Added icons for various browsers. Namely apple requires non black icons. * Corrected Naming * Ran Linter * These icons should have been white.
1 parent ce75b95 commit 01af418

9 files changed

+31
-0
lines changed

apps/frontend/app/root.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ const DefaultHeadTags = () => {
111111
content="minimum-scale=1, initial-scale=1, width=device-width, shrink-to-fit=no, user-scalable=no, viewport-fit=cover"
112112
/>
113113
<link rel="manifest" href="/manifest.json" />
114+
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
114115
</>
115116
);
116117
};
16.7 KB
Loading
67.3 KB
Loading
Loading
Loading
Loading
12.1 KB
Loading

apps/frontend/public/favicon.ico

15 KB
Binary file not shown.

apps/frontend/public/manifest.json

+30
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,36 @@
88
"short_name": "Ryot",
99
"description": "Track all facets of your life!",
1010
"icons": [
11+
{
12+
"src": "/android-chrome-192x192.png",
13+
"sizes": "192x192",
14+
"type": "image/png"
15+
},
16+
{
17+
"src": "/android-chrome-512x512.png",
18+
"sizes": "512x512",
19+
"type": "image/png"
20+
},
21+
{
22+
"src": "/apple-touch-icon.png",
23+
"sizes": "180x180",
24+
"type": "image/png"
25+
},
26+
{
27+
"src": "/apple-touch-icon-120x120.png",
28+
"sizes": "120x120",
29+
"type": "image/png"
30+
},
31+
{
32+
"src": "/apple-touch-icon-precomposed.png",
33+
"sizes": "180x180",
34+
"type": "image/png"
35+
},
36+
{
37+
"src": "/apple-touch-icon-120x120-precomposed.png",
38+
"sizes": "120x120",
39+
"type": "image/png"
40+
},
1141
{
1242
"src": "/icon-192x192.png",
1343
"sizes": "192x192",

0 commit comments

Comments
 (0)