This commit is contained in:
NotII
2025-04-07 19:25:24 +01:00
parent 7f7dd78818
commit 2f48ee38c2
102 changed files with 1825 additions and 761 deletions

View File

@@ -1,7 +1,7 @@
import Link from "next/link";
import { ArrowRight, Shield, LineChart, Zap } from "lucide-react";
import { Button } from "@/components/ui/button";
import { fetchPlatformStats } from "@/lib/stats-service";
import { getPlatformStatsServer } from "@/lib/api";
import { HomeNavbar } from "@/components/home-navbar";
import { Suspense } from "react";
import { AnimatedStatsSection } from "@/components/animated-stats-section";
@@ -31,7 +31,7 @@ function formatCurrencyValue(amount: number): string {
// This is a server component
export default async function Home() {
try {
const stats = await fetchPlatformStats();
const stats = await getPlatformStatsServer();
return (
<div className="flex flex-col min-h-screen bg-black text-white">