import React, { useState } from 'react'; import { __ } from '@wordpress/i18n'; import { cn } from '../../lib/utils'; import PricingCard from './components/PricingCard'; const Pricing = () => { const [billingCycle, setBillingCycle] = useState<'yearly' | 'lifetime'>( 'yearly', ); const pricingPlansYearly = [ { name: __( 'Personal', 'image-sizes' ), price: '$5', totalPrice: '$59', featured: false, features: ['1 Site', '1 Year Support', 'All Features Included'], url: 'https://my.pluggable.io/order/?edd_action=add_to_cart&download_id=348&edd_options%5Bprice_id%5D=1' }, { name: __( 'Professional', 'image-sizes' ), price: '$10', totalPrice: '$119', featured: true, features: ['5 Sites', '1 Year Support', 'All Features Included'], url: 'https://my.pluggable.io/order/?edd_action=add_to_cart&download_id=348&edd_options%5Bprice_id%5D=2' }, { name: __( 'Agency', 'image-sizes' ), price: '$25', totalPrice: '$299', featured: false, features: ['Unlimited Sites', '1 Year Support', 'All Features Included'], url: 'https://my.pluggable.io/order/?edd_action=add_to_cart&download_id=348&edd_options%5Bprice_id%5D=4' }, ]; const pricingPlansLifetime = [ { name: __( 'Personal', 'image-sizes' ), price: '$119', featured: false, features: ['1 Site', 'Lifetime Support', 'All Features Included'], url: 'https://my.pluggable.io/order/?edd_action=add_to_cart&download_id=348&edd_options%5Bprice_id%5D=5' }, { name: __( 'Professional', 'image-sizes' ), price: '$239', featured: false, features: ['5 Sites', 'Lifetime Support', 'All Features Included'], url: 'https://my.pluggable.io/order/?edd_action=add_to_cart&download_id=348&edd_options%5Bprice_id%5D=6' }, { name: __( 'Agency', 'image-sizes' ), price: '$599', featured: true, features: ['Unlimited Sites', 'Lifetime Support', 'All Features Included'], url: 'https://my.pluggable.io/order/?edd_action=add_to_cart&download_id=348&edd_options%5Bprice_id%5D=8' }, ]; return (

ThumbPress Pro Pricing

Every plan includes the full set of Pro features. Just pick how many sites you need to cover.

{/* Billing Toggle */}
{/* Pricing Cards */}
{billingCycle === 'yearly' && pricingPlansYearly.map((plan, index) => ( ))} {billingCycle === 'lifetime' && pricingPlansLifetime.map((plan, index) => ( ))}
30-day money back guarantee
Access future features for the subscription period
); }; export default Pricing;