Restore expired Figma asset URLs as local files - #1
Open
unicadesign wants to merge 1 commit into
Open
Conversation
The hero chart card and feature card icons were loaded from Figma's MCP asset endpoint, which has a ~7 day TTL. After expiry the images 404'd, leaving the hero with broken-image icons and visible artifacts where the chart and data-stream pulses should render. Download the six referenced assets (chart lines, data stream, vault / cross-chain / loop icons) into public/assets/ and point lib/constants.ts at the local paths. Drop the 14 unused Figma URL entries. The heroGlow image overlay is removed because the design uses an inline SVG gradient there, and the section's existing radial-gradient background reproduces the same effect. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
lib/constants.tsreferenced Figma MCP asset URLs (figma.com/api/mcp/asset/<uuid>), which have a ~7 day TTL. After expiry the chart lines, data-stream pulses, and feature card icons all 404'd.public/assets/. Rewiredassetsto point at the local paths and dropped the 14 unused Figma URL entries.heroGlow<img>overlay fromcomponents/landing/Hero.tsx— that asset was an inline SVG gradient in the Figma design, not an exported image, and the section's existingradial-gradientbackground already reproduces it.Test plan
yarn next dev -p 3050and confirm the hero chart card renders both gradient lines + the three pulsing data-stream verticalsfigma.com/api/mcp/asset/...