From 711960995b5724f3e83c1763e78827362afc04a8 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Thu, 7 May 2026 19:50:16 +0000 Subject: [PATCH] feat: add feature comparison table to pricing page --- .../sections/pricing/FeatureComparison.tsx | 72 ++++++++++++ src/pages/Pricing.tsx | 106 +++++++++--------- 2 files changed, 127 insertions(+), 51 deletions(-) create mode 100644 src/components/sections/pricing/FeatureComparison.tsx diff --git a/src/components/sections/pricing/FeatureComparison.tsx b/src/components/sections/pricing/FeatureComparison.tsx new file mode 100644 index 0000000..44b20e5 --- /dev/null +++ b/src/components/sections/pricing/FeatureComparison.tsx @@ -0,0 +1,72 @@ +import { CheckCircle } from 'lucide-react'; + +const features = [ + { + category: 'Core Features', + items: [ + { name: 'Basic Analytics', tiers: [true, true, true] }, + { name: 'Standard Security', tiers: [true, true, true] }, + { name: '500 Transactions/month', tiers: [true, false, false] }, + { name: 'Unlimited Transactions', tiers: [false, true, true] }, + { name: 'Automated Reporting', tiers: [false, true, true] }, + ], + }, + { + category: 'Support & Services', + items: [ + { name: 'Email Support', tiers: [true, true, true] }, + { name: '24/7 Priority Support', tiers: [false, true, true] }, + { name: 'Dedicated Account Manager', tiers: [false, false, true] }, + ], + }, + { + category: 'Enterprise Solutions', + items: [ + { name: 'Custom Integrations', tiers: [false, false, true] }, + { name: 'On-premise Deployment', tiers: [false, false, true] }, + { name: 'SLA & Compliance Guarantees', tiers: [false, false, true] }, + ], + }, +]; + +export default function FeatureComparison() { + return ( +
+
+
+

+ Compare plans +

+

+ Choose the right plan for your business. +

+
+
+
+
Features
+
Startups
+
Growing Businesses
+
Enterprises
+
+ {features.map((category) => ( +
+

{category.category}

+
+ {category.items.map((item) => ( +
+
{item.name}
+ {item.tiers.map((included, i) => ( +
+ {included ? :
} +
+ ))} +
+ ))} +
+
+ ))} +
+
+
+ ); +} diff --git a/src/pages/Pricing.tsx b/src/pages/Pricing.tsx index 7d0babc..cb805a3 100644 --- a/src/pages/Pricing.tsx +++ b/src/pages/Pricing.tsx @@ -1,60 +1,64 @@ import PricingCenteredCards from '@/components/sections/pricing/PricingCenteredCards'; +import FeatureComparison from '@/components/sections/pricing/FeatureComparison'; export default function PricingPage() { return ( - + + ]} + /> + + ); }