import { useTranslation } from "react-i18next"; import { Boxes, FolderTree, MonitorSmartphone, Network, Play, Plug, Workflow, type LucideIcon, } from "lucide-react"; /** * A tour of the things people miss because they live behind a rail icon. * Terminal and hosts are covered by the welcome step, so this is deliberately * the "there is more than SSH here" list. */ const FEATURES: { icon: LucideIcon; key: string }[] = [ { icon: FolderTree, key: "files" }, { icon: MonitorSmartphone, key: "desktop" }, { icon: Plug, key: "tunnels" }, { icon: Boxes, key: "docker" }, { icon: Play, key: "snippets" }, { icon: Workflow, key: "automations" }, { icon: Network, key: "metrics" }, ]; export function FeaturesStep() { const { t } = useTranslation(); return (

{t("onboarding.featuresIntro")}

{FEATURES.map(({ icon: Icon, key }) => (
{t(`onboarding.feature_${key}`)} {t(`onboarding.feature_${key}_desc`)}
))}

{t("onboarding.featuresRailHint")}

); }