diff --git a/components/onboarding/first-purchase-tutorial.tsx b/components/onboarding/first-purchase-tutorial.tsx new file mode 100644 index 0000000..0bd6fda --- /dev/null +++ b/components/onboarding/first-purchase-tutorial.tsx @@ -0,0 +1,142 @@ +'use client' + +import { useState } from 'react' +import { useRouter } from 'next/navigation' +import { TrendingUp, ArrowRight } from 'lucide-react' +import { Button } from '@/components/ui/button' + +export function FirstPurchaseTutorial() { + const router = useRouter() + const [isAnimating, setIsAnimating] = useState(false) + + const handleContinue = () => { + setIsAnimating(true) + setTimeout(() => router.push('/onramp'), 300) + } + + return ( +
+
+ {/* Chart Illustration */} +
+
+
+ {/* Animated Chart */} + + {/* Grid lines */} + + + + + {/* Upward trend line */} + + + {/* Glow effect */} + + + + {/* Floating icon */} +
+
+ +
+
+
+
+
+ + {/* Price Example */} +
+
+ + Bitcoin +
+
+ $84,247 +
+
+ + +5.2% today +
+
+ + {/* Main Message */} +
+

+ Ready for your first trade? +

+

+ Start with as little as ₦1,000 and watch your crypto portfolio grow +

+
+ + {/* Tutorial Steps */} +
+
+
+ 1 +
+
+

Choose your amount

+

Select how much you want to invest

+
+
+
+
+ 2 +
+
+

Pick your payment method

+

Bank transfer, card, or mobile money

+
+
+
+
+ 3 +
+
+

Complete your purchase

+

Crypto arrives in your wallet instantly

+
+
+
+ + {/* CTA Button */} + + + {/* Skip Option */} + +
+
+ ) +}