// Hero — flowing terminal/code background + bold headline const TerminalRain = () => { // A column of streaming code lines that drift upward forever. // Two columns offset so the loop is seamless. const lines = React.useMemo(() => { const samples = [ "import { Agent } from '@aura/runtime'", "export const triage = new Agent({", " model: 'claude-sonnet-4.5',", " tools: [postgres, slack, stripe],", " policy: 'tier-1-support',", "})", "", "// orchestrator.ts", "const run = await graph.invoke({", " task: 'reconcile payouts',", " context: { day: '2026-04-26' },", "})", "", "→ tool.call postgres.query ok 42ms", "→ tool.call math.stats ok 8ms", "→ tool.call slack.notify ok 120ms", "✓ run completed tokens=8412 $0.083", "", "contract Settlement {", " function release(address to, uint256 amt)", " external onlyOwner returns (bool) {", " require(escrow[to] >= amt, 'insufficient');", " escrow[to] -= amt;", " payable(to).transfer(amt);", " emit Released(to, amt, block.timestamp);", " return true;", " }", "}", "", "[runtime] cold-start agent pool …", "[runtime] 24 agents warmed in 312ms", "[runtime] queue depth=0 p50=84ms p99=410ms", "", "POST /v1/runs 201 Created", "GET /v1/runs/run_8af3e2 200 OK", "POST /v1/tools/register 201 Created", ]; return [...samples, ...samples]; }, []); const colorFor = (line) => { if (line.startsWith("//")) return "var(--text-faint)"; if (line.startsWith("→")) return "var(--accent-2)"; if (line.startsWith("✓")) return "var(--good)"; if (line.startsWith("[runtime]")) return "var(--text-faint)"; if (line.match(/^(POST|GET|PUT|DELETE)/)) return "var(--accent)"; if (line.match(/^(import|export|const|function|return|contract|require|emit)/)) return "var(--accent)"; return "var(--text-dim)"; }; return (
); }; const HERO_TXT = { en: { pill: "Autonomous B2B SaaS Platform · Powering South Asian E-Commerce", getStarted: "Get Started Free", viewServices: "Explore Platform", lastShipped: "Last shipped: 2 days ago", }, bn: { pill: "স্বয়ংক্রিয় B2B SaaS প্ল্যাটফর্ম · ই-কমার্স ও লজিস্টিকস", getStarted: "ফ্রি শুরু করুন", viewServices: "প্ল্যাটফর্ম দেখুন", lastShipped: "সর্বশেষ শিপড: ২ দিন আগে", }, }; // Same self-serve destination as the nav's "Get Started" -- lands a fresh signup straight on the // client portal's service catalog instead of a blank dashboard. const HERO_REGISTER_URL = "https://auth.auraajenticai.cloud/register?next=" + encodeURIComponent("https://client.auraajenticai.cloud/services"); // Dynamic Site Links Hook — seamlessly reads from Aura Admin Dashboard Control Center const useDynamicLinks = () => { const [links, setLinks] = React.useState({ google: "https://cloud.google.com/find-a-partner/partner/aura-ajentic-ai", meta: null, // null activates the interactive in-app verification modal courier: "https://courier.auraajenticai.cloud", }); React.useEffect(() => { const ctrl = new AbortController(); fetch("https://aura.auraajenticai.cloud/api/public/links?page=home", { signal: ctrl.signal, }) .then((res) => (res.ok ? res.json() : [])) .then((data) => { if (!Array.isArray(data) || data.length === 0) return; const updated = {}; data.forEach((item) => { const l = (item.label || "").toLowerCase(); if (l.includes("google")) updated.google = item.url; if (l.includes("meta")) updated.meta = item.url; if (l.includes("courier") || l.includes("mcp")) updated.courier = item.url; }); setLinks((prev) => ({ ...prev, ...updated })); }) .catch(() => { // Safe transparent fallback to official defaults }); return () => ctrl.abort(); }, []); return links; }; const Hero = ({ headlinePrefix, headlineSuffix, lang = "en" }) => { const D = PORTFOLIO_DATA; const prefix = headlinePrefix || "Autonomous AI Agents &"; const suffix = headlineSuffix || "operations cloud"; const t = HERO_TXT[lang] || HERO_TXT.en; const dynamicLinks = useDynamicLinks(); const [metaModalOpen, setMetaModalOpen] = React.useState(false); // Close modal on Escape key React.useEffect(() => { const handleKeyDown = (e) => { if (e.key === "Escape") setMetaModalOpen(false); }; window.addEventListener("keydown", handleKeyDown); return () => window.removeEventListener("keydown", handleKeyDown); }, []); // Lock body scrolling when modal is active React.useEffect(() => { if (metaModalOpen) { const prevOverflow = document.body.style.overflow; document.body.style.overflow = "hidden"; return () => { document.body.style.overflow = prevOverflow; }; } }, [metaModalOpen]); return ({lang === "bn" ? D.brand.taglineBn : D.brand.tagline}
{/* CTAs */}Official Meta Developer Platform Verification Record