"use client"; import { useState, useEffect } from "react"; import { formatRestoreDateShort } from "@/config/promo.config"; import styles from "../vip.module.css"; type LandingCTAProps = { onJoin: () => void; onLogin: () => void; }; export function LandingCTA({ onJoin, onLogin }: LandingCTAProps) { const [restoreDate, setRestoreDate] = useState(""); useEffect(() => { setRestoreDate(formatRestoreDateShort()); }, []); return (

限时特惠 · {restoreDate || "—"}恢复原价

阶梯定价 · 数字交付 · 不支持退款

🚫 不适合躺赚、现金流紧张

); }