Skip to content

Commit

Permalink
Merge pull request #122 from microbiomedata/120-pwa-is-not-installabl…
Browse files Browse the repository at this point in the history
…e-and-does-not-set-theme-color-for-address-bar

Make PWA installable and customize favicon
  • Loading branch information
pkalita-lbl authored Jun 10, 2024
2 parents fb5dd07 + 535f0b4 commit 6e48ec2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 36 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

<base href="/" />

<meta name="theme-color" content="#00aae7" />
<meta name="color-scheme" content="light dark" />
<meta
name="viewport"
Expand Down
Binary file modified public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added public/favicon.webp
Empty file.
42 changes: 6 additions & 36 deletions public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,50 +4,20 @@
"description": "Mobile app for metadata collection on the go",
"icons": [
{
"src": "../icons/icon-48.webp",
"src": "favicon.png",
"type": "image/png",
"sizes": "48x48",
"purpose": "any maskable"
},
{
"src": "../icons/icon-72.webp",
"type": "image/png",
"sizes": "72x72",
"purpose": "any maskable"
},
{
"src": "../icons/icon-96.webp",
"type": "image/png",
"sizes": "96x96",
"purpose": "any maskable"
},
{
"src": "../icons/icon-128.webp",
"type": "image/png",
"sizes": "128x128",
"purpose": "any maskable"
},
{
"src": "../icons/icon-192.webp",
"type": "image/png",
"sizes": "192x192",
"purpose": "any maskable"
},
{
"src": "../icons/icon-256.webp",
"type": "image/png",
"sizes": "256x256",
"sizes": "512x512",
"purpose": "any maskable"
},
{
"src": "../icons/icon-512.webp",
"type": "image/png",
"src": "favicon.webp",
"type": "image/webp",
"sizes": "512x512",
"purpose": "any maskable"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#ffffff",
"background_color": "#FFFFFF"
"theme_color": "#00aae7",
"background_color": "#ffffff"
}

0 comments on commit 6e48ec2

Please sign in to comment.