Skip to content

Commit 59c363e

Browse files
authored
fix: Add buy buttons to support page (#87)
1 parent 9738ee4 commit 59c363e

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"lint": "prettier --check .",
99
"lint:fix": "prettier --write .",
1010
"spell-check": "npx cspell --dot .",
11+
"update": "npx npm-check-updates --root -ws --interactive",
1112
"update:packages": "npx npm-check-updates --root -ws --target semver -u && npm i"
1213
},
1314
"workspaces": [

website/src/pages/sponsor.mdx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,12 @@ import { StripeBuyButton } from '@site/src/components/StripeBuyButton';
1010
<script async src="https://js.stripe.com/v3/buy-button.js"></script>
1111
</head>
1212

13-
{/* cspell:disable-next-line */}
14-
export const publishableKey = 'pk_live_51PnKbmGrYcG8NVg5hH583GvfdZi0FBx45TMymYQxpgTDcYKHUAIFW4n63G1stzqp2TXynE2fAnZc3Bpvo7L9t9f900ZDB0VHOm';
1513
export const buttons = [
1614
"buy_btn_1PsVVRGrYcG8NVg5wVvjZ3CQ",
1715
"buy_btn_1PnL9HGrYcG8NVg5oLi6p3t7",
1816
"buy_btn_1PslZyGrYcG8NVg5enjWmYFe"
1917
]
2018

21-
{ /*
22-
export const StripeBuyButton = ({ buyButtonId }) => (<><stripe-buy-button buy-button-id={buyButtonId} publishable-key={publishableKey}></stripe-buy-button></>)
23-
*/
24-
}
25-
2619
# Sponsor Street Side Software
2720

2821
{/*

website/src/pages/support.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ title: 'Support'
44
excerpt: 'Making life easier for software developers around the world.'
55
---
66

7+
import { StripeBuyButton } from '@site/src/components/StripeBuyButton';
8+
9+
<head>
10+
<script async src="https://js.stripe.com/v3/buy-button.js"></script>
11+
</head>
12+
713
Street Side Software provides consulting services and support. The standard rate is €250/hr[^vat].
814

915
## Reporting Basic Issues
@@ -31,18 +37,24 @@ Options:
3137
- Includes 10 hours of support or feature work.[^support_hours]
3238
- Email support within 1 business day.
3339

40+
<StripeBuyButton buyButtonId={"buy_btn_1QN9ZfGrYcG8NVg5XifQNZrp"} />
41+
3442
### Standard Maintenance Plan
3543

3644
- €1000/month[^vat]
3745
- Includes 5 hours of support or feature work.[^support_hours]
3846
- Email support within 5 business days.
3947

48+
<StripeBuyButton buyButtonId={"buy_btn_1QN9XuGrYcG8NVg5K5ilLJUf"} />
49+
4050
### Basic Maintenance Plan
4151

4252
- €100/month[^vat]
4353
- Email support within 5 business days.
4454
- 10% discount on standard support rate.
4555

56+
<StripeBuyButton buyButtonId={"buy_btn_1QN9PfGrYcG8NVg5kW3G1whb"} />
57+
4658
## Contact
4759

4860

0 commit comments

Comments
 (0)