feat(join): cadence selector with annual pricing (monthly×10)

Radio-pair cadence selector (Monthly / Annual) added to the join form,
reusing the existing .circle-radio styling. contributionItems computed
reactively; all tier labels and the left-column price list update on
toggle. cadence submitted with the subscription payload. payment-setup
hardcoded to monthly (annual upgrades go through /join).
This commit is contained in:
Jennie Robinson Faber 2026-04-18 17:59:10 +01:00
parent 0eeed94772
commit cd0d3f7167
2 changed files with 61 additions and 15 deletions

View file

@ -128,7 +128,8 @@ const openModal = async () => {
await $fetch('/api/members/update-contribution', {
method: 'POST',
body: { contributionTier: targetTier.value },
// cadence: annual upgrades go through /join; this page is monthly-only
body: { contributionTier: targetTier.value, cadence: 'monthly' },
});
await checkMemberStatus();