diff --git a/src/components/landing/Pricing.tsx b/src/components/landing/Pricing.tsx index 4f860e88..223828c2 100644 --- a/src/components/landing/Pricing.tsx +++ b/src/components/landing/Pricing.tsx @@ -2,7 +2,7 @@ import { useState, useEffect, useCallback } from 'react'; import { motion } from 'framer-motion'; import { useNavigate } from 'react-router-dom'; import { CheckCircle2, Info, RefreshCw } from 'lucide-react'; -import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip'; +import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover'; import { fadeUp, staggerChildren, viewportOnce } from '@/lib/motion'; import { billingApi } from '@/lib/api'; import { useTranslation } from 'react-i18next'; @@ -41,21 +41,21 @@ function buildFeatures(pack: CreditPack, personaCost: number, runCost: number): function CreditTooltip({ personaCost, runCost }: { personaCost: number; runCost: number }) { const { t } = useTranslation(); return ( - - + + - - + +

{t('pricing.tooltip_persona')} = {personaCost} credits
{t('pricing.tooltip_run')} = {runCost} credits
{t('pricing.tooltip_credits_never_expire')} {t('pricing.tooltip_trial')}

-
-
+ + ); }