From 0ece751b906a05d791a5d0595cbbfca441584496 Mon Sep 17 00:00:00 2001
From: cmm-cmm <68763522+cmm-cmm@users.noreply.github.com>
Date: Tue, 21 Jul 2026 14:20:51 +0000
Subject: [PATCH] Fix apple-touch-icon: use a square icon instead of the wide
OG banner
All five pages (landing, docs layout, playground, theme-builder, demo)
pointed at assets/og-banner.png, a
1200x630 social-preview banner. iOS/home-screen and other consumers
expect a square icon, so the wide banner rendered squished/cropped and
didn't match the chevron logo used as the actual favicon everywhere.
- site/assets/app-icon.svg: a square (192x192, rounded) icon with the
same gradient chevron mark, on the site's dark background
- build-site.mjs rasterizes it to a 180x180 PNG at build time
(alongside the existing og-banner rasterization) and both the
generated docs layout and the four static pages now reference
assets/app-icon.png instead of assets/og-banner.png
---
demo/index.html | 2 +-
scripts/build-site.mjs | 9 ++++++++-
site/assets/app-icon.svg | 15 +++++++++++++++
site/index.html | 2 +-
site/playground/index.html | 2 +-
site/theme-builder/index.html | 2 +-
6 files changed, 27 insertions(+), 5 deletions(-)
create mode 100644 site/assets/app-icon.svg
diff --git a/demo/index.html b/demo/index.html
index 41c2c8f..ff3aab2 100644
--- a/demo/index.html
+++ b/demo/index.html
@@ -25,7 +25,7 @@
-
+