Skip to content

Conditionally show CTA buttons based on device type#201

Merged
yerol merged 2 commits intodevelopfrom
hide-cta-mobile
Mar 4, 2026
Merged

Conditionally show CTA buttons based on device type#201
yerol merged 2 commits intodevelopfrom
hide-cta-mobile

Conversation

@gsambrotta
Copy link
Collaborator

  • Move "Add To" logic to a common component AddToBrowserCTA
  • Use this component in Nav, Hero, Impact section
  • AddToBrowser accept data like: button label, button link, additional template so it can be modified based on where it is called from.

After - Mobile:
2-elliot_mobile-screenshot

After - Dekstop:
Screenshot from 2026-02-10 16-54-24
Screenshot from 2026-02-10 16-54-12

CTA Link end up to:
Screenshot from 2026-02-10 16-54-40

@yerol yerol merged commit cc35590 into develop Mar 4, 2026
@yerol yerol deleted the hide-cta-mobile branch March 4, 2026 12:14
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.

2 participants