import React from 'react'; import { motion, AnimatePresence } from 'framer-motion'; import { useTranslation } from 'react-i18next'; import { useNavigate } from 'react-router-dom'; import { Lock } from 'lucide-react'; const PaywallModal = ({ showPaywall, setShowPaywall }) => { const { t } = useTranslation(); const navigate = useNavigate(); return ( {showPaywall && (

{t('pricing.premium_feature', 'Premium Feature')}

{t('pricing.paywall_desc', 'AI Goal Adaptation is a Premium feature. Upgrade to TaskFlow Pro to generate alternative paths and unlock advanced logic.')}

)}
); }; export default PaywallModal;