This repository has been archived on 2025-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
Files
caldwell-59/partials/common/content-cta.hbs
Nikolaos Karaolidis 7f53d88f50 Add text variant
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
2024-09-11 23:04:32 +03:00

27 lines
931 B
Handlebars

{{{html}}}
<div class="gh-cta-gradient"></div>
<section class="gh-cta">
{{#has visibility="paid"}}
<h4 class="gh-cta-title">This post is for paying subscribers only</h4>
{{/has}}
{{#has visibility="members"}}
<h4 class="gh-cta-title">This post is for subscribers only</h4>
{{/has}}
{{#has visibility="filter"}}
<h4 class="gh-cta-title">This post is for subscribers on the {{tiers}} only</h4>
{{/has}}
<div class="gh-cta-actions">
{{#if @member}}
<button class="gh-btn gh-primary-btn" href="#/portal/account/plans" data-portal="account/plans">
Upgrade now
</button>
{{else}}
<button class="gh-btn gh-primary-btn" href="#/portal/signup" data-portal="signup">Subscribe now</button>
<span class="gh-cta-link" href="#/portal/signin" data-portal="signin">Already have an account? Sign in.</span>
{{/if}}
</div>
</section>