import React from "react"; import { motion } from "framer-motion"; import BlurText from "../components/BlurText"; import { useAuth } from "../context/AuthContext"; export default function HeroSection({ onOpenAuth, onViewWorkspace }) { const { user } = useAuth(); const containerVariants = { initial: {}, animate: { transition: { staggerChildren: 0.14 }, }, }; const itemVariants = { initial: { filter: "blur(12px)", opacity: 0, y: 24 }, animate: { filter: "blur(0px)", opacity: 1, y: 0, transition: { duration: 0.85, ease: "easeOut" }, }, }; const STATS = [ { icon: ( ), value: "12.5 Sec", label: "Average Agent Latency", }, { icon: ( ), value: "Real-Time", label: "DuckDuckGo Fact Verification", }, { icon: ( ), value: "2 Agents", label: "Orchestrated Pipeline", }, ]; const TECH = ["FastAPI", "Celery", "Redis", "PostgreSQL", "Gemini Core", "Prometheus"]; return (
{/* Main Content */} {/* Live Badge */} Multi-Agent Autonomous Core — Live {/* Headline */}
{/* Subheading — from README */} Submit any open-ended problem. A pipeline of specialized agents — Case Manager, Investigators, and Verifier — collaborates to break it down, crawl the web, and return hallucination-scored intelligence in seconds. {/* Single CTA — centered */} {/* Stats Row — 3 cards, properly spaced from CTA */} {STATS.map((s, i) => (
{s.icon}

{s.value}

{s.label}

))}
{/* Footer Tech Strip — properly separated */}

Powered by

{TECH.map((t, i) => ( {t} {i < TECH.length - 1 && ( · )} ))}
); }