Skip to content

Commit

Permalink
Remove commented code and wrap cta email link in a conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
helenb committed Jul 22, 2024
1 parent 3a25547 commit 3dfcbb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
<div class="footer-cta__button-wrapper">
<a href="{{ contact_link }}" class="button footer-cta__button">{{ contact_action }}</a>

<p class="footer-cta__email-wrapper"><a class="footer-cta__email" href="mailto:{{ contact_email }}">{{ contact_email }}</a></p>
{% if contact_email %}
<p class="footer-cta__email-wrapper"><a class="footer-cta__email" href="mailto:{{ contact_email }}">{{ contact_email }}</a></p>
{% endif %}
</div>

</div>
Expand Down
1 change: 0 additions & 1 deletion tbx/static_src/sass/components/_footer-cta.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,5 @@

&__email {
@include link-styles();
//@include focus-styles();
}
}

0 comments on commit 3dfcbb7

Please sign in to comment.