Update Open Graph image to new Tiles logo - #84
Draft
feynon wants to merge 1 commit into
Draft
Conversation
- Prefer tiles_banner_fill_blk.svg from tiles_tlogo_banner_v1.2 with PNG fallbacks - Encode SVG as UTF-8 base64 data URL for @vercel/og - Apply Geist font to tagline when loaded - Add OG SVG path to branding cache-bust headers in next.config Co-authored-by: Ankesh Bharti <hey@ankeshbharti.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
The site’s social preview is generated by
/api/og(referenced from root and page metadata). This change switches the graphic to the new Tiles v1.2 filled banner SVG (public/tiles_tlogo_banner_v1.2/svg/tiles_banner_fill_blk.svg), with fallbacks tolighticon.pngandlogo.pngif the SVG cannot be loaded.Details
data:image/svg+xmlURL so@vercel/ogcan render the vector wordmark.BRANDING_ASSET_FILESso it gets the same shortCache-Controlas other branding assets when you replace files in place.Testing
eslintis not installed in this repo’sdevDependencies;tscreports pre-existing project errors unrelated to this change.