Skip to content

Commit

Permalink
PWA Icon fix (#948)
Browse files Browse the repository at this point in the history
* Added icons for various browsers. Namely apple requires non black icons.

* Corrected Naming

* Ran Linter

* These icons should have been white.
  • Loading branch information
Jacob-Tate authored Aug 9, 2024
1 parent ce75b95 commit 01af418
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/frontend/app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ const DefaultHeadTags = () => {
content="minimum-scale=1, initial-scale=1, width=device-width, shrink-to-fit=no, user-scalable=no, viewport-fit=cover"
/>
<link rel="manifest" href="/manifest.json" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
</>
);
};
Expand Down
Binary file added apps/frontend/public/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/frontend/public/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/frontend/public/apple-touch-icon-120x120.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/frontend/public/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/frontend/public/favicon.ico
Binary file not shown.
30 changes: 30 additions & 0 deletions apps/frontend/public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,36 @@
"short_name": "Ryot",
"description": "Track all facets of your life!",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
},
{
"src": "/apple-touch-icon.png",
"sizes": "180x180",
"type": "image/png"
},
{
"src": "/apple-touch-icon-120x120.png",
"sizes": "120x120",
"type": "image/png"
},
{
"src": "/apple-touch-icon-precomposed.png",
"sizes": "180x180",
"type": "image/png"
},
{
"src": "/apple-touch-icon-120x120-precomposed.png",
"sizes": "120x120",
"type": "image/png"
},
{
"src": "/icon-192x192.png",
"sizes": "192x192",
Expand Down

0 comments on commit 01af418

Please sign in to comment.