Repository navigation
improvement(landing): re-encode embedded brand logos to cut comparison page weight - #9631
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
[Low impact] The PR appears safe to merge; no actionable issues were found. SummaryRe-encodes 13 embedded brand logos in both icon files to reduce page weight.
Reviews (1) · Last reviewed commit: "improvement(landing): re-encode embedded..." · Reviewed by Greptile |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
icons.tsx(11 competitors used on comparison pages, plus LiteLLM and Dust) are raster images inlined as base64. A comparison page renders the same logo up to 16 times, and each copy is serialized twice (HTML plus RSC payload). Some carried several KB of Photoshop XMP padding.<image>width and height are unchanged. Only thehrefdata changes.data:image/png. They're now labelledimage/jpeg.apps/docsrenders a byte-identical copy oficons.tsx(synced bygenerate-docs), so a/publicpath would break on the docs origin. The docs copy is updated to match./comparisons/n8n313 → 209 KB,/comparisons179 → 93 KB,/library/best-zapier-alternatives132 → 104 KB.Type of Change
Testing
biome checkon both icon files andcheck-icon-path-precisionpass.apps/docs/components/icons.tsxis byte-identical toapps/sim/components/icons.tsx, which is the invariantcheck:docsenforces. CI runs the full suite.Checklist
test-auditauthoring gate)