'use client';
import { useState, useEffect } from 'react';
import { StaticLink } from '@/components/ui/static-link';
import Image from 'next/image';
import { ArrowLeft, Phone } from 'lucide-react';
import { motion, AnimatePresence } from 'framer-motion';
import { Button } from '@/components/ui/button';
import { RippleButton } from '@/components/ui/ripple-button';
/**
* 产品站专属 Header
*
* 与主站 Header 的区别:
* - 无导航菜单(产品列表、关于我们等)
* - 只保留 Logo + 返回主站按钮
* - 始终浅色毛玻璃风格(适配产品页浅色主题)
* - 更简洁的视觉层次,强化"独立产品站"感知
*/
function ProductHeaderContent() {
const [isScrolled, setIsScrolled] = useState(false);
useEffect(() => {
const handleScroll = () => {
setIsScrolled(window.scrollY > 20);
};
window.addEventListener('scroll', handleScroll, { passive: true });
return () => window.removeEventListener('scroll', handleScroll);
}, []);
return (
{/* Logo */}
{/* 立即咨询 CTA */}
联系我们
{/* 返回主站按钮 */}
);
}
export function ProductHeader() {
return (
);
}