Read-only mirror of github.com/ondeinference/ed.
Mirrored from https://github.com/ondeinference/ed.git
Synced Nov 23, 01:00 UTC
web-chat: add a favicon
An SVG mark (white e on the brand green) with a PNG apple-touch fallback, linked from the page head and shipped by deploy.sh. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Co-Authored-By: siGit Code v1.6.6-acp <noreply@sigit.si>
Seto Elkahfi committed
Nov 17, 2026 at 23:02 UTC
260ce0ecaf4b230d7bcc3753744c2320fb6bfa4e
4 files changed
+8
-1
examples/web-chat/deploy.sh
+1
-1
@@ -32,7 +32,7 @@ git diff --quiet HEAD -- . || version="$version-dirty"
32
stage="$(mktemp -d)"
33
trap 'rm -rf "$stage"' EXIT
34
mkdir "$stage/pkg"
35
-cp www/index.html www/main.js www/worker.js www/style.css "$stage/"
35
+cp www/index.html www/main.js www/worker.js www/style.css www/favicon.svg www/apple-touch-icon.png "$stage/"
36
cp www/pkg/web_chat.js www/pkg/web_chat_bg.wasm "$stage/pkg/"
37
printf '%s\n' "$version" > "$stage/version.txt"
38
# Config only: the CLI reads it and leaves it out of the upload.
examples/web-chat/www/apple-touch-icon.png
Binary files /dev/null and b/examples/web-chat/www/apple-touch-icon.png differ
examples/web-chat/www/favicon.svg
new
+5
@@ -0,0 +1,5 @@
1
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" role="img" aria-label="Ed">
2
+ <rect width="32" height="32" rx="7" fill="#2f5d50" />
3
+ <text x="16" y="23" font-family="ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif"
4
+ font-size="22" font-weight="600" text-anchor="middle" fill="#ffffff">e</text>
5
+</svg>
examples/web-chat/www/index.html
+2
@@ -18,6 +18,8 @@
18
/>
19
<meta property="og:url" content="https://ondewebdemo.5mb.app/" />
20
<meta name="twitter:card" content="summary" />
21
+ <link rel="icon" href="favicon.svg" type="image/svg+xml" />
22
+ <link rel="apple-touch-icon" href="apple-touch-icon.png" />
23
<link rel="stylesheet" href="style.css" />
24
</head>
25
<body>