Skip to content

Commit

Permalink
Update settings (#438)
Browse files Browse the repository at this point in the history
  • Loading branch information
Teddarific authored Oct 5, 2022
1 parent 0674fb1 commit 703008d
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions app/src/components/Pages/SettingsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,14 @@ function ManageSubscription() {
variant="link"
onClick={() => {
logEvent({
eventName: 'BUY_US_COFFEE',
eventName: 'Edit Subscription',
});
window.open('https://www.buymeacoffee.com/leftonread');
window.open(
'https://billing.stripe.com/p/login/eVabK06mUcNG2oE6oo'
);
}}
>
Buy us a coffee
Edit Subscription
</Button>
)}
{!isPremium && (
Expand All @@ -161,6 +163,17 @@ function ManageSubscription() {
Unlock Gold
</Button>
)}
<Button
variant="link"
onClick={() => {
logEvent({
eventName: 'BUY_US_COFFEE',
});
window.open('https://www.buymeacoffee.com/leftonread');
}}
>
Buy us a coffee
</Button>
</Box>
);
}
Expand Down Expand Up @@ -257,7 +270,7 @@ export function SettingsPage() {
<ContactUs />
</SettingsCard>
<SettingsCard
title={isPremium ? 'Gold is unlocked 🎉' : 'Get Left on Read Gold'}
title={isPremium ? 'Manage Subscription' : 'Get Left on Read Gold'}
icon={FiAward}
description={
isPremium
Expand Down

0 comments on commit 703008d

Please sign in to comment.