import { dmSansClassName } from "@/lib/fonts" import { cn } from "@lib/utils" import { Button } from "@ui/components/button" import { motion, type Variants } from "motion/react" import { useRouter } from "next/navigation" import { ProfileStep } from "./profile-step" import { continueVariants, contentVariants } from "@/lib/variants" type OnboardingView = "continue" | "features" | "memories" interface OnboardingContentStepProps { currentView?: OnboardingView onSubmit?: (data: { twitter: string linkedin: string description: string otherLinks: string[] }) => void } const containerVariants: Variants = { visible: { opacity: 1, y: 0, transition: { duration: 0.4, ease: "easeOut", }, }, hidden: { opacity: 0, transition: { duration: 0, }, }, } export function OnboardingContentStep({ currentView = "continue", onSubmit, }: OnboardingContentStepProps) { const router = useRouter() const handleContinue = () => { router.push("/new/onboarding/welcome?step=features") } const handleAddMemories = () => { router.push("/new/onboarding/welcome?step=memories") } const isContinue = currentView === "continue" const isFeatures = currentView === "features" const isMemories = currentView === "memories" return ( {/* Continue content */}

I'm built with Supermemory's super fast memory API,
so you never have to worry about forgetting
what matters across your AI apps.

{/* Features content */}

What I can do for you

Brain icon

Remember every context

I keep track of what you've saved and shared with your supermemory.

Search icon

Find when you need it

I surface the right memories inside
your supermemory, superfast.

Growth icon

Grow with your supermemory

I learn and personalize over time, so every interaction feels natural.

{/* Memories/Profile content */}
{onSubmit && ( )}
) }