Skip to content

Commit 4ed5096

Browse files
committed
Use pricing tables for support and sponsor pages
1 parent 1ac4a1b commit 4ed5096

File tree

5 files changed

+30
-30
lines changed

5 files changed

+30
-30
lines changed

.cspell.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
"addWords": true
1111
}
1212
],
13-
"enableFiletypes": ["ruby"]
13+
"minRandomLength": 22
1414
}

.cspell/custom-dictionary.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ browserconfig
33
callouts
44
endunless
55
jemoji
6+
prctbl
67
streetsidesoftware
78
Untruncated
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import Reach from 'react';
2+
3+
export const publishableKey = 'pk_live_51PnKbmGrYcG8NVg5hH583GvfdZi0FBx45TMymYQxpgTDcYKHUAIFW4n63G1stzqp2TXynE2fAnZc3Bpvo7L9t9f900ZDB0VHOm'; // cspell:disable-line
4+
5+
export const StripePricingTable = ({ tableId }) => (
6+
<stripe-pricing-table pricing-table-id={tableId} publishable-key={publishableKey}></stripe-pricing-table>
7+
);
8+
9+
/*
10+
<script async src="https://js.stripe.com/v3/pricing-table.js"></script>
11+
<stripe-pricing-table pricing-table-id="prctbl_1QdZ0KGrYcG8NVg5zPI9NOgd"
12+
publishable-key="pk_live_51PnKbmGrYcG8NVg5hH583GvfdZi0FBx45TMymYQxpgTDcYKHUAIFW4n63G1stzqp2TXynE2fAnZc3Bpvo7L9t9f900ZDB0VHOm">
13+
</stripe-pricing-table>
14+
*/

website/src/pages/sponsor.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ title: 'Sponsor'
44
layout: splash
55
---
66

7-
import { StripeBuyButton } from '@site/src/components/StripeBuyButton';
7+
import { StripePricingTable } from '@site/src/components/StripePricingTable';
88

99
<head>
10-
<script async src="https://js.stripe.com/v3/buy-button.js"></script>
10+
{/* <script async src="https://js.stripe.com/v3/buy-button.js"></script> */}
11+
<script async src="https://js.stripe.com/v3/pricing-table.js"></script>
1112
</head>
1213

1314
export const buttons = [
@@ -50,8 +51,7 @@ In order to dedicate resources to maintaining and improving the CSpell suite of
5051

5152
- [One Time Donation USD](https://donate.stripe.com/cN201Z4Nn9mi4Ao8wA)
5253
- [One Time Donation EUR](https://donate.stripe.com/aEUaGDcfP6a6c2Q9AB)
53-
- Individual [€5.00 EUR / month](https://buy.stripe.com/3cs5mj6Vvcyu3wk9AD)
54-
- Small Business [€10.00 EUR / month](https://buy.stripe.com/28ocOLenXdCy1oc6oo)
55-
- Business Subscription [€100.00 EUR / month](https://buy.stripe.com/8wM01Z0x7cyu5Es9AC)
5654

57-
{buttons.map((buyButtonId, key) => <StripeBuyButton key={key} buyButtonId={buyButtonId} />)}
55+
{/* {buttons.map((buyButtonId, key) => <StripeBuyButton key={key} buyButtonId={buyButtonId} />)} */}
56+
57+
<StripePricingTable tableId="prctbl_1QdZ0KGrYcG8NVg5zPI9NOgd" />

website/src/pages/support.mdx

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@ excerpt: 'Making life easier for software developers around the world.'
55
---
66

77
import { StripeBuyButton } from '@site/src/components/StripeBuyButton';
8+
import { StripePricingTable } from '@site/src/components/StripePricingTable';
9+
810

911
<head>
1012
<script async src="https://js.stripe.com/v3/buy-button.js"></script>
13+
<script async src="https://js.stripe.com/v3/pricing-table.js"></script>
1114
</head>
1215

1316
Street Side Software provides consulting services and support. The standard rate is €250/hr[^vat].
@@ -31,29 +34,7 @@ Options:
3134

3235
## Maintenance Agreements
3336

34-
### Enterprise Maintenance Plan
35-
36-
- €2000/month[^vat]
37-
- Includes 10 hours of support or feature work.[^support_hours]
38-
- Email support within 1 business day.
39-
40-
<StripeBuyButton buyButtonId={"buy_btn_1QN9ZfGrYcG8NVg5XifQNZrp"} />
41-
42-
### Standard Maintenance Plan
43-
44-
- €1000/month[^vat]
45-
- Includes 5 hours of support or feature work.[^support_hours]
46-
- Email support within 5 business days.
47-
48-
<StripeBuyButton buyButtonId={"buy_btn_1QN9XuGrYcG8NVg5K5ilLJUf"} />
49-
50-
### Basic Maintenance Plan
51-
52-
- €100/month[^vat]
53-
- Email support within 5 business days.
54-
- 10% discount on standard support rate.
55-
56-
<StripeBuyButton buyButtonId={"buy_btn_1QN9PfGrYcG8NVg5kW3G1whb"} />
37+
<StripePricingTable tableId="prctbl_1QdZZpGrYcG8NVg5ZcmTQxdz" />
5738

5839
## Contact
5940

@@ -62,3 +43,7 @@ Options:
6243
[^vat]: All rates and prices exclude VAT/BTW.
6344

6445
[^support_hours]: Support hours do NOT accrue month to month.
46+
47+
{/*
48+
cspell:ignore Qxdz
49+
*/}

0 commit comments

Comments
 (0)