"use client"; import { useState } from "react"; import { Container } from "@/components/container"; import { Heading } from "@/components/heading"; import { Subheading } from "@/components/subheading"; import { Button } from "@/components/ui/button"; import { Card, CardContent } from "@/components/ui/card"; import { motion, AnimatePresence } from "framer-motion"; import { ChevronRight, Sparkles, BrainCircuit } from "lucide-react"; const steps = [ { id: "age", question: "What is your age group?", options: ["School (10-15)", "High School (16-18)", "College Student", "Early Professional"], }, { id: "interest", question: "What interests you the most?", options: ["Technology", "Business", "Creativity", "Life Skills"], }, { id: "goal", question: "What is your primary goal?", options: ["Get a Job", "Start a Business", "Freelancing", "Career Clarity"], }, ]; export function DiscoveryFlow() { const [currentStep, setCurrentStep] = useState(0); const [selections, setSelections] = useState>({}); const [isFinished, setIsFinished] = useState(false); const handleSelect = (option: string) => { const stepId = steps[currentStep].id; setSelections({ ...selections, [stepId]: option }); if (currentStep < steps.length - 1) { setCurrentStep(currentStep + 1); } else { setIsFinished(true); } }; const reset = () => { setCurrentStep(0); setSelections({}); setIsFinished(false); }; return (
Investor Demo: AI Engine
AI Skill Discovery Flow Experience how our AI understands students and builds their future.
{!isFinished ? (
Step {currentStep + 1} of {steps.length}

{steps[currentStep].question}

{steps[currentStep].options.map((option) => ( ))}
) : (

Your AI Roadmap is Ready!

Recommendation

Based on your profile, we recommend:
{selections.interest} → Beginner AI & Web Skills

"This roadmap adapts as the student grows, ensuring they always learn what's relevant."
)}
); }