import Link from "next/link"; import { ArrowRight, CircleCheck, LifeBuoy, ShoppingBag } from "lucide-react"; import { buttonVariants } from "@/components/ui/button"; import { cn } from "@/lib/utils"; interface FirstRunGuideProps { pendingOrderCount: number; } const steps = [ { title: "选择套餐", description: "从商店挑选代理或流媒体套餐。", }, { title: "完成支付", description: "支付成功后自动开通订阅。", }, { title: "导入使用", description: "复制订阅链接或扫码导入客户端。", }, ]; export function FirstRunGuide({ pendingOrderCount }: FirstRunGuideProps) { const hasPendingOrder = pendingOrderCount > 0; return (

新用户指引

快速开始

完成「选套餐、支付、拿订阅」三步即可开始使用。

{hasPendingOrder ? "继续支付订单" : "去商店选择套餐"} 需要帮助
{steps.map((step, index) => (
{index === 0 ? ( ) : ( )}

{step.title}

{step.description}

))}
); }