diff options
| author | Joe Carstairs <118172583+jcarstairs-scottlogic@users.noreply.github.com> | 2024-01-25 16:59:42 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-25 16:59:42 +0000 |
| commit | 1a6eb7e2ff0bf551e1560c67170e90fa8ec2a8ea (patch) | |
| tree | 53f73dcca5693e656d50fac965955560a513a233 /src/data | |
| parent | 83c3460191a2089b56b091a7f4e09f39ac636e1e (diff) | |
33 / Pay annual subscription by PayPal (#68)
* Refactors paypal-buttons -> paypal-product-buttons WebComponent
* Pulls out address to data file
* Defines annual subscription prices data hash
* Styles paypal-product-buttons
* Styles <address>
* Details have cursor:pointer on the summary
* Moves Jyne section to separate page
* Rewrites payment options using details components
* Reworks translation typing
* Defines MembershipType enum
* Adds translations for MembershipType enum
* Can pay annual subs by PayPal
* Styles tables better
Diffstat (limited to 'src/data')
| -rw-r--r-- | src/data/contactDetails.ts | 16 | ||||
| -rw-r--r-- | src/data/subscriptionPrices.ts | 7 |
2 files changed, 23 insertions, 0 deletions
diff --git a/src/data/contactDetails.ts b/src/data/contactDetails.ts index f5de6f5..2357b6e 100644 --- a/src/data/contactDetails.ts +++ b/src/data/contactDetails.ts @@ -1,8 +1,24 @@ export default { membershipSecretary: { emailAddress: 'lallans@hotmail.co.uk', + address: [ + 'Scots Language Society', + 'c/o 61 Cliffburn Road', + 'Arbroath', + 'Angus', + 'DD11 5BA', + 'United Kingdom', + ], }, generalEnquiries: { emailAddress: 'lallans@hotmail.co.uk', + address: [ + 'Scots Language Society', + 'c/o 61 Cliffburn Road', + 'Arbroath', + 'Angus', + 'DD11 5BA', + 'United Kingdom', + ], }, }; diff --git a/src/data/subscriptionPrices.ts b/src/data/subscriptionPrices.ts new file mode 100644 index 0000000..c52d902 --- /dev/null +++ b/src/data/subscriptionPrices.ts @@ -0,0 +1,7 @@ +import MembershipType from '$enums/MembershipType'; + +export const annualSubscriptionPrice: { [key in MembershipType]: number } = { + [MembershipType.IndividualUk]: 20.0, + [MembershipType.IndividualNonUk]: 30.0, + [MembershipType.InstitutionUk]: 25.0, +}; |
