"use client" import { useEffect, useState } from "react" import { Zap, Sparkles } from "lucide-react" import { Button } from "@/components/ui/button" export default function HeroSection() { const [displayText, setDisplayText] = useState("") const fullText = "构建数字未来,连接无限可能" useEffect(() => { let index = 0 const timer = setInterval(() => { if (index < fullText.length) { setDisplayText(fullText.slice(0, index + 1)) index++ } else { clearInterval(timer) } }, 150) return () => clearInterval(timer) }, []) return (
{/* Soft Background Gradient */}
{/* Subtle Pattern */}
{/* Content */}
{/* Soft glowing orb behind text */}

{displayText} |

Web开发 | 服务器架构 | 网络解决方案

{/* Soft Floating Elements */}
) }