"use client" import { Button } from "@/components/ui/button" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "@/components/ui/card" import { cn } from "@/lib/utils" import { Check } from 'lucide-react' import { useState } from "react" import { BillingToggle } from "./billing-toggle" const plans = [ { name: "Creator", description: "Unlock powerful AI tools to create your content, wherever you work online.", monthlyPrice: 19, annualPrice: 9.5, features: [ "01 User Access", "Access to Fixoria AI Chatbot", "Access to SEO Mode", "AI Image Generation and editing Tool", "03 Brand Voice Access", "Use AI with Browser Extension", ], cta: "Current Plan", ctaVariant: "outline" as const, popular: false, trial: "Start Free 7-Days Trial", }, { name: "Pro Plan", description: "Leverage advanced AI to create content for multiple brands on campaigns.", monthlyPrice: 99, annualPrice: 49.5, features: [ "05 User Access", "10 Knowledge Assets", "Access to Pro SEO Mode", "Collaboration with our Management", "10 Brand Voice Access", "01 Page Custom change Access", ], cta: "Switch to this Plan", ctaVariant: "default" as const, popular: true, trial: "Start Free 7-Days Trial", billingNote: "Per user, per month & billed annually", }, { name: "Business Plan", description: "Personalized AI with enhanced control, security, team training, and tech support.", monthlyPrice: 199, annualPrice: 99.5, features: [ "Unlimited Feature Usage", "Performance Analytics & Insights", "Custom Style Guides with New View", "Advanced Admin Panel Access", "Group Document Collaboration", "Hight Security Platform", ], cta: "Contact Sales", ctaVariant: "default" as const, popular: false, trial: "Start Free 15-Days Trial", customPricing: true, }, ] export default function PricingSection() { const [billingCycle, setBillingCycle] = useState<"monthly" | "annual">("monthly") const discount = 50 return (

Upgrade Plan

Fixoria pricing plan are designed to meet your needs as you grow

{plans.map((plan) => { const price = billingCycle === "monthly" ? plan.monthlyPrice : plan.annualPrice return ( {plan.popular && (
Popular
)} {plan.name} {plan.description}
{plan.customPricing ? (
Start from ${price}
Custom Pricing, Custom Billing
) : (
${price}
{plan.billingNote || `Per user & per month`}
)}
{plan.trial}

Features

{plan.name === "Creator" ? "Everything in our free plan includes" : plan.name === "Pro Plan" ? "Everything in Creator & Plus" : "Everything in Creator, Plus & Business"}

    {plan.features.map((feature, index) => (
  • {feature}
  • ))}
) })}
) }