From d093b3d0c246310a3217be3f63f66b2dcd6283ac Mon Sep 17 00:00:00 2001 From: Travis Miller Date: Sat, 30 Dec 2023 15:08:03 -0600 Subject: [PATCH] Update dues for 2024 --- bylaws.md | 2 +- src/pages/bylaws.js | 2 +- src/pages/dues.js | 74 +++++++++++++++------------------------------ 3 files changed, 27 insertions(+), 51 deletions(-) diff --git a/bylaws.md b/bylaws.md index 84a6ab2..4ba30ff 100644 --- a/bylaws.md +++ b/bylaws.md @@ -20,7 +20,7 @@ There shall be one class of membership. This membership shall be allowed one vot ### Section 2. Dues -Dues to be a member in good standing shall be $15 per individual/$20 per household (two adult votes per household)/ $30 per business membership (one vote per membership.) Dues are for one year beginning January 1st and ending December 31st. This dues structure is effective the January 1st after the amended date listed above. +Dues to be a member in good standing shall be $15 per individual / $20 per household (two adult votes per household) / $30 per business membership (one vote per membership.) Dues are for one year beginning January 1st and ending December 31st. This dues structure is effective the January 1st after the amended date listed above. ### Section 3. Meetings diff --git a/src/pages/bylaws.js b/src/pages/bylaws.js index 746a75b..4112b35 100644 --- a/src/pages/bylaws.js +++ b/src/pages/bylaws.js @@ -30,7 +30,7 @@ export default function Bylaws() {

Section 2. Dues

-

Dues to be a member in good standing shall be $15 per individual/$20 per household (two adult votes per household)/ $30 per business membership (one vote per membership.) Dues are for one year beginning January 1st and ending December 31st. This dues structure is effective the January 1st after the amended date listed above.

+

Dues to be a member in good standing shall be $15 per individual / $20 per household (two adult votes per household) / $30 per business membership (one vote per membership.) Dues are for one year beginning January 1st and ending December 31st. This dues structure is effective the January 1st after the amended date listed above.

Section 3. Meetings

diff --git a/src/pages/dues.js b/src/pages/dues.js index 92cd842..cb7d50a 100644 --- a/src/pages/dues.js +++ b/src/pages/dues.js @@ -1,37 +1,25 @@ import React from 'react' -import Link from 'next/link' +import PropTypes from 'prop-types' import Title from '@/components/title' import Banner from '@/components/banner' import Section from '@/components/section' import RitzBanner from '@/images/wix/banners/RitzBanner.jpg' import styles from '@/styles/dues.module.css' -const PayPalSingle = () => ( -
- - - - - - - - - - - - - -
-) +const RATES = { + couples: 20, + singles: 15, + business: 30, +} -const PayPalCouples = () => ( +const PayPalBuyNowForm = ({ rate, itemName, itemNumber }) => (
- - - + + + @@ -41,27 +29,15 @@ const PayPalCouples = () => (
) +PayPalBuyNowForm.propTypes = { + rate: PropTypes.number.isRequired, + itemName: PropTypes.string.isRequired, + itemNumber: PropTypes.string.isRequired, +} -const PayPalBusiness = () => ( -
- - - - - - - - - - - - - -
-) +const rate = value => value.toLocaleString('en-US', { style: 'currency', currency: "USD" }).replace('.00', '') + '/year' export default function Dues() { - return <> Dues @@ -80,9 +56,9 @@ export default function Dues() {
Rates

@@ -106,14 +82,14 @@ export default function Dues() {

Online Payments
-

Couples Rate

- +

Couples Rate - {rate(RATES.couples)}

+ -

Single Rate

- +

Single Rate - {rate(RATES.singles)}

+ -

Business Rate

- +

Business Rate - {rate(RATES.business)}

+