diff --git a/public/figma-home/downloaded-node-2800-19876.png b/public/figma-home/downloaded-node-2800-19876.png new file mode 100644 index 0000000..5ce7254 Binary files /dev/null and b/public/figma-home/downloaded-node-2800-19876.png differ diff --git a/public/figma-home/downloaded-node-2800-19884.png b/public/figma-home/downloaded-node-2800-19884.png new file mode 100644 index 0000000..56a8f49 Binary files /dev/null and b/public/figma-home/downloaded-node-2800-19884.png differ diff --git a/public/figma-home/downloaded-node-2800-19886.png b/public/figma-home/downloaded-node-2800-19886.png new file mode 100644 index 0000000..738c2ae Binary files /dev/null and b/public/figma-home/downloaded-node-2800-19886.png differ diff --git a/public/figma-home/downloaded-node-2800-19890.png b/public/figma-home/downloaded-node-2800-19890.png new file mode 100644 index 0000000..8b7e6ad Binary files /dev/null and b/public/figma-home/downloaded-node-2800-19890.png differ diff --git a/public/figma-home/downloaded-node-2800-19892.png b/public/figma-home/downloaded-node-2800-19892.png new file mode 100644 index 0000000..1dfc91d Binary files /dev/null and b/public/figma-home/downloaded-node-2800-19892.png differ diff --git a/public/figma-home/downloaded-node-2863-17140.png b/public/figma-home/downloaded-node-2863-17140.png new file mode 100644 index 0000000..df222d5 Binary files /dev/null and b/public/figma-home/downloaded-node-2863-17140.png differ diff --git a/src/features/marketing/components/donation-hero-section.tsx b/src/features/marketing/components/donation-hero-section.tsx index 069e895..c252243 100644 --- a/src/features/marketing/components/donation-hero-section.tsx +++ b/src/features/marketing/components/donation-hero-section.tsx @@ -10,56 +10,51 @@ export function DonationHeroSection() {

- Your Support Keeps Someone in the Game + Changing Lives Through Education, Advocacy & Hope{" "}

-

- When AI changes the rules, not everyone gets the manual. - ModernAdvocates Inc. makes sure the people who need it most - don't get left behind. +

+ Modern Advocates equips people facing life’s unexpected challenges + with the knowledge, technology, and support needed to move forward + with confidence.

-
- Melanie Reyes, founder of ModernAdvocates Inc. -
+ Melanie Reyes, founder of ModernAdvocates Inc.
-

- Melanie Reyes +

+ Melanie And Will

-

Founder

+

Founders

- I built this organization because I lived the gap it's - filling. Every dollar you give goes directly to someone - navigating what I once navigated alone. -

-

- Interested in partnering, granting, or investing? Reach out - here. -

-

+ We know what it’s like when illness changes everything. +

Our journey with endometriosis affected nearly + every part of our lives—our health, careers, finances, + relationships, and future. Along the way, Jehovah answered our + prayers through the kindness and generosity of others.
{" "} +
Modern Advocates was created to extend that same hope.{" "} +

+ Today, we help people facing chronic illness, disability, and + financial hardship discover practical pathways forward through + education, AI, health advocacy, and community support.
+
ModernAdvocates Inc. is a 501(c)(3) nonprofit organization. EIN: - [insert]. All donations are tax-deductible to the full extent + 42-3785190. All donations are tax-deductible to the full extent permitted by law.

-

- Melanie Reyes, -
- Founder -

diff --git a/src/features/marketing/components/donation-support-section.tsx b/src/features/marketing/components/donation-support-section.tsx index bc92f31..f7bde26 100644 --- a/src/features/marketing/components/donation-support-section.tsx +++ b/src/features/marketing/components/donation-support-section.tsx @@ -11,8 +11,13 @@ import { Field, FieldError, FieldLabel } from "@/shared/ui/field" import { MarketingButton } from "@/shared/ui/marketing-button" import { Input } from "@/shared/ui/input" import { apiFetch } from "@/shared/lib/api-fetch" +import DonationForm from "./donation-form" -const donationTypes = ["Fixed Donation", "Tier Donation", "Monthly Pay"] as const +const donationTypes = [ + "Fixed Donation", + "Tier Donation", + "Monthly Pay", +] as const const donationAmounts = [100, 200, 1000] const donationFormSchema = z.object({ @@ -46,7 +51,8 @@ export function DonationSupportSection() { const watchedDonationType = form.watch("donationType") const showAmountSelector = - watchedDonationType === "Tier Donation" || watchedDonationType === "Monthly Pay" + watchedDonationType === "Tier Donation" || + watchedDonationType === "Monthly Pay" async function onSubmit(data: z.infer) { setSubmitting(true) @@ -63,229 +69,31 @@ export function DonationSupportSection() { window.location.href = result.url } catch (err) { - toast.error(err instanceof Error ? err.message : "Something went wrong. Please try again.") + toast.error( + err instanceof Error + ? err.message + : "Something went wrong. Please try again." + ) setSubmitting(false) } } return ( -
-
+
+
-

- Support us and make a difference for the future! +

+ Invest in Hope

- Together, we can make a real impact in communities around the world. - Help us bring hope and support. + Your gift helps fund:

+ AI & Digital Skills Education, Health Advocacy, Patient Resource + Navigation, Workforce Readiness, Chronic Illness Support, and + Endometriosis Education.

-
-
-

- Make Your Donation -

-
- - ( - - - Type of Donation - - -
- {donationTypes.map((type) => ( - - ))} -
- {fieldState.invalid && } -
- )} - /> - - {showAmountSelector ? ( - ( - - -
- {donationAmounts.map((amount) => ( - - ))} -
- {fieldState.invalid && } -
- )} - /> - ) : ( - ( - - -
- field.onChange(parseFloat(e.target.value) || 0)} - aria-invalid={fieldState.invalid} - className="h-10 rounded-[6px] border-border bg-white px-4 py-2.5 pr-10 text-base placeholder:text-muted-foreground" - /> - -
- {fieldState.invalid && } -
- )} - /> - )} - -
-

- Personal Info -

- - ( - - - Full Name - - - {fieldState.invalid && } - - )} - /> - - ( - - - Email - - - {fieldState.invalid && } - - )} - /> -
- - ( - - field.onChange(e.target.checked)} - aria-invalid={fieldState.invalid} - className="mt-1 size-[18px] shrink-0 rounded border-border bg-white accent-ma-text" - /> - - {fieldState.invalid && } - - )} - /> - - - {submitting && - +
) diff --git a/src/features/marketing/components/footer.tsx b/src/features/marketing/components/footer.tsx index 8e5ddb9..639ac6c 100644 --- a/src/features/marketing/components/footer.tsx +++ b/src/features/marketing/components/footer.tsx @@ -13,7 +13,7 @@ export function Footer() { return (