Browse Source

Adds promo messaging

main
Ramin Tadayon 1 year ago
parent
commit
29a8dece64
No known key found for this signature in database GPG Key ID: 79D60DDE3DFB95F5
2 changed files with 12 additions and 0 deletions
  1. +8
    -0
      src/webviews/apps/plus/account/components/account-content.ts
  2. +4
    -0
      src/webviews/apps/plus/shared/components/feature-gate-plus-state.ts

+ 8
- 0
src/webviews/apps/plus/account/components/account-content.ts View File

@ -187,6 +187,10 @@ export class AccountContent extends LitElement {
Your GitKraken trial has ended, please upgrade to continue to use features on privately Your GitKraken trial has ended, please upgrade to continue to use features on privately
hosted repos. hosted repos.
</p> </p>
<p>
Special: <b>50% off GitKraken's suite of dev tools</b><br />
1st & 2nd seats only $4/month each
</p>
<button-container> <button-container>
<gl-button full href="command:gitlens.plus.purchase">Upgrade to Pro</gl-button> <gl-button full href="command:gitlens.plus.purchase">Upgrade to Pro</gl-button>
</button-container> </button-container>
@ -212,6 +216,10 @@ export class AccountContent extends LitElement {
${this.daysRemaining} remaining in your GitKraken trial.`} ${this.daysRemaining} remaining in your GitKraken trial.`}
Once your trial ends, you'll need a paid plan to continue using features. Once your trial ends, you'll need a paid plan to continue using features.
</p> </p>
<p>
Special: <b>50% off GitKraken's suite of dev tools</b><br />
1st & 2nd seats only $4/month each
</p>
<button-container> <button-container>
<gl-button full href="command:gitlens.plus.purchase">Upgrade to Pro</gl-button> <gl-button full href="command:gitlens.plus.purchase">Upgrade to Pro</gl-button>
</button-container> </button-container>

+ 4
- 0
src/webviews/apps/plus/shared/components/feature-gate-plus-state.ts View File

@ -99,6 +99,10 @@ export class FeatureGatePlusState extends LitElement {
Your GitKraken trial has ended, please upgrade to continue to use this on privately hosted Your GitKraken trial has ended, please upgrade to continue to use this on privately hosted
repos. repos.
</p> </p>
<p style="text-align: center;">
Special: <b>50% off GitKraken's suite of dev tools</b><br />
1st & 2nd seats only $4/month each
</p>
<gl-button appearance="${appearance}" href="command:gitlens.plus.purchase" <gl-button appearance="${appearance}" href="command:gitlens.plus.purchase"
>Upgrade to Pro</gl-button >Upgrade to Pro</gl-button
> >

Loading…
Cancel
Save