Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

chore(gateway): use provided PNG icon for PWA

yushen1ddde840de77
diff --git a/src/gateway/public/icon.png b/src/gateway/public/icon.png
new file mode 100644
index 0000000000..ba5cedcb4d
Binary files /dev/null and b/src/gateway/public/icon.png differ
diff --git a/src/gateway/public/icon.svg b/src/gateway/public/icon.svg
deleted file mode 100644
index 0579a55914..0000000000
--- a/src/gateway/public/icon.svg
+++ /dev/null
@@ -1,10 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
- <defs>
- <linearGradient id="bg" x1="0%" y1="0%" x2="100%" y2="100%">
- <stop offset="0%" style="stop-color:#6366f1"/>
- <stop offset="100%" style="stop-color:#8b5cf6"/>
- </linearGradient>
- </defs>
- <rect width="512" height="512" rx="96" fill="url(#bg)"/>
- <text x="256" y="320" text-anchor="middle" font-family="Arial,sans-serif" font-weight="bold" font-size="240" fill="white">G</text>
-</svg>
diff --git a/src/gateway/public/index.html b/src/gateway/public/index.html
index 756d45a80c..d4efa161fe 100644
--- a/src/gateway/public/index.html
+++ b/src/gateway/public/index.html
@@ -9,8 +9,8 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-title" content="Geneva">
<link rel="manifest" href="/manifest.json">
- <link rel="icon" href="/icon.svg" type="image/svg+xml">
- <link rel="apple-touch-icon" href="/icon.svg">
+ <link rel="icon" href="/icon.png" type="image/png">
+ <link rel="apple-touch-icon" href="/icon.png">
<style>
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
diff --git a/src/gateway/public/manifest.json b/src/gateway/public/manifest.json
index 328bd36c62..1d7207178b 100644
--- a/src/gateway/public/manifest.json
+++ b/src/gateway/public/manifest.json
@@ -9,9 +9,9 @@
"background_color": "#0f172a",
"icons": [
{
- "src": "/icon.svg",
- "sizes": "any",
- "type": "image/svg+xml",
+ "src": "/icon.png",
+ "sizes": "512x512",
+ "type": "image/png",
"purpose": "any maskable"
}
]
diff --git a/src/gateway/public/sw.js b/src/gateway/public/sw.js
index a0d7418f4c..dff2248040 100644
--- a/src/gateway/public/sw.js
+++ b/src/gateway/public/sw.js
@@ -1,5 +1,5 @@
const CACHE_NAME = "geneva-client-v1";
-const PRECACHE_URLS = ["/", "/icon.svg"];
+const PRECACHE_URLS = ["/", "/icon.png"];
self.addEventListener("install", (event) => {
event.waitUntil(