diff --git a/src/components/DonationFormWrapper.tsx b/src/components/DonationFormWrapper.tsx
new file mode 100644
index 0000000..00f9f58
--- /dev/null
+++ b/src/components/DonationFormWrapper.tsx
@@ -0,0 +1,33 @@
+import { Elements } from '@stripe/react-stripe-js';
+import { loadStripe } from '@stripe/stripe-js';
+import { DonationForm, type DonateProps } from './DonationForm';
+import { type ReactNode } from 'react';
+
+const stripePromise = loadStripe(import.meta.env.PUBLIC_STRIPE_KEY);
+
+interface DonationFormWrapperProps {
+ formProps: DonateProps;
+ campaignProgress?: ReactNode;
+ disableDialog?: boolean;
+}
+
+export const DonationFormWrapper = ({ formProps, campaignProgress, disableDialog }: DonationFormWrapperProps) => {
+ const options = {
+ mode: 'payment' as const,
+ amount: 100,
+ currency: 'usd',
+ appearance: {
+ theme: 'stripe' as const,
+ },
+ };
+
+ return (
+
Region: {region} @@ -46,47 +46,49 @@ const imageUrl = imageBuilder.image(image).width(600).fit('crop').url();
Gender: {gender}
- + |{gtlId}
Focus: {focus}
{bio}
diff --git a/src/pages/global-translation-leaders.astro b/src/pages/global-translation-leaders.astro
index 3b1448f..b2fbe0a 100644
--- a/src/pages/global-translation-leaders.astro
+++ b/src/pages/global-translation-leaders.astro
@@ -2,6 +2,7 @@
import Layout from '../layouts/Layout.astro';
import SponsorCards from '../components/SponsorCards.astro';
import { sanityClient as sanity } from 'sanity:client';
+import '../styles/global.css'
const sponsors = await sanity.fetch(`*[_type == "sponsor"]{
name,
@@ -16,13 +17,8 @@ const sponsors = await sanity.fetch(`*[_type == "sponsor"]{
}`);
---
Seed Company's Global Translation Leaders (GTL) program is supported by generous investors who understand the power of training and leadership in Bible translation. Sponsors include individuals, families, small groups, churches, businesses, and foundations who are committed to seeing Bible translation advance around the globe. There's no one-size-fits-all approach to Bible translation. Each people group and culture is different. That's why Seed Company works alongside local partners—who know their own languages and cultures best—to translate Scripture efficiently and accurately. Over the past thirty years, Seed Company has been honored to support Bible translation leaders through internship-focused training. To date, we've supported over 900 translation leaders (and counting!) in this program. Now, we're excited to share the ability to sponsor individual participants, giving investors a unique opportunity to understand the culture, the language, the challenges, and the opportunities an individual translation leader is navigating! Region: {sponsor.region} Gender: {sponsor.gender} GTL ID: {sponsor.gtlId} {sponsor.bio}
Global Translation Leaders
@@ -81,8 +77,8 @@ const sponsors = await sanity.fetch(`*[_type == "sponsor"]{
About GTL
Our Approach
900+ Leaders
@@ -122,8 +118,8 @@ const sponsors = await sanity.fetch(`*[_type == "sponsor"]{
Sponsor a Global Translation Leader:
{sponsor.name}
+ {sponsor.name}
Biography