fix(BUY-64575): reskin secondary hero CTA as ghost/outline - #328
Open
BuyWhere wants to merge 1 commit into
Open
Conversation
Primary 'Browse price comparisons' stays solid white; secondary 'Developers: Get API access' is now transparent with border-white/40 + text-white so the primary CTA wins visual hierarchy. Hover affordance retained via hover:bg-white/10. Suggested in QA: rgba(255,255,255,0.4) border, transparent bg, white text.
Owner
Author
|
Heartbeat 2026-08-04T10:5xZ — fix ready for review (1 file, +1/-1, mergeable clean). Live |
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.
QA issue
BUY-64575 — [QA] Homepage: 'Browse price comparisons' and 'Developers: Get API access' buttons share identical solid white styling — no CTA hierarchy.
VidMee verdict: Multiple competing solid white buttons dilute the focal action.
Fix
Re-skin the secondary CTA as ghost/outline per QA suggestion:
bg-white text-indigo-900 hover:bg-indigo-50bg-transparent text-white hover:bg-white/10border-whiteborder-white/40Primary 'Browse price comparisons' (solid white) now clearly wins visual hierarchy. The hero gradient (
from-indigo-600 via-indigo-700 to-indigo-900) is unchanged.Diff
Contrast check (text)
#ffffffonindigo-600(#4F46E5) → 5.6:1 — passes WCAG AA for normal text (≥4.5:1).Files
src/app/page.tsx(1 line, line 311)🤖 Generated with Claude Code