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:
talatops 2026-03-31 22:25:42 +05:00
parent bcd479b76a
commit 2e28ae8ed3
6 changed files with 7 additions and 3 deletions

BIN
public/apple-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

BIN
public/badge.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

BIN
public/icon-192.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

BIN
public/icon-512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

View File

@ -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 || '/'
},

View File

@ -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,