import { motion } from 'framer-motion' import { X } from 'lucide-react' export default function LoginModal({ onClose }: { onClose: () => void }) { return ( e.stopPropagation()} >

访问 NOFX 平台

请选择登录或注册以访问完整的 AI 交易平台

{ window.history.pushState({}, '', '/login') window.dispatchEvent(new PopStateEvent('popstate')) onClose() }} className='block w-full px-6 py-3 rounded-lg font-semibold text-center' style={{ background: 'var(--brand-yellow)', color: 'var(--brand-black)' }} whileHover={{ scale: 1.05, boxShadow: '0 10px 30px rgba(240, 185, 11, 0.4)' }} whileTap={{ scale: 0.95 }} > 登录 { window.history.pushState({}, '', '/register') window.dispatchEvent(new PopStateEvent('popstate')) onClose() }} className='block w-full px-6 py-3 rounded-lg font-semibold text-center' style={{ background: 'var(--brand-dark-gray)', color: 'var(--brand-light-gray)', border: '1px solid rgba(240, 185, 11, 0.2)' }} whileHover={{ scale: 1.05, borderColor: 'var(--brand-yellow)' }} whileTap={{ scale: 0.95 }} > 注册新账号
) }