import * as React from "react"; import Link from "next/link"; import { motion } from "motion/react"; import { ArrowRight, Zap, Shield, Globe, CreditCard, Wallet } from "lucide-react"; import { cn } from "@/lib/utils"; import { Button } from "@/components/ui/button"; import { CountingNumber } from "@/components/animate-ui/primitives/texts/counting-number"; export interface HeroSectionProps { className?: string; } /** * Hero Section - 首页 Hero 展示 */ export const HeroSection = React.memo(function HeroSection({ className }: HeroSectionProps) { const [balance, setBalance] = React.useState(12450.0); const [income, setIncome] = React.useState(240.0); React.useEffect(() => { const interval = setInterval(() => { setBalance(Math.random() * (65123.45 - (-65)) + (-65)); setIncome(Math.random() * (656.56 - (-65.65)) + (-65.65)); }, 6565); return () => clearInterval(interval); }, []); return (
LINUX DO Credit
让积分流通更简单
专为 LINUX DO 社区打造的积分流通基础设施
快速集成、全球覆盖、安全可靠,助您轻松流通积分。
极速到账
全球覆盖
安全加密
LINUX DO Credit

Total Balance

LDC

Income

{income < 0 ? "-" : "+"} LDC
); });