todo preparado como pwa con branding correcto

This commit is contained in:
2025-08-28 13:25:35 -06:00
parent 0df0157419
commit 1c50aa725f
17 changed files with 60 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

View File

@@ -0,0 +1,26 @@
{
"name": "SnatchGame",
"short_name": "SnatchGame",
"description": "Arena de intercambio social. Juego competitivo de estrategia y negociación.",
"id": "/",
"start_url": "/",
"scope": "/",
"display": "standalone",
"background_color": "#111111",
"theme_color": "#111111",
"icons": [
{ "src": "/pwa_icons/icon-192x192.png", "sizes": "192x192", "type": "image/png", "purpose": "any" },
{ "src": "/pwa_icons/icon-256x256.png", "sizes": "256x256", "type": "image/png", "purpose": "any" },
{ "src": "/pwa_icons/icon-384x384.png", "sizes": "384x384", "type": "image/png", "purpose": "any" },
{ "src": "/pwa_icons/icon-512x512.png", "sizes": "512x512", "type": "image/png", "purpose": "any" },
{ "src": "/pwa_icons/icon-144x144.png", "sizes": "144x144", "type": "image/png", "purpose": "any" },
{ "src": "/pwa_icons/icon-128x128.png", "sizes": "128x128", "type": "image/png", "purpose": "any" },
{ "src": "/pwa_icons/icon-96x96.png", "sizes": "96x96", "type": "image/png", "purpose": "any" },
{ "src": "/pwa_icons/icon-72x72.png", "sizes": "72x72", "type": "image/png", "purpose": "any" },
{ "src": "/pwa_icons/icon-48x48.png", "sizes": "48x48", "type": "image/png", "purpose": "any" }
],
"screenshots": [
{ "src": "/SnatchGame.png", "sizes": "992x1056", "type": "image/png", "form_factor": "wide", "label": "Juego - Escritorio" },
{ "src": "/SnatchGame.png", "sizes": "992x1056", "type": "image/png", "label": "Juego - General" }
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

15
client/public/sw.js Normal file
View File

@@ -0,0 +1,15 @@
// Minimal service worker to enable PWA installability
self.addEventListener("install", () => {
// Activate immediately on install
self.skipWaiting();
});
self.addEventListener("activate", (event) => {
event.waitUntil(self.clients.claim());
});
// Provide a basic fetch handler (required by some browsers for installability)
self.addEventListener("fetch", (event) => {
event.respondWith(fetch(event.request));
});