mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-11-29 15:51:52 +00:00
fix: complete logicsrc PWA assets
This commit is contained in:
parent
2c65baecbb
commit
4b174fe899
6 changed files with 26 additions and 3 deletions
BIN
apps/logicsrc-web/public/icon-192.png
Normal file
BIN
apps/logicsrc-web/public/icon-192.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 780 B |
BIN
apps/logicsrc-web/public/icon-512.png
Normal file
BIN
apps/logicsrc-web/public/icon-512.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
BIN
apps/logicsrc-web/public/icon-maskable-512.png
Normal file
BIN
apps/logicsrc-web/public/icon-maskable-512.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"id": "/",
|
||||
"name": "LogicSRC",
|
||||
"short_name": "LogicSRC",
|
||||
"description": "Open standards and schemas for human and AI agent coordination.",
|
||||
|
|
@ -8,6 +9,24 @@
|
|||
"background_color": "#f6f7f4",
|
||||
"theme_color": "#101418",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/icon-192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png",
|
||||
"purpose": "any"
|
||||
},
|
||||
{
|
||||
"src": "/icon-512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"purpose": "any"
|
||||
},
|
||||
{
|
||||
"src": "/icon-maskable-512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/icon.svg",
|
||||
"sizes": "any",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
const CACHE_NAME = "logicsrc-standards-v1";
|
||||
const SHELL_ASSETS = ["/", "/manifest.webmanifest", "/icon.svg"];
|
||||
const SHELL_ASSETS = ["/", "/manifest.webmanifest", "/icon.svg", "/icon-192.png", "/icon-512.png", "/icon-maskable-512.png"];
|
||||
|
||||
self.addEventListener("install", (event) => {
|
||||
event.waitUntil(caches.open(CACHE_NAME).then((cache) => cache.addAll(SHELL_ASSETS)));
|
||||
|
|
|
|||
|
|
@ -18,8 +18,12 @@ export const metadata: Metadata = {
|
|||
applicationName: "LogicSRC",
|
||||
manifest: "/manifest.webmanifest",
|
||||
icons: {
|
||||
icon: [{ url: "/icon.svg", type: "image/svg+xml" }],
|
||||
apple: "/icon.svg",
|
||||
icon: [
|
||||
{ url: "/icon-192.png", type: "image/png", sizes: "192x192" },
|
||||
{ url: "/icon-512.png", type: "image/png", sizes: "512x512" },
|
||||
{ url: "/icon.svg", type: "image/svg+xml" },
|
||||
],
|
||||
apple: [{ url: "/icon-192.png", sizes: "192x192" }],
|
||||
},
|
||||
...pageMetadata("/"),
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue