Skip to content

Fix blurry YC badge on mobile - #1770

Merged
RhysSullivan merged 1 commit into
mainfrom
fix/yc-badge-mobile-blur
Aug 27, 2026
Merged

Fix blurry YC badge on mobile#1770
RhysSullivan merged 1 commit into
mainfrom
fix/yc-badge-mobile-blur

Conversation

@RhysSullivan

Copy link
Copy Markdown
Collaborator

The homepage "Backed by Y Combinator" badge rendered low-res on phones. The SVG wrapped all of its content in a Figma-exported drop-shadow filter, and WebKit rasterizes SVG filter regions inside <img> at 1x regardless of device pixel ratio, so the entire badge (logo and text included) was blurry on high-DPI mobile screens.

Fix: strip the filter from the SVG (viewBox cropped to the badge rect, path data untouched) and apply the equivalent shadow and corner radius with CSS on the <img>.

Verified in WebKit at 390×844 @3x: production badge renders soft; this branch renders crisp with the same visual design.

The badge SVG wrapped everything in a Figma drop-shadow filter, and WebKit rasterizes SVG filter regions in <img> at 1x, so the whole badge rendered low-res on iPhones. Strip the filter from the SVG and apply the shadow with CSS instead.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 27, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
executor-cloud e2c3ed8 Aug 27 2026, 09:05 AM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 27, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing e2c3ed8 Commit Preview URL

Branch Preview URL
Aug 27 2026, 09:05 AM

@github-actions

github-actions Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Cloudflare preview

Torn down — the PR is closed.

@pkg-pr-new

pkg-pr-new Bot commented Aug 27, 2026

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

npm i https://pkg.pr.new/@executor-js/cli@1770

@executor-js/config

npm i https://pkg.pr.new/@executor-js/config@1770

@executor-js/execution

npm i https://pkg.pr.new/@executor-js/execution@1770

@executor-js/sdk

npm i https://pkg.pr.new/@executor-js/sdk@1770

@executor-js/codemode-core

npm i https://pkg.pr.new/@executor-js/codemode-core@1770

@executor-js/runtime-quickjs

npm i https://pkg.pr.new/@executor-js/runtime-quickjs@1770

@executor-js/plugin-file-secrets

npm i https://pkg.pr.new/@executor-js/plugin-file-secrets@1770

@executor-js/plugin-graphql

npm i https://pkg.pr.new/@executor-js/plugin-graphql@1770

@executor-js/plugin-keychain

npm i https://pkg.pr.new/@executor-js/plugin-keychain@1770

@executor-js/plugin-mcp

npm i https://pkg.pr.new/@executor-js/plugin-mcp@1770

@executor-js/plugin-onepassword

npm i https://pkg.pr.new/@executor-js/plugin-onepassword@1770

@executor-js/plugin-openapi

npm i https://pkg.pr.new/@executor-js/plugin-openapi@1770

executor

npm i https://pkg.pr.new/executor@1770

commit: e2c3ed8

@RhysSullivan
RhysSullivan marked this pull request as ready for review August 27, 2026 17:47
@RhysSullivan
RhysSullivan merged commit 4c9e755 into main Aug 27, 2026
79 of 80 checks passed
@RhysSullivan
RhysSullivan deleted the fix/yc-badge-mobile-blur branch August 27, 2026 17:47
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