Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3cfccaf7c0 | |||
| ae6f0963d2 | |||
| e5b87968eb | |||
| 75b5466c42 | |||
| 14c9fa4a98 |
@@ -11,8 +11,11 @@ import FaqDouble from '@/components/sections/faq/FaqDouble';
|
|||||||
import ContactSplit from '@/components/sections/contact/ContactSplit';
|
import ContactSplit from '@/components/sections/contact/ContactSplit';
|
||||||
import FooterBase from '@/components/sections/footer/FooterBase';
|
import FooterBase from '@/components/sections/footer/FooterBase';
|
||||||
import { Award, CheckCircle, CreditCard, HelpCircle, Rocket, Sparkles, Zap } from 'lucide-react';
|
import { Award, CheckCircle, CreditCard, HelpCircle, Rocket, Sparkles, Zap } from 'lucide-react';
|
||||||
|
import { useState } from 'react';
|
||||||
|
|
||||||
export default function LandingPage() {
|
export default function LandingPage() {
|
||||||
|
const [showPaymentOptions, setShowPaymentOptions] = useState(false);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="text-stagger"
|
defaultButtonVariant="text-stagger"
|
||||||
@@ -165,26 +168,83 @@ export default function LandingPage() {
|
|||||||
id: "starter", title: "Starter", price: "Free", period: "Forever", features: [
|
id: "starter", title: "Starter", price: "Free", period: "Forever", features: [
|
||||||
"Up to 10 homework assignments", "Basic deadline tracking", "Manual schedule creation", "Mobile app access", "Email support"
|
"Up to 10 homework assignments", "Basic deadline tracking", "Manual schedule creation", "Mobile app access", "Email support"
|
||||||
],
|
],
|
||||||
button: { text: "Start Now", href: "#contact" }
|
button: { text: "Start Now", onClick: () => setShowPaymentOptions(true) }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "pro", title: "Pro", price: "$9.99", period: "per month", features: [
|
id: "pro", title: "Pro", price: "$9.99", period: "per month", features: [
|
||||||
"Unlimited assignments", "AI task parsing & auto-scheduling", "Exam date prediction", "Adaptive study recommendations", "Calendar integrations (Google, Outlook)", "Priority email & chat support", "Progress analytics & insights"
|
"Unlimited assignments", "AI task parsing & auto-scheduling", "Exam date prediction", "Adaptive study recommendations", "Calendar integrations (Google, Outlook)", "Priority email & chat support", "Progress analytics & insights"
|
||||||
],
|
],
|
||||||
button: { text: "Start Free Trial", href: "#contact" },
|
button: { text: "Start Free Trial", onClick: () => setShowPaymentOptions(true) },
|
||||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BBLnmjvGWjqjsHIlpRmS7RumKd/a-modern-clean-ai-powered-study-dashboar-1773957805543-66df9fe7.png?_wi=2", imageAlt: "Pro Dashboard"
|
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BBLnmjvGWjqjsHIlpRmS7RumKd/a-modern-clean-ai-powered-study-dashboar-1773957805543-66df9fe7.png?_wi=2", imageAlt: "Pro Dashboard"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "premium", title: "Premium", price: "$24.99", period: "per month", features: [
|
id: "premium", title: "Premium", price: "$24.99", period: "per month", features: [
|
||||||
"Everything in Pro, plus:", "Family account (up to 5 students)", "Parent visibility & progress reports", "1-on-1 AI scheduling consultation", "Priority AI processing", "Advanced analytics & trend reports", "Phone support & dedicated account manager"
|
"Everything in Pro, plus:", "Family account (up to 5 students)", "Parent visibility & progress reports", "1-on-1 AI scheduling consultation", "Priority AI processing", "Advanced analytics & trend reports", "Phone support & dedicated account manager"
|
||||||
],
|
],
|
||||||
button: { text: "Upgrade to Premium", href: "#contact" },
|
button: { text: "Upgrade to Premium", onClick: () => setShowPaymentOptions(true) },
|
||||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BBLnmjvGWjqjsHIlpRmS7RumKd/a-modern-clean-ai-powered-study-dashboar-1773957805543-66df9fe7.png?_wi=3", imageAlt: "Premium Dashboard"
|
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BBLnmjvGWjqjsHIlpRmS7RumKd/a-modern-clean-ai-powered-study-dashboar-1773957805543-66df9fe7.png?_wi=3", imageAlt: "Premium Dashboard"
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{showPaymentOptions && (
|
||||||
|
<div className="fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4">
|
||||||
|
<div className="bg-white dark:bg-slate-900 rounded-lg p-8 max-w-md w-full shadow-xl">
|
||||||
|
<h2 className="text-2xl font-bold mb-6 text-center">Payment Options</h2>
|
||||||
|
|
||||||
|
<div className="space-y-4">
|
||||||
|
<button
|
||||||
|
onClick={() => {
|
||||||
|
alert('Redirecting to Stripe payment...');
|
||||||
|
setShowPaymentOptions(false);
|
||||||
|
}}
|
||||||
|
className="w-full bg-blue-600 hover:bg-blue-700 text-white font-semibold py-3 px-4 rounded-lg transition"
|
||||||
|
>
|
||||||
|
Pay with Credit Card
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button
|
||||||
|
onClick={() => {
|
||||||
|
alert('Redirecting to PayPal...');
|
||||||
|
setShowPaymentOptions(false);
|
||||||
|
}}
|
||||||
|
className="w-full bg-blue-400 hover:bg-blue-500 text-white font-semibold py-3 px-4 rounded-lg transition"
|
||||||
|
>
|
||||||
|
Pay with PayPal
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button
|
||||||
|
onClick={() => {
|
||||||
|
alert('Redirecting to Apple Pay...');
|
||||||
|
setShowPaymentOptions(false);
|
||||||
|
}}
|
||||||
|
className="w-full bg-black hover:bg-gray-800 text-white font-semibold py-3 px-4 rounded-lg transition"
|
||||||
|
>
|
||||||
|
Pay with Apple Pay
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button
|
||||||
|
onClick={() => {
|
||||||
|
alert('Redirecting to Google Pay...');
|
||||||
|
setShowPaymentOptions(false);
|
||||||
|
}}
|
||||||
|
className="w-full bg-gray-800 hover:bg-gray-900 text-white font-semibold py-3 px-4 rounded-lg transition"
|
||||||
|
>
|
||||||
|
Pay with Google Pay
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<button
|
||||||
|
onClick={() => setShowPaymentOptions(false)}
|
||||||
|
className="w-full mt-6 bg-gray-200 hover:bg-gray-300 text-gray-800 font-semibold py-3 px-4 rounded-lg transition"
|
||||||
|
>
|
||||||
|
Close
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
|
||||||
<div id="social-proof" data-section="social-proof">
|
<div id="social-proof" data-section="social-proof">
|
||||||
<SocialProofOne
|
<SocialProofOne
|
||||||
title="Trusted by Schools & Education Leaders"
|
title="Trusted by Schools & Education Leaders"
|
||||||
|
|||||||
Reference in New Issue
Block a user