Skip to content

feat(landing): hide_cta_on_desktop — QR-only acquisition flow#208

Merged
saltyskip merged 1 commit into
mainfrom
feat/landing-hide-desktop-cta
Jun 16, 2026
Merged

feat(landing): hide_cta_on_desktop — QR-only acquisition flow#208
saltyskip merged 1 commit into
mainfrom
feat/landing-hide-desktop-cta

Conversation

@saltyskip

Copy link
Copy Markdown
Owner

Why

Acquisition links (e.g. Bitcoin.com News shilled in Reddit posts) want desktop visitors to install on their phone, not click through to a store on desktop. This adds a tenant flag to hide the CTA on desktop, leaving only the QR.

Change

  • LandingTheme.hide_cta_on_desktop: bool (default false).
  • When set, @media (min-width:768px) hides the .cta-row (primary + "Visit website"); the desktop QR stays. Mobile is unaffected (keeps the CTA).

Verified

Rendered real output: desktop → icon + headline + tagline + QR, no buttons; Android → CTA shown, QR hidden. fmt + clippy -D warnings clean.

Covers the Graham/satoshiherald feedback

  • Logo instead of "A" → set icon_url + brand_name (already possible; "A" is the no-icon monogram fallback).
  • Hide desktop CTA (force QR) → this PR (hide_cta_on_desktop: true).
  • "Open App" label → set cta_label: "Open App" (already possible; install-conditional labels aren't feasible client-side).

🤖 Generated with Claude Code

Adds a tenant branding flag that hides the CTA buttons on desktop (≥768px),
leaving only the QR code, to push desktop visitors to scan and install on
their phone. Mobile keeps the CTA. Defaults to false.

Requested for acquisition/shill links (e.g. Bitcoin.com News Reddit posts).

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

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
rift Ready Ready Preview, Comment Jun 16, 2026 2:30pm

Request Review

@saltyskip
saltyskip merged commit d22e1cf into main Jun 16, 2026
4 checks passed
@saltyskip
saltyskip deleted the feat/landing-hide-desktop-cta branch June 16, 2026 14:32
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