"use client";
import React from "react";
import { motion } from "framer-motion";
import { Globe, Database, Activity, Zap } from "lucide-react";
import { cn } from "@/lib/utils";
// Variantes para animação de entrada (Stagger)
const containerVariants = {
hidden: { opacity: 0 },
visible: {
opacity: 1,
transition: { staggerChildren: 0.1 }
}
};
const itemVariants = {
hidden: { y: 20, opacity: 0 },
visible: { y: 0, opacity: 1 }
};
export function ImpactSection() {
return (
{/* Background Decor - Grid de Engenharia */}
{/* Header - Autoridade Técnica */}
Escalabilidade e Impacto Global
Métricas de performance da maior rede colaborativa de transparência alimentar do planeta.
{/* Stats Grid - Estilo Bento Box Sênior */}
{[
{ label: "Data Nodes", val: "2.0M+", icon: Database, color: "text-blue-500", bg: "bg-blue-500/10" },
{ label: "Regions", val: "100+", icon: Globe, color: "text-emerald-500", bg: "bg-emerald-500/10" },
{ label: "Uptime", val: "24/7", icon: Activity, color: "text-purple-500", bg: "bg-purple-500/10" },
{ label: "Local Cache", val: "218k", icon: Zap, color: "text-orange-500", bg: "bg-orange-500/10" },
].map((stat) => (
{stat.val}
{stat.label}
))}
{/* World Map - Visualização de Rede de Dados */}
[Image of a world map with data points and connections]
Rede Global de Sincronização
Monitoramento de tráfego de metadados em tempo real
{/* Pulsing Data Points (Engineering nodes) */}
{[
{ t: "20%", l: "25%", c: "bg-blue-500" },
{ t: "40%", l: "60%", c: "bg-emerald-500" },
{ t: "70%", l: "30%", c: "bg-purple-500" },
{ t: "25%", l: "80%", c: "bg-orange-500" },
{ t: "55%", l: "15%", c: "bg-red-500" },
].map((dot, i) => (
))}
Live Node Updates
{/* Impact Logs - High Density Info */}
);
}
function ImpactCard({ title, items, type }: { title: string, items: {label: string, text: string}[], type: 'blue' | 'emerald' }) {
return (
{title}
{items.map((item, i) => (
{item.label}: {item.text}
))}
);
}