Skip to content

Drop the three badge images the redesign replaced - #172

Merged
xuelink merged 1 commit into
mainfrom
claude/unreferenced-platform-images
Sep 11, 2026
Merged

Drop the three badge images the redesign replaced#172
xuelink merged 1 commit into
mainfrom
claude/unreferenced-platform-images

Conversation

@xuelink

@xuelink xuelink commented Sep 11, 2026

Copy link
Copy Markdown
Member

Follow-up to #171. While confirming that site-screenshot.png was dead, three siblings in static/images/ turned out to be unreferenced too:

  • android.png (9.6 KB)
  • ios.png (9.6 KB)
  • pwa.png (28 KB)

These were real UI, and they were deliberately replaced

Unlike site-screenshot.png — which was never referenced by anything, ever — these three shipped on the homepage. AppStores.svelte rendered them as <img> badges:

<Image src="images/ios.png" alt="Apple App Store" />
<Image src="images/android.png" alt="Google Play Store" />
<Image src="images/pwa.png" alt="Progressive Web App" />

The redesign in 7c52115 rewrote that component: the Apple and Google Play marks are now inline SVG, and the web app is offered as a "Start for free" button to get.langx.io rather than an "Open Web App" badge. The component still ships and still links to all three destinations — it just draws itself now.

So these are superseded assets, not UI that was built and never wired up. git log -S on each filename shows it last appearing in a text file in that same redesign commit.

Verification

  • Repo-wide grep for each bare filename returns nothing.
  • Re-swept image references in both /images/... and bare images/... forms — the old code used the latter, which a leading-slash-only search would miss. Neither form matches these three.
  • Checked src/, static/, README.md, frontmatter.json, static/favicons/site.webmanifest, static/_redirects, scripts/, functions/, and blog frontmatter.
  • Not to be confused with android-chrome-192x192.png / android-chrome-512x512.png, which the web manifest does reference — those are different files under static/favicons/ and are untouched.
  • npx vite build passes. The built homepage still renders the App Store, Google Play and "Start for free" links; no build output references the deleted paths; the manifest icons are still emitted.

Note

As with #171, these are currently served publicly at /images/android.png etc. Nothing on the site has linked them since the redesign, but external deep links would now 404.

🤖 Generated with Claude Code

android.png, ios.png and pwa.png were the App Store, Google Play and
"Open Web App" badges that AppStores.svelte rendered as <img> tags. The
redesign in 7c52115 rewrote that component to draw the Apple and Google
Play marks as inline SVG and to offer the web app as a "Start for free"
button, and nothing has referenced the three files since.

So these are superseded, not unwired: the UI they belonged to still
ships, it just draws itself now. Confirmed against the current tree and
against history -- `git log -S` shows each filename last appearing in a
text file in that same redesign commit.

The manifest's android-chrome-*.png icons are different files under
static/favicons/ and are untouched.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@xuelink
xuelink merged commit 08d8485 into main Sep 11, 2026
1 check passed
@xuelink
xuelink deleted the claude/unreferenced-platform-images branch September 11, 2026 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant