Skip to content

Commit 225d925

Browse files
kitfunsoclaude
andcommitted
feat: add complete favicon set for Google Search and browsers
- Add PNG favicons (16x16, 32x32, 180x180, 192x192, 512x512) - Add apple-touch-icon for iOS devices - Add site.webmanifest for Android/PWA support - Update BaseLayout with proper favicon meta tags - Add theme-color meta tag Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 0ba89ce commit 225d925

7 files changed

Lines changed: 24 additions & 0 deletions

File tree

public/android-chrome-192x192.png

3.34 KB
Loading

public/android-chrome-512x512.png

14.1 KB
Loading

public/apple-touch-icon.png

3.52 KB
Loading

public/favicon-16x16.png

351 Bytes
Loading

public/favicon-32x32.png

473 Bytes
Loading

public/site.webmanifest

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "Boring Math Calculators",
3+
"short_name": "Boring Math",
4+
"icons": [
5+
{
6+
"src": "/android-chrome-192x192.png",
7+
"sizes": "192x192",
8+
"type": "image/png"
9+
},
10+
{
11+
"src": "/android-chrome-512x512.png",
12+
"sizes": "512x512",
13+
"type": "image/png"
14+
}
15+
],
16+
"theme_color": "#07070a",
17+
"background_color": "#07070a",
18+
"display": "standalone"
19+
}

src/layouts/BaseLayout.astro

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,11 @@ const ogImageURL = ogImage
8888

8989
<!-- Favicon -->
9090
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
91+
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
92+
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
93+
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
94+
<link rel="manifest" href="/site.webmanifest" />
95+
<meta name="theme-color" content="#07070a" />
9196

9297
<!-- Google Analytics -->
9398
<Analytics />

0 commit comments

Comments
 (0)