init: 初始化 AssetX 项目仓库

包含 webapp(Next.js 用户端)、webapp-back(Go 后端)、
antdesign(管理后台)、landingpage(营销落地页)、
数据库 SQL 和配置文件。
This commit is contained in:
2026-03-27 11:26:43 +00:00
commit 2ee4553b71
634 changed files with 988255 additions and 0 deletions

35
landingpage/app/page.tsx Normal file
View File

@@ -0,0 +1,35 @@
'use client';
if (typeof window !== 'undefined') {
history.scrollRestoration = 'manual';
}
import Navbar from '@/components/Navbar';
import HeroSection from '@/components/HeroSection';
import StatsSection from '@/components/StatsSection';
import TrustedBySection from '@/components/TrustedBySection';
import WhyAssetXSection from '@/components/WhyAssetXSection';
import HowItWorksSection from '@/components/HowItWorksSection';
import SecuritySection from '@/components/SecuritySection';
import Footer from '@/components/Footer';
import { useTheme } from '@/contexts/ThemeContext';
export default function Home() {
const { theme } = useTheme();
const isDark = theme === 'dark';
return (
<div className={`min-h-screen overflow-x-hidden ${isDark ? 'bg-[#0a0a0a]' : 'bg-white'}`}>
<Navbar />
<main style={{ paddingTop: 'var(--navbar-height, 72px)' }}>
<HeroSection />
<StatsSection />
</main>
<TrustedBySection />
<WhyAssetXSection />
<HowItWorksSection />
<SecuritySection />
<Footer />
</div>
);
}