'use client' import { useState } from 'react' import { Radio, RadioGroup } from '@headlessui/react' import clsx from 'clsx' import { Button } from '@/components/Button' import { Container } from '@/components/Container' import { Logomark } from '@/components/Logo' const plans = [ { name: 'Starter', featured: false, price: { Monthly: '$0', Annually: '$0' }, description: 'Perfect for small teams and early-stage initiatives getting started with community engagement.', button: { label: 'Launch for Free', href: '/register', }, features: [ 'Up to 1,000 members', 'Built-in community tools (forums, updates, events)', 'Basic learning paths', 'Donations & campaigns', 'Your logo & colors', 'ThreeFold subdomain (yourname.ThreeFold.org)', 'Email support', ], logomarkClassName: 'fill-gray-300', }, { name: 'Impact', featured: true, price: { Monthly: '$89', Annually: '$890' }, description: 'For growing organizations ready to scale impact, train supporters, and fundraise with confidence.', button: { label: 'Get Started', href: '/register', }, features: [ 'Up to 25,000 members', 'Advanced training with AI-powered content', 'Multilingual support', 'Peer-to-peer fundraising tools', 'Impact dashboards & metrics', 'Full branding (custom domain, logo, colors)', 'API access + integrations (Mailchimp, CRM)', 'Priority support', ], logomarkClassName: 'fill-cyan-500', }, { name: 'Sovereign', featured: false, price: { Monthly: 'Custom', Annually: 'Custom' }, description: 'Best for large-scale networks and institutions with custom needs, privacy requirements, or regional infrastructure.', button: { label: 'Contact Sales', href: '/contact', }, features: [ 'Unlimited members & projects', 'White-label platform (yourname.org)', 'Self-host or deploy in your region', 'Custom integrations & AI assistants', 'Field-level data collection', 'Dedicated success manager', 'Onboarding & migration support', '24/7 enterprise-grade support', ], logomarkClassName: 'fill-gray-500', }, ] function CheckIcon(props: React.ComponentPropsWithoutRef<'svg'>) { return ( ) } function Plan({ name, price, description, button, features, activePeriod, logomarkClassName, featured = false, }: { name: string price: { Monthly: string Annually: string } description: string button: { label: string href: string } features: Array activePeriod: 'Monthly' | 'Annually' logomarkClassName?: string featured?: boolean }) { return (

{name}

{price.Monthly === price.Annually ? ( price.Monthly ) : ( <> {price.Monthly} {price.Annually} )}

{description}

    {features.map((feature) => (
  • {feature}
  • ))}
) } export function Pricing() { let [activePeriod, setActivePeriod] = useState<'Monthly' | 'Annually'>( 'Monthly', ) return (

Flat pricing, no management fees.

Whether you're one person trying to get ahead or a big firm trying to take over the world, we've got a plan for you.

{['Monthly', 'Annually'].map((period) => ( {period} ))}
{plans.map((plan) => ( ))}
) }