Skip to content

Commit 130e9fd

Browse files
committed
fix: use dedicated 32x32 PNG favicon instead of webp
WebP favicon has limited browser support. Generate a small 32x32 favicon.png (1.8K) from the logo webp and reference it in index.astro and 404.astro with proper image/png type.
1 parent dc6e5dd commit 130e9fd

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

public/favicon.png

1.8 KB
Loading

website/src/pages/404.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const repo = 'https://github.com/thedavidweng/money';
99
<head>
1010
<meta charset="utf-8" />
1111
<meta name="viewport" content="width=device-width, initial-scale=1" />
12-
<link rel="icon" type="image/webp" href={`${base}Golden-Toad-logo.webp`} />
12+
<link rel="icon" type="image/png" href={`${base}favicon.png`} />
1313
<link rel="preconnect" href="https://fonts.googleapis.com" />
1414
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
1515
<link

website/src/pages/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const docsList = [
5858
<meta name="description" content="money — local-first personal finance backend with encrypted SQLite, a CLI, and stable JSON contracts for AI agents. No embedded AI, no required server." />
5959
<meta name="generator" content={Astro.generator} />
6060
<meta name="theme-color" content="#0a0c0b" />
61-
<link rel="icon" type="image/webp" href={`${base}Golden-Toad-logo.webp`} />
61+
<link rel="icon" type="image/png" href={`${base}favicon.png`} />
6262
<link rel="preconnect" href="https://fonts.googleapis.com" />
6363
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
6464
<link

0 commit comments

Comments
 (0)