Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh app icons #1612

Merged
merged 1 commit into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions public/browserconfig.xml

This file was deleted.

Binary file added public/favicon.ico
Binary file not shown.
Binary file removed public/images/android-chrome-192x192.png
Binary file not shown.
Binary file removed public/images/android-chrome-512x512.png
Binary file not shown.
Binary file modified public/images/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.
1 change: 0 additions & 1 deletion public/images/cord-icon.svg

This file was deleted.

Binary file removed public/images/favicon-16x16.png
Binary file not shown.
Binary file removed public/images/favicon-32x32.png
Binary file not shown.
Binary file removed public/images/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions public/images/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/images/mstile-150x150.png
Binary file not shown.
1 change: 0 additions & 1 deletion public/images/safari-pinned-tab.svg

This file was deleted.

Binary file added public/images/web-app-manifest-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 public/images/web-app-manifest-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 19 additions & 17 deletions public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
{
"name": "CORD Field",
"short_name": "CORD Field",
"icons": [
{
"src": "images/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "images/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
"name": "CORD Field",
"short_name": "CORD",
"icons": [
{
"src": "/images/web-app-manifest-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/images/web-app-manifest-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
CarsonF marked this conversation as resolved.
Show resolved Hide resolved
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
26 changes: 9 additions & 17 deletions src/scenes/Root/AppMetadata.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,30 +18,22 @@ export const AppMetadata = () => (
/>
)}

<link
rel="apple-touch-icon"
sizes="180x180"
href="images/apple-touch-icon.png"
/>
{/* https://dev.to/masakudamatsu/favicon-nightmare-how-to-maintain-sanity-3al7 */}
<link rel="icon" href="/favicon.ico" sizes="48x48" />
<link
rel="icon"
type="image/png"
sizes="32x32"
href="images/favicon-32x32.png"
href="/images/favicon.svg"
sizes="any"
type="image/svg+xml"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="images/favicon-16x16.png"
rel="apple-touch-icon"
href="/images/apple-touch-icon.png"
sizes="180x180"
/>
<link rel="manifest" href="site.webmanifest" />
<link rel="mask-icon" href="images/safari-pinned-tab.svg" color="#64b145" />
<link rel="shortcut icon" href="images/favicon.ico" />
<meta name="apple-mobile-web-app-title" content="CORD Field" />
<meta name="application-name" content="CORD Field" />
<meta name="msapplication-TileColor" content="#64b145" />
<meta name="msapplication-config" content="browserconfig.xml" />
<meta name="theme-color" content="#ffffff" />
<meta name="theme-color" content="#1EA973" />
</Helmet>
);
Loading