Spaces:
Running
Running
axeronis commited on
Commit ·
7a74907
1
Parent(s): 050010d
feat: add pricing and refund pages for Paddle verification
Browse files- frontend/app/pricing/page.tsx +160 -0
- frontend/app/refund/page.tsx +91 -0
frontend/app/pricing/page.tsx
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'use client'
|
| 2 |
+
|
| 3 |
+
import Link from 'next/link'
|
| 4 |
+
import { Check, Zap, Crown, Rocket, ArrowRight } from 'lucide-react'
|
| 5 |
+
import { motion } from 'framer-motion'
|
| 6 |
+
|
| 7 |
+
const plans = [
|
| 8 |
+
{
|
| 9 |
+
name: 'Start',
|
| 10 |
+
price: 99,
|
| 11 |
+
yearlyPrice: 950,
|
| 12 |
+
description: 'Идеально для малого бизнеса',
|
| 13 |
+
features: [
|
| 14 |
+
'500 диалогов в месяц',
|
| 15 |
+
'1 канал (WhatsApp или Telegram)',
|
| 16 |
+
'AI-ассистент',
|
| 17 |
+
'CRM интеграция',
|
| 18 |
+
'Email поддержка',
|
| 19 |
+
],
|
| 20 |
+
icon: Zap,
|
| 21 |
+
color: 'blue',
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
name: 'Growth',
|
| 25 |
+
price: 199,
|
| 26 |
+
yearlyPrice: 1910,
|
| 27 |
+
description: 'Для растущих компаний',
|
| 28 |
+
features: [
|
| 29 |
+
'1500 диалогов в месяц',
|
| 30 |
+
'3 канала',
|
| 31 |
+
'AI-ассистент',
|
| 32 |
+
'Расширенная аналитика',
|
| 33 |
+
'Приоритетная поддержка',
|
| 34 |
+
'API доступ',
|
| 35 |
+
],
|
| 36 |
+
icon: Rocket,
|
| 37 |
+
color: 'purple',
|
| 38 |
+
popular: true,
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
name: 'Enterprise',
|
| 42 |
+
price: 499,
|
| 43 |
+
yearlyPrice: 4790,
|
| 44 |
+
description: 'Для крупных организаций',
|
| 45 |
+
features: [
|
| 46 |
+
'Безлимитные диалоги',
|
| 47 |
+
'Безлимитные каналы',
|
| 48 |
+
'AI-ассистент',
|
| 49 |
+
'Выделенный менеджер',
|
| 50 |
+
'SLA гарантии',
|
| 51 |
+
'Кастомные интеграции',
|
| 52 |
+
],
|
| 53 |
+
icon: Crown,
|
| 54 |
+
color: 'amber',
|
| 55 |
+
},
|
| 56 |
+
]
|
| 57 |
+
|
| 58 |
+
export default function PricingPage() {
|
| 59 |
+
return (
|
| 60 |
+
<div className="min-h-screen bg-[#0D0E18]">
|
| 61 |
+
{/* Header */}
|
| 62 |
+
<nav className="border-b border-white/10 bg-[#0D0E18]/80 backdrop-blur-xl sticky top-0 z-50">
|
| 63 |
+
<div className="max-w-7xl mx-auto px-6 py-4 flex items-center justify-between">
|
| 64 |
+
<Link href="/" className="flex items-center gap-3">
|
| 65 |
+
<img src="/logo-v2.png" alt="MicroFunnel" className="w-10 h-10" />
|
| 66 |
+
<span className="text-xl font-black text-white">MicroFunnel</span>
|
| 67 |
+
</Link>
|
| 68 |
+
<Link href="/login" className="px-6 py-2 bg-indigo-600 hover:bg-indigo-500 text-white rounded-lg font-medium transition">
|
| 69 |
+
Войти
|
| 70 |
+
</Link>
|
| 71 |
+
</div>
|
| 72 |
+
</nav>
|
| 73 |
+
|
| 74 |
+
{/* Hero */}
|
| 75 |
+
<div className="max-w-7xl mx-auto px-6 py-20 text-center">
|
| 76 |
+
<motion.h1
|
| 77 |
+
initial={{ opacity: 0, y: 20 }}
|
| 78 |
+
animate={{ opacity: 1, y: 0 }}
|
| 79 |
+
className="text-5xl font-black text-white mb-6"
|
| 80 |
+
>
|
| 81 |
+
Простые и прозрачные цены
|
| 82 |
+
</motion.h1>
|
| 83 |
+
<p className="text-xl text-slate-400 max-w-2xl mx-auto mb-4">
|
| 84 |
+
Выберите план, который подходит вашему бизнесу. Все планы включают 7-дневный бесплатный пробный период.
|
| 85 |
+
</p>
|
| 86 |
+
<p className="text-sm text-indigo-400 font-medium">
|
| 87 |
+
💰 Годовая оплата — скидка 20%
|
| 88 |
+
</p>
|
| 89 |
+
</div>
|
| 90 |
+
|
| 91 |
+
{/* Plans */}
|
| 92 |
+
<div className="max-w-7xl mx-auto px-6 pb-20">
|
| 93 |
+
<div className="grid md:grid-cols-3 gap-8">
|
| 94 |
+
{plans.map((plan, i) => {
|
| 95 |
+
const Icon = plan.icon
|
| 96 |
+
return (
|
| 97 |
+
<motion.div
|
| 98 |
+
key={plan.name}
|
| 99 |
+
initial={{ opacity: 0, y: 30 }}
|
| 100 |
+
animate={{ opacity: 1, y: 0 }}
|
| 101 |
+
transition={{ delay: i * 0.1 }}
|
| 102 |
+
className={`relative bg-[#1E1F2E] rounded-2xl border ${plan.popular ? 'border-purple-500' : 'border-white/10'
|
| 103 |
+
} p-8 flex flex-col`}
|
| 104 |
+
>
|
| 105 |
+
{plan.popular && (
|
| 106 |
+
<div className="absolute -top-4 left-1/2 -translate-x-1/2 px-4 py-1 bg-purple-600 text-white text-sm font-bold rounded-full">
|
| 107 |
+
Популярный
|
| 108 |
+
</div>
|
| 109 |
+
)}
|
| 110 |
+
|
| 111 |
+
<div className={`w-14 h-14 rounded-xl bg-${plan.color}-500/20 flex items-center justify-center mb-6`}>
|
| 112 |
+
<Icon className={`w-7 h-7 text-${plan.color}-400`} />
|
| 113 |
+
</div>
|
| 114 |
+
|
| 115 |
+
<h3 className="text-2xl font-bold text-white mb-2">{plan.name}</h3>
|
| 116 |
+
<p className="text-slate-400 mb-6">{plan.description}</p>
|
| 117 |
+
|
| 118 |
+
<div className="mb-6">
|
| 119 |
+
<span className="text-4xl font-black text-white">${plan.price}</span>
|
| 120 |
+
<span className="text-slate-400">/месяц</span>
|
| 121 |
+
<div className="text-sm text-slate-500 mt-1">
|
| 122 |
+
или ${plan.yearlyPrice}/год (экономия 20%)
|
| 123 |
+
</div>
|
| 124 |
+
</div>
|
| 125 |
+
|
| 126 |
+
<ul className="space-y-3 mb-8 flex-1">
|
| 127 |
+
{plan.features.map((feature) => (
|
| 128 |
+
<li key={feature} className="flex items-center gap-3 text-slate-300">
|
| 129 |
+
<Check className="w-5 h-5 text-emerald-400 shrink-0" />
|
| 130 |
+
{feature}
|
| 131 |
+
</li>
|
| 132 |
+
))}
|
| 133 |
+
</ul>
|
| 134 |
+
|
| 135 |
+
<Link
|
| 136 |
+
href="/register"
|
| 137 |
+
className={`w-full py-3 rounded-xl font-bold text-center transition flex items-center justify-center gap-2 ${plan.popular
|
| 138 |
+
? 'bg-purple-600 hover:bg-purple-500 text-white'
|
| 139 |
+
: 'bg-white/10 hover:bg-white/20 text-white'
|
| 140 |
+
}`}
|
| 141 |
+
>
|
| 142 |
+
Начать бесплатно <ArrowRight className="w-4 h-4" />
|
| 143 |
+
</Link>
|
| 144 |
+
</motion.div>
|
| 145 |
+
)
|
| 146 |
+
})}
|
| 147 |
+
</div>
|
| 148 |
+
</div>
|
| 149 |
+
|
| 150 |
+
{/* Footer */}
|
| 151 |
+
<footer className="border-t border-white/10 py-8">
|
| 152 |
+
<div className="max-w-7xl mx-auto px-6 flex flex-wrap gap-6 justify-center text-sm text-slate-500">
|
| 153 |
+
<Link href="/terms" className="hover:text-white transition">Условия использования</Link>
|
| 154 |
+
<Link href="/privacy" className="hover:text-white transition">Политика конфиденциальности</Link>
|
| 155 |
+
<Link href="/refund" className="hover:text-white transition">Возврат средств</Link>
|
| 156 |
+
</div>
|
| 157 |
+
</footer>
|
| 158 |
+
</div>
|
| 159 |
+
)
|
| 160 |
+
}
|
frontend/app/refund/page.tsx
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'use client'
|
| 2 |
+
|
| 3 |
+
import Link from 'next/link'
|
| 4 |
+
|
| 5 |
+
export default function RefundPage() {
|
| 6 |
+
return (
|
| 7 |
+
<div className="min-h-screen bg-white py-12 px-4 sm:px-6 lg:px-8">
|
| 8 |
+
<div className="max-w-4xl mx-auto">
|
| 9 |
+
<h1 className="text-4xl font-bold text-gray-900 mb-8">Refund Policy</h1>
|
| 10 |
+
|
| 11 |
+
<div className="prose prose-lg text-gray-600 space-y-6">
|
| 12 |
+
<p className="text-sm text-gray-500">Last updated: December 2024</p>
|
| 13 |
+
|
| 14 |
+
<section>
|
| 15 |
+
<h2 className="text-2xl font-bold text-gray-900 mt-8 mb-4">7-Day Free Trial</h2>
|
| 16 |
+
<p>
|
| 17 |
+
All new accounts start with a <strong>7-day free trial</strong> with 50 conversations included.
|
| 18 |
+
No credit card is required to start your trial. This allows you to fully evaluate
|
| 19 |
+
MicroFunnel before making any payment.
|
| 20 |
+
</p>
|
| 21 |
+
</section>
|
| 22 |
+
|
| 23 |
+
<section>
|
| 24 |
+
<h2 className="text-2xl font-bold text-gray-900 mt-8 mb-4">Subscription Refunds</h2>
|
| 25 |
+
<p>
|
| 26 |
+
Due to the digital nature of our service, we generally do not offer refunds for
|
| 27 |
+
subscription payments. However, we may consider refund requests in the following cases:
|
| 28 |
+
</p>
|
| 29 |
+
<ul className="list-disc ml-6 space-y-2">
|
| 30 |
+
<li><strong>Technical Issues:</strong> If the service was unusable due to our technical problems</li>
|
| 31 |
+
<li><strong>Billing Errors:</strong> If you were charged incorrectly</li>
|
| 32 |
+
<li><strong>Within 48 hours:</strong> If requested within 48 hours of first payment with minimal usage</li>
|
| 33 |
+
</ul>
|
| 34 |
+
</section>
|
| 35 |
+
|
| 36 |
+
<section>
|
| 37 |
+
<h2 className="text-2xl font-bold text-gray-900 mt-8 mb-4">How to Request a Refund</h2>
|
| 38 |
+
<p>
|
| 39 |
+
To request a refund, please contact our support team:
|
| 40 |
+
</p>
|
| 41 |
+
<ul className="list-disc ml-6 space-y-2">
|
| 42 |
+
<li>Email: <a href="mailto:support@microfunnel.online" className="text-blue-600 hover:underline">support@microfunnel.online</a></li>
|
| 43 |
+
<li>Include your account email and reason for refund</li>
|
| 44 |
+
<li>We will respond within 2 business days</li>
|
| 45 |
+
</ul>
|
| 46 |
+
</section>
|
| 47 |
+
|
| 48 |
+
<section>
|
| 49 |
+
<h2 className="text-2xl font-bold text-gray-900 mt-8 mb-4">Cancellation</h2>
|
| 50 |
+
<p>
|
| 51 |
+
You can cancel your subscription at any time from your account settings.
|
| 52 |
+
After cancellation:
|
| 53 |
+
</p>
|
| 54 |
+
<ul className="list-disc ml-6 space-y-2">
|
| 55 |
+
<li>You will retain access until the end of your current billing period</li>
|
| 56 |
+
<li>No further charges will be made</li>
|
| 57 |
+
<li>Your data will be retained for 30 days after expiration</li>
|
| 58 |
+
</ul>
|
| 59 |
+
</section>
|
| 60 |
+
|
| 61 |
+
<section>
|
| 62 |
+
<h2 className="text-2xl font-bold text-gray-900 mt-8 mb-4">Partner Activation Fee</h2>
|
| 63 |
+
<p>
|
| 64 |
+
The $500 Partner Activation fee is <strong>non-refundable</strong> as it grants
|
| 65 |
+
permanent access to the partner program and associated benefits.
|
| 66 |
+
</p>
|
| 67 |
+
</section>
|
| 68 |
+
|
| 69 |
+
<section>
|
| 70 |
+
<h2 className="text-2xl font-bold text-gray-900 mt-8 mb-4">Contact Us</h2>
|
| 71 |
+
<p>
|
| 72 |
+
For any billing questions or refund requests:
|
| 73 |
+
</p>
|
| 74 |
+
<p className="mt-4">
|
| 75 |
+
<strong>Email:</strong> support@microfunnel.online<br />
|
| 76 |
+
<strong>Response time:</strong> 24-48 hours
|
| 77 |
+
</p>
|
| 78 |
+
</section>
|
| 79 |
+
</div>
|
| 80 |
+
|
| 81 |
+
<div className="mt-12 pt-8 border-t border-gray-200">
|
| 82 |
+
<div className="flex flex-wrap gap-6 text-sm text-gray-500">
|
| 83 |
+
<Link href="/terms" className="hover:text-gray-900 transition">Terms of Service</Link>
|
| 84 |
+
<Link href="/privacy" className="hover:text-gray-900 transition">Privacy Policy</Link>
|
| 85 |
+
<Link href="/pricing" className="hover:text-gray-900 transition">Pricing</Link>
|
| 86 |
+
</div>
|
| 87 |
+
</div>
|
| 88 |
+
</div>
|
| 89 |
+
</div>
|
| 90 |
+
)
|
| 91 |
+
}
|