mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-04 11:30:58 +08:00
refactor(web): 引入 pages 目录并迁移 LandingPage;修正 App 引用与相对路径,保持构建通过
This commit is contained in:
@@ -6,7 +6,7 @@ import { AITradersPage } from './components/AITradersPage';
|
||||
import { LoginPage } from './components/LoginPage';
|
||||
import { RegisterPage } from './components/RegisterPage';
|
||||
import { CompetitionPage } from './components/CompetitionPage';
|
||||
import { LandingPage } from './components/LandingPage';
|
||||
import { LandingPage } from './pages/LandingPage';
|
||||
import AILearning from './components/AILearning';
|
||||
import { LanguageProvider, useLanguage } from './contexts/LanguageContext';
|
||||
import { AuthProvider, useAuth } from './contexts/AuthContext';
|
||||
|
||||
@@ -13,8 +13,8 @@ import {
|
||||
Lock,
|
||||
Cpu,
|
||||
} from 'lucide-react'
|
||||
import { CryptoFeatureCard } from './CryptoFeatureCard'
|
||||
import Typewriter from './Typewriter'
|
||||
import { CryptoFeatureCard } from '../components/CryptoFeatureCard'
|
||||
import Typewriter from '../components/Typewriter'
|
||||
|
||||
// Animation variants
|
||||
const fadeInUp = {
|
||||
@@ -37,13 +37,7 @@ const staggerContainer = {
|
||||
},
|
||||
}
|
||||
|
||||
const floatingAnimation = {
|
||||
y: [0, -20, 0],
|
||||
transition: {
|
||||
duration: 3,
|
||||
repeat: Infinity,
|
||||
},
|
||||
}
|
||||
// removed floatingAnimation to match simplified style
|
||||
|
||||
export function LandingPage() {
|
||||
const [mobileMenuOpen, setMobileMenuOpen] = useState(false)
|
||||
Reference in New Issue
Block a user