"use client"; import React, { useState, useEffect } from 'react'; import PricingCard from '@/components/pricing-card'; import { useTheme } from '@/lib/theme-context'; import PricingToggle from '@/components/ui/pricing-toggle'; const PricingPage = () => { const [isYearly, setIsYearly] = useState(false); const { theme } = useTheme(); useEffect(() => { document.body.classList.add('pricing-page'); }, []); const toggleBillingPeriod = () => { setIsYearly(!isYearly); }; const getPrice = (basePrice: number) => { return isYearly ? basePrice * 10 : basePrice; }; const getBillingPeriod = () => { return isYearly ? 'year' : 'month'; }; const getDiscountBadge = () => { if (isYearly) { return { text: 'Save 20%', style: 'text-green-500 dark:text-green-400' }; } return { text: '', style: '' }; }; return (

Transform your food photos with AI

Choose the perfect plan to enhance your culinary photography with cutting-edge AI technology.

{getDiscountBadge().text}

{/* Pricing Toggle (Monthly/Yearly) */} {/* Pricing Cards Grid */}
); }; export default PricingPage;