import { Repeat, ScrollText, Sparkles, type LucideIcon } from 'lucide-react' import { Route, Routes, useNavigate } from 'react-router' import { Button } from '../ui/Button.tsx' import { Icon } from '../ui/Icon.tsx' import { OnboardingStep } from './OnboardingStep.tsx' import { RegularsStep } from './RegularsStep.tsx' import styles from './Onboarding.module.css' // OnboardingPage is /onboarding and its steps: the welcome, the Regulars // (/onboarding/regulars) and notifications (/onboarding/notifications). export function OnboardingPage() { return ( } /> } /> } /> ) } const terms: { icon: LucideIcon; name: string; meaning: string }[] = [ { icon: Repeat, name: 'Regulars', meaning: 'The dinners our kitchen makes on repeat. You add a few next.', }, { icon: Sparkles, name: 'Side quests', meaning: 'New dinners MealQuest suggests from your Regulars. Try it or Pass.', }, { icon: ScrollText, name: 'Quest log', meaning: 'The Side quests you said Try it to, waiting for a night on the plan.', }, ] function WelcomeStep() { const navigate = useNavigate() return ( void navigate('/onboarding/regulars')}> Let's start } >

MealQuest plans the household's dinners around what you already love to cook.

) } // TODO(Feature 12): onboarding step 3 — notifications and finishing // onboarding — is a later task; until then the step only says so. function NotificationsStep() { return (

Setting up notifications arrives in a later update.

) }