Use data attribute for Portal links

This commit is contained in:
Sodbileg Gansukh 2021-11-24 10:50:46 +08:00
parent cad48b230c
commit c1006ec649
2 changed files with 3 additions and 3 deletions

View File

@ -61,9 +61,9 @@
</div>
{{#unless @member}}
<a class="gh-head-button" href="#/portal/signup">Subscribe</a>
<a class="gh-head-button" href="#/portal/signup" data-portal="signup">Subscribe</a>
{{else}}
<a class="gh-head-button" href="#/portal/account">Account</a>
<a class="gh-head-button" href="#/portal/account" data-portal="account">Account</a>
{{/unless}}
</div>
</nav>

View File

@ -88,7 +88,7 @@ into the {body} tag of the default.hbs template --}}
<section class="footer-cta {{#match @custom.email_signup_for_logged_out_visitors "Bottom of post"}}cta-alt{{/match}}">
<div class="inner">
{{#if @custom.email_signup_text}}<h2>{{@custom.email_signup_text}}</h2>{{/if}}
<a class="footer-cta-button" href="#/portal">
<a class="footer-cta-button" href="#/portal" data-portal>
<div class="footer-cta-input">Enter your email</div>
<span>Subscribe</span>
</a>