Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#10 + #11 Sustaining Memberships Page #15

Merged
merged 6 commits into from
Feb 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions nefac-website/src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
--foreground: #171717;
}

@media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: white) {
:root {
--background: #0a0a0a;
--foreground: #ededed;
--background: #ededed;
--foreground: #0a0a0a;
}
}

Expand Down
137 changes: 137 additions & 0 deletions nefac-website/src/app/sustaining-memberships/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
'use client';

import { Inter, Poppins } from 'next/font/google';
import React from 'react';

const inter = Inter({
weight: [ '400', '500', '600', '700'],
subsets: ['latin']
});
const poppins = Poppins({
weight: ['400', '500', '600', '700'],
subsets: ['latin']
});

const styles = {
mainBlue: 'rgba(47,92,159,1)',
textBox: `bg-[rgba(47,92,159,1)] text-white py-7 px-6 rounded-[24px] text-[15px]`,
planCard: `bg-white border-[4px] border-[rgba(47,92,159,1)] rounded-[24px] p-4 pt-12 flex flex-col items-center shadow-md`,
planType: `w-[95%] mx-auto bg-[rgba(47,92,159,1)] text-white text-center py-2 rounded-full text-2xl mb-8 font-medium`,
priceContainer: `text-center mb-10`,
priceWrapper: `flex items-end justify-center gap-1`,
dollarSign: `text-[rgba(31,31,31,1)] text-3xl self-end leading-none`,
priceNumber: `text-[rgba(47,92,159,1)] text-6xl font-bold leading-none translate-y-1`,
priceYear: `text-[rgba(174,174,174,1)] text-2xl self-end leading-none font-semibold`,
planButton: `bg-[rgba(47,92,159,1)] text-white px-5 py-2 mb-2 rounded-full hover:bg-[rgba(37,73,127,1)] transition-colors text-center text-m font-medium no-underline`,
gradientText: `text-2xl font-bold mb-4 bg-gradient-to-r from-[rgba(70,71,88,1)] to-[rgba(13,22,126,1)] text-transparent bg-clip-text`,
linkText: `underline`
} as const;

const SustainingMembershipsPage: React.FC = () => {
return (
<main className={`${inter.className} max-w-6xl mx-auto px-4 py-12`}>
<h1 className={`${poppins.className} text-5xl font-bold text-[${styles.mainBlue}] mb-12`}>
Sustaining Memberships
</h1>

<div className="grid md:grid-cols-2 gap-12">
<div className={`${poppins.className} ${styles.textBox}`}>
<p className="mb-6">
At the highest levels of government, the press is denounced as "the enemy of the people." Media outlets are derided as purveyors of "fake news." Reporters covering events are being threatened with violence and even assaulted.
</p>
<p className="mb-6">
Government officials are impeding press and citizen access to public records. They are withholding vital information about matters of public interest.
</p>
<p>
NEFAC is pushing back. We invite you to join the fight by becoming a sustaining member of our coalition of journalists, attorneys, educators and concerned citizens working to protect First Amendment freedoms and the public's right know about their government.
</p>
</div>

<div>
<h2 className={styles.gradientText}>
Membership Plans
</h2>
<div className="grid md:grid-cols-2 gap-8">
<div className={styles.planCard}>
<div className={styles.planType}>
INDIVIDUAL
</div>
<div className={styles.priceContainer}>
<div className={styles.priceWrapper}>
<span className={styles.dollarSign}>$</span>
<span className={styles.priceNumber}>50</span>
<span className={styles.priceYear}>/year</span>
</div>
</div>
<a
href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=C5TZ8H969KLV6"
target="_blank"
rel="noopener noreferrer"
className={styles.planButton}
>
Choose Plan
</a>
</div>

<div className={styles.planCard}>
<div className={styles.planType}>
STUDENT
</div>
<div className={styles.priceContainer}>
<div className={styles.priceWrapper}>
<span className={styles.dollarSign}>$</span>
<span className={styles.priceNumber}>20</span>
<span className={styles.priceYear}>/year</span>
</div>
</div>
<a
href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=A7JYPNF3YK7UA"
target="_blank"
rel="noopener noreferrer"
className={styles.planButton}
>
Choose Plan
</a>
</div>
</div>
</div>
</div>

<div className="mt-16 grid md:grid-cols-2 gap-12">
<div>
<h2 className={styles.gradientText}>Previous Perks</h2>
<ul className="space-y-3 text-lg list-square pl-4">
<li>Free Hardcopy of "#FreePress: A Collection of Essays"</li>
<li>Complimentary Tickets to New England First Amendment Awards</li>
<li><a href="#" className={styles.linkText}>First Amendment & Free Press</a></li>
<li><a href="#" className={styles.linkText}>FOI Guides</a></li>
<li><a href="#" className={styles.linkText}>Legal Briefs, Letters & Statements</a></li>
<li><a href="#" className={styles.linkText}>NEFAC Mentors</a></li>
<li><a href="#" className={styles.linkText}>Negri Institute</a></li>
</ul>
</div>

<div>
<h2 className={styles.gradientText}>Want to gift a membership?</h2>
<p className="text-lg">
Just purchase one of the plans above and <span className="font-bold">send the recipient's name and email address to{' '}
<a href="mailto:[email protected]" className={styles.linkText}>
[email protected]
</a>
.</span>
</p>
</div>
</div>

<div className="mt-12 text-lg">
<p>
Thank you for joining NEFAC and being a part of this important fight to protect our most cherished freedoms.
Your annual contribution will provide vital support for NEFAC's programs. By becoming a sustaining member,
you will be able to engage with NEFAC in new ways and to network with our members, supporters and Board of Directors.
</p>
</div>
</main>
);
};

export default SustainingMembershipsPage;
3 changes: 3 additions & 0 deletions nefac-website/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ export default {
foreground: "var(--foreground)",
nefacblue: "#2F5C9F",
},
listStyleType: {
square: 'square'
}
},
},
plugins: [],
Expand Down