fix: wire PWA icons and manifest for installability
Update app metadata and service worker icon references to use the PWA icon set, and add required public icon assets so Chrome can offer install. Made-with: Cursor
This commit is contained in:
parent
bcd479b76a
commit
2e28ae8ed3
BIN
public/apple-icon.png
Normal file
BIN
public/apple-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 38 KiB |
BIN
public/badge.png
Normal file
BIN
public/badge.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 60 KiB |
BIN
public/icon-192.png
Normal file
BIN
public/icon-192.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
BIN
public/icon-512.png
Normal file
BIN
public/icon-512.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
@ -4,7 +4,7 @@ self.addEventListener('push', function (event) {
|
||||
const options = {
|
||||
body: data.body,
|
||||
icon: '/icon-192.png',
|
||||
badge: '/badge.png',
|
||||
badge: '/icon-192.png',
|
||||
data: {
|
||||
url: data.url || '/'
|
||||
},
|
||||
|
||||
@ -17,9 +17,13 @@ const geistMono = Geist_Mono({
|
||||
export const metadata: Metadata = {
|
||||
title: "JUNO | Modern Commerce Infrastructure",
|
||||
description: "The world's most advanced encrypted ecosystem for vendors and suppliers.",
|
||||
manifest: "/manifest.webmanifest",
|
||||
icons: {
|
||||
icon: "/icon.png",
|
||||
apple: "/logo.png",
|
||||
icon: [
|
||||
{ url: "/icon-192.png", sizes: "192x192", type: "image/png" },
|
||||
{ url: "/icon-512.png", sizes: "512x512", type: "image/png" },
|
||||
],
|
||||
apple: "/apple-icon.png",
|
||||
},
|
||||
appleWebApp: {
|
||||
capable: true,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user