import React from 'react'; import { Heart, Shield, Camera, TreePine } from 'lucide-react'; import { api, Campaign } from '@/lib/api'; import DonationCard from '../components/DonationCard'; const FALLBACK_CAMPAIGNS: Campaign[] = [ { id: '1', title: 'Land Preservation Fund', description: 'Help CCFW acquire and protect critical burrowing owl habitat before developers can build on it.', goal: 50000, raised: 31250, }, { id: '2', title: 'Volunteer Equipment', description: 'Fund field monitors, spotting scopes, GPS units, and protective gear for our volunteer teams.', goal: 15000, raised: 9800, }, { id: '3', title: 'Camera Infrastructure', description: 'Expand our network of wildlife cameras. Each camera streams 24/7 and reaches thousands of viewers.', goal: 25000, raised: 14200, }, ]; const icons = [TreePine, Shield, Camera]; async function getCampaigns(): Promise { try { return await api.getCampaigns(); } catch { return FALLBACK_CAMPAIGNS; } } export default async function DonatePage() { const campaigns = await getCampaigns(); return (
Support Conservation

Help Protect Cape Coral Wildlife

Every dollar goes directly to protecting burrowing owls, gopher tortoises, and native Florida wildlife. CCFW is a 501(c)(3) nonprofit — your donation is tax deductible.

{/* Impact banner */}
{[ { icon: icons[0], title: 'Land Preserved', value: '150+ acres' }, { icon: icons[1], title: 'Burrows Monitored', value: '2,000+' }, { icon: icons[2], title: 'Live Cameras', value: '12 active' }, ].map(({ icon: Icon, title, value }) => (
{value}
{title}
))}
{/* Campaign cards */}

Active Campaigns

{campaigns.map((c) => )}
{/* Trust signals */}

Secure & Tax-Deductible

Cape Coral Friends of Wildlife is a registered 501(c)(3) nonprofit organization. All donations are tax-deductible to the fullest extent permitted by law. We never sell your information. Payment processing powered by Stripe.

); }