Skip to content

Commit

Permalink
Stop changing VPN nav CTA button color (Fixes #15250) (#15256)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgibson authored Oct 8, 2024
1 parent ef6c8e7 commit 6e500c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bedrock/products/templates/products/vpn/includes/macros.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,11 @@ <h2 class="vpn-hero-sub-heading">{{ subheading }}</h2>
<div class="vpn-nav-cta">
{% if vpn_available %}
{% set pricing_url = '#pricing' if request.path.endswith('/products/vpn/') else url('products.vpn.landing') + '#pricing' %}
<a class="mzp-c-button mzp-t-secondary mzp-t-md" href="{{ pricing_url }}" data-cta-text="Get Mozilla VPN" data-cta-position="navigation" data-testid="get-mozilla-vpn-nav-button">
<a class="mzp-c-button mzp-t-secondary mzp-t-product mzp-t-md" href="{{ pricing_url }}" data-cta-text="Get Mozilla VPN" data-cta-position="navigation" data-testid="get-mozilla-vpn-nav-button">
{{ ftl('vpn-shared-subscribe-link') }}
</a>
{% else %}
<a class="mzp-c-button mzp-t-secondary mzp-t-md" href="{{ url('products.vpn.invite') }}" data-cta-text="Join the VPN Waitlist" data-cta-position="navigation" data-testid="join-waitlist-nav-button">
<a class="mzp-c-button mzp-t-secondary mzp-t-product mzp-t-md" href="{{ url('products.vpn.invite') }}" data-cta-text="Join the VPN Waitlist" data-cta-position="navigation" data-testid="join-waitlist-nav-button">
{{ ftl('vpn-shared-waitlist-link') }}
</a>
{% endif %}
Expand Down

0 comments on commit 6e500c2

Please sign in to comment.