diff --git a/components/PricingSection.tsx b/components/PricingSection.tsx index 4a947b8..de47b40 100644 --- a/components/PricingSection.tsx +++ b/components/PricingSection.tsx @@ -121,149 +121,167 @@ export default function PricingSection() { return (
-
-

- Traffic based plans that match your growth +
+

+ Transparent Pricing

- Sign up for 30-day free trial. No credit card required. + Scale with your traffic. No hidden fees.

- {/* Controls Container */} -
+ {/* Unified Container */} +
- {/* Slider */} -
-
- 10k - - Up to {currentTraffic.label} monthly pageviews - - 10M+ -
- setSliderIndex(parseInt(e.target.value))} - className="w-full h-2 bg-neutral-200 rounded-lg appearance-none cursor-pointer dark:bg-neutral-700 accent-brand-orange" - /> -
- - {/* Toggle */} -
- Monthly - - - Yearly 1 month free - +
+ +
+ + +
-
- {/* Pricing Cards Grid */} -
- {PLANS.map((plan) => { - const priceDetails = getPriceDetails(plan.id) + {/* Pricing Grid */} +
+ {PLANS.map((plan) => { + const priceDetails = getPriceDetails(plan.id) + const isTeam = plan.id === 'team' - return ( -
-
-

{plan.name}

+ return ( +
+ {isTeam && ( +
+ )} - {priceDetails ? ( - isYearly ? ( - // YEARLY VIEW -
- {/* 1. Big Price = Yearly Total */} +
+

{plan.name}

+

{plan.description}

+ + {priceDetails ? ( + isYearly ? ( +
+
+ + €{priceDetails.yearlyTotal} + + /year +
+
+ + €{priceDetails.baseMonthly}/mo + + + €{priceDetails.effectiveMonthly}/mo + +
+
+ ) : (
- €{priceDetails.yearlyTotal} + €{priceDetails.baseMonthly} - /year + /mo
- - {/* 2. Subtext = Monthly Breakdown Comparison */} -
- - €{priceDetails.baseMonthly}/mo - - - €{priceDetails.effectiveMonthly}/mo - -
-
+ ) ) : ( - // MONTHLY VIEW -
- - €{priceDetails.baseMonthly} - - /mo +
+ Custom
- ) - ) : ( - // CUSTOM VIEW -
- Custom -
- )} + )} +
+ + + +
    + {plan.features.map((feature) => ( +
  • + + {feature} +
  • + ))} +
+ ) + })} - - -
    - {plan.features.map((feature) => ( -
  • - - {feature} -
  • - ))} -
+ {/* Enterprise Section */} +
+
+

Enterprise

+

For high volume sites and custom needs

+
+ Custom +
- ) - })} - {/* Enterprise Card (Dark Style) */} -
-
-

Enterprise

-
Custom
-

For high volume sites

+ + +
    + {[ + 'Everything in Business', + '10+ sites', + 'Unlimited team members', + 'SLA & Priority Support', + 'Managed Proxy', + 'Raw data export' + ].map((feature) => ( +
  • + + {feature} +
  • + ))} +
- - - -
    - {[ - 'Everything in Business', - '10+ sites', - 'Unlimited team members', - 'SLA & Priority Support', - 'Managed Proxy', - 'Raw data export' - ].map((feature) => ( -
  • - - {feature} -
  • - ))} -