mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-19 16:42:17 +03:00
488d9bb135
no issue - Ghost users that make >= $100 MRR will see a dismissible notification that invites them to the Ghost Referral program - Only applies to Admin and Owner users and when Stripe is setup and connected in live mode - By saving a `referralInviteDismissed` property to the users' `accessibility` JSON object we can determine if the notification has been dismissed and won't show it again - Added new `gh-referral-invite` component
10 lines
644 B
Handlebars
10 lines
644 B
Handlebars
{{#if this.showReferralInvite}}
|
|
<div class="gh-referral-toast">
|
|
<button class="gh-referral-toast-close" type="button" {{on "click" this.dismissReferralInvite}}>×</button>
|
|
<a href="https://referrals.ghost.org/?ref=admin" target="_blank" rel="noopener noreferrer">
|
|
<strong>You qualify for our invite-only referral program.</strong>
|
|
<p class="gh-footer-toast-p">Refer people to Ghost and earn a <strong>30% share</strong> of the subscription revenue, every single month.</p>
|
|
<div class="gh-btn gh-btn-black gh-referral-toast-button" type="button"><span>Find out more →</span></div>
|
|
</a>
|
|
</div>
|
|
{{/if}} |