Skip to content

feat(nav): move Per Dollar from top-level header to /compare CTA + footer#390

Merged
functionstackx merged 2 commits into
masterfrom
feat/move-per-dollar-link-from-header-to-footer-and-compare
May 26, 2026
Merged

feat(nav): move Per Dollar from top-level header to /compare CTA + footer#390
functionstackx merged 2 commits into
masterfrom
feat/move-per-dollar-link-from-header-to-footer-and-compare

Conversation

@functionstackx
Copy link
Copy Markdown
Contributor

@functionstackx functionstackx commented May 26, 2026

Summary

  • Drop /compare-per-dollar from the top-level header nav. It was getting crowded competing with Home / Dashboard / Comparisons / Supporters / Articles / About, and "Per Dollar" alone was an opaque label for what's really a sub-comparison of the broader /compare flow.
  • Add a brand-color CTA inside the /compare intro Card linking to /compare-per-dollar. Anyone landing on the comparisons index now sees the per-dollar variant one click away, contextually next to the comparison browser instead of buried in the chrome.
  • Add "Performance per Dollar" to the footer's "More" section alongside GPU Reliability so the route stays reachable from every page.

Three file edits, +18 / -6 LOC.

Before / after navigation

Surface Before After
Top-level header "Per Dollar" nav link removed
/compare intro card (no per-dollar mention) Brand-color CTA: "Compare GPU performance per dollar →"
Footer "More" column "GPU Reliability" "GPU Reliability" + "Performance per Dollar"

Cleanup notes

  • The dropped nav-link-compare-per-dollar test ID and header_compare_per_dollar_clicked analytics event were only ever referenced by header.tsx itself (grepped both packages/app/src/ and cypress/). No tests broken, no analytics consumers stranded.
  • Two new test IDs added: compare-index-per-dollar-link (on the CTA button) and footer-link-compare-per-dollar (on the footer link) so the same paths can be E2E-asserted from the new locations if needed.

Test plan

  • pnpm dev and load / — confirm "Per Dollar" no longer in desktop header or mobile hamburger menu
  • Visit /compare — confirm the new brand-color CTA renders inside the intro Card, hover state works, clicking lands on /compare-per-dollar
  • Footer on any page — confirm "Performance per Dollar" appears under "More" and links to /compare-per-dollar
  • Direct URL navigation to /compare-per-dollar still works (no route changes, just navigation refactor)
  • Sitemap + OG images for /compare-per-dollar slugs unaffected

🤖 Generated with Claude Code


Note

Low Risk
Navigation-only changes with no route or data logic; removed header analytics event has no other consumers.

Overview
Per Dollar is removed from the top-level header (desktop and mobile) to reduce nav clutter and avoid the opaque standalone label.

On /compare, a prominent brand CTA in the intro card links to /compare-per-dollar with copy Compare GPU performance per dollar, plus test id compare-index-per-dollar-link.

The footer More column gains Performance per Dollar (footer-link-compare-per-dollar) so the route stays discoverable site-wide. Routes and behavior of /compare-per-dollar are unchanged—only entry points moved.

Reviewed by Cursor Bugbot for commit 62f7e9c. Bugbot is set up for automated code reviews on this repo. Configure here.

…oter

The top-level header is getting crowded and "Per Dollar" is a narrow
sub-comparison of the broader /compare flow — surface it where the user
is already thinking about comparisons (the /compare master page) and as
a passive footer link, instead of competing with Dashboard / Comparisons
/ Articles for header real estate.

- header.tsx: drop /compare-per-dollar from NAV_LINKS (desktop + mobile)
- compare/page.tsx: brand-color CTA button in the intro Card pointing
  at /compare-per-dollar so anyone landing on the comparisons index sees
  the per-dollar variant one click away
- footer.tsx: add "Performance per Dollar" link in the "More" section
  alongside GPU Reliability so it's reachable from every page

No test or analytics references to the dropped header link remain in
the codebase (grepped for nav-link-compare-per-dollar +
header_compare_per_dollar_clicked).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
inferencemax-app Ready Ready Preview, Comment May 26, 2026 5:07am

Request Review

The first pass shipped as a subtle bg-brand/10 chip that disappeared
against the dark card. Bumped to a proper primary-button styling: solid
bg-brand background, white text, larger padding (px-5 py-3), and
responsive text sizing (text-base on mobile, text-lg on desktop).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@functionstackx functionstackx merged commit 325dc08 into master May 26, 2026
18 checks passed
@functionstackx functionstackx deleted the feat/move-per-dollar-link-from-header-to-footer-and-compare branch May 26, 2026 05:08
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