2026-01-29 16:23:10 +08:00
|
|
|
'use client';
|
|
|
|
|
|
2026-01-27 17:26:30 +08:00
|
|
|
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';
|
2026-01-29 16:23:10 +08:00
|
|
|
import { useTheme } from '@/contexts/ThemeContext';
|
2026-01-27 17:26:30 +08:00
|
|
|
|
|
|
|
|
export default function Home() {
|
2026-01-29 16:23:10 +08:00
|
|
|
const { theme } = useTheme();
|
|
|
|
|
const isDark = theme === 'dark';
|
|
|
|
|
|
2026-01-27 17:26:30 +08:00
|
|
|
return (
|
2026-01-29 16:23:10 +08:00
|
|
|
<div className={`min-h-screen ${isDark ? 'bg-[#0a0a0a]' : 'bg-white'}`}>
|
2026-01-27 17:26:30 +08:00
|
|
|
<Navbar />
|
2026-01-29 16:23:10 +08:00
|
|
|
<HeroSection />
|
2026-01-27 17:26:30 +08:00
|
|
|
<StatsSection />
|
|
|
|
|
<TrustedBySection />
|
|
|
|
|
<WhyAssetXSection />
|
|
|
|
|
<HowItWorksSection />
|
|
|
|
|
<SecuritySection />
|
|
|
|
|
<Footer />
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|