import { getPlatformStatsServer } from "@/lib/server-api"; import { HomeNavbar } from "@/components/home-navbar"; import { Shield, LineChart, Zap, ArrowRight, Sparkles } from "lucide-react"; import { Button } from "@/components/ui/button"; import Link from "next/link"; import { AnimatedStatsSection } from "@/components/animated-stats-section"; import { MotionWrapper } from "@/components/ui/motion-wrapper"; export const dynamic = 'force-dynamic'; export default async function Home() { try { const stats = await getPlatformStatsServer(); return (
{/* Hero Section */}
Secure Crypto Payments

The Future of E-commerce Management

Streamline your online business with our all-in-one platform. Secure payments, order tracking, and analytics in one place.

{/* Features Grid */}
{[ { icon: Shield, title: "Secure Payments", description: "Built-in cryptocurrency support with maximum privacy and security for your transactions." }, { icon: LineChart, title: "Real-time Analytics", description: "Track your business performance with detailed insights and reporting tools." }, { icon: Zap, title: "Lightning Fast", description: "Optimized for speed with real-time updates and instant notifications." } ].map((feature, i) => (

{feature.title}

{feature.description}

))}
{/* Stats Section */}
{/* Footer */}
© {new Date().getFullYear()} Ember. All rights reserved.
); } catch (error) { console.error(error); return
Error loading page
; } }