import { __ } from '@wordpress/i18n'; import { CheckIcon, CloseIcon, FilledStarIcon } from '../icons'; import { btnLg, btnPrimary } from '../tw'; const features = [ { label: __('Core Widgets', 'ultimate-store-kit'), free: true, pro: true, freeNote: '35+', proNote: '100+' }, { label: __('Theme Compatibility', 'ultimate-store-kit'), free: true, pro: true }, { label: __('Dynamic Content & Custom Fields', 'ultimate-store-kit'), free: true, pro: true }, { label: __('Proper Documentation', 'ultimate-store-kit'), free: true, pro: true }, { label: __('Updates & Support', 'ultimate-store-kit'), free: true, pro: true }, { label: __('Ready Made Blocks', 'ultimate-store-kit'), free: true, pro: true }, { label: __('Ready Made Pages', 'ultimate-store-kit'), free: true, pro: true }, { label: __('Rooten Theme Pro Features', 'ultimate-store-kit'), free: false, pro: true }, { label: __('Priority Support', 'ultimate-store-kit'), free: false, pro: true }, ]; const HIcon = ({ d, viewBox = '0 0 24 24', filled = false }) => ( {Array.isArray(d) ? d.map((p, i) => ) : } ); const highlights = [ { text: __('Incredibly Advanced', 'ultimate-store-kit'), icon: , }, { text: __('Refund or Cancel Anytime', 'ultimate-store-kit'), icon: , }, { text: __('Dynamic Content', 'ultimate-store-kit'), icon: , }, { text: __('Super-Flexible Widgets', 'ultimate-store-kit'), icon: , }, { text: __('24/7 Premium Support', 'ultimate-store-kit'), icon: , }, { text: __('Third Party Plugins', 'ultimate-store-kit'), icon: , }, { text: __('Special Discount!', 'ultimate-store-kit'), icon: , }, { text: __('Custom Field Integration', 'ultimate-store-kit'), icon: , }, { text: __('With Live Chat Support', 'ultimate-store-kit'), icon: , }, { text: __('Trusted Payment Methods', 'ultimate-store-kit'), icon: , }, { text: __('Interactive Effects', 'ultimate-store-kit'), icon: , }, { text: __('Video Tutorial', 'ultimate-store-kit'), icon: , }, ]; const GetPro = ({ isPro }) => { if (isPro) { return (

{__('You already have Pro!', 'ultimate-store-kit')}

{__('Thank you for being a Pro user. You have access to all features.', 'ultimate-store-kit')}

); } return (
{/* Comparison Table */}
{/* Header row */}
{__('Features', 'ultimate-store-kit')}
{__('Free', 'ultimate-store-kit')}
{__('Pro', 'ultimate-store-kit')}
{/* Feature rows */} {features.map((f, i) => (
{f.label} {f.freeNote && f.proNote && ( {f.freeNote} → {f.proNote} )}
{f.free ? ( ) : ( )}
{f.pro ? ( ) : ( )}
))}
{/* What's included + CTA */}
{/* Highlights grid */}

{__("What's included with Pro", 'ultimate-store-kit')}

{highlights.map((h, i) => (
{h.text}
))}
{/* CTA strip */}

{__('Ready to unlock all Pro features?', 'ultimate-store-kit')}

{__('Upgrade to Pro — View Pricing', 'ultimate-store-kit')}
{__('30-day money-back', 'ultimate-store-kit')} {__('Cancel anytime', 'ultimate-store-kit')} {__('Instant access', 'ultimate-store-kit')}
); }; export default GetPro;