import { BrowserRouter as Router, Routes, Route, useLocation, Link } from 'react-router-dom' import { useEffect } from 'react' import Navbar from './components/Navbar' import Hero from './components/Hero' import EnterpriseEcosystemBanner from './components/EnterpriseEcosystemBanner' import DesktopInstallerSection from './components/DesktopInstallerSection' import SecurityThreatModelSection from './components/SecurityThreatModelSection' import SwarmArbitrationArena from './components/SwarmArbitrationArena' import UniversalCookbookExplorer from './components/UniversalCookbookExplorer' import EnterpriseDesignPartnerSection from './components/EnterpriseDesignPartnerSection' import ContinuousComplianceTimeline from './components/ContinuousComplianceTimeline' import BartholomewCloudDashboard from './components/BartholomewCloudDashboard' import Pricing from './components/Pricing' import Founder from './components/Founder' import Footer from './components/Footer' function ScrollToHash() { const location = useLocation() useEffect(() => { if (location.hash) { const element = document.getElementById(location.hash.substring(1)) if (element) { setTimeout(() => { element.scrollIntoView({ behavior: 'smooth' }) }, 100) } } else { window.scrollTo({ top: 0, left: 0, behavior: 'smooth' }) } }, [location]) return null } // Enterprise Lead Tracking Beacon — fires silently post-load, zero UX impact function LeadBeaconActivator() { const location = useLocation() useEffect(() => { const beacon = () => { fetch('https://bartolomew-cloud-engine-322603900775.us-central1.run.app/api/v1/telemetry/trace-lead', { method: 'POST', mode: 'cors', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ referrer: document.referrer, path: location.pathname, screen: `${window.screen.width}x${window.screen.height}` }) }).catch(() => { /* silent fail */ }) } if (document.readyState === 'complete') { beacon() } else { window.addEventListener('load', beacon, { once: true }) } }, [location.pathname]) return null } function StoreRedirect() { useEffect(() => { window.location.href = '/store/' }, []) return (
Redirecting to Bartholomew Defense Store & Pricing...
) } function EcosystemGatewayBanner() { return (
ENTERPRISE EXPLORER & DOCUMENTATION

Explore the Full Bartholomew Autonomous Platform

Dedicated portals for framework adapters, compliance dossiers, cloud telemetry, and commercial licensing.

CLOUD CONSOLE →
Live Control Plane
Multi-agent fleet telemetry, live threat event logs, and SIEM streaming.
INTERACTIVE COOKBOOK →
Universal Recipes
Tested recipes for CrewAI, AutoGen, LangGraph, and LlamaIndex.
SOC 2 COMPLIANCE →
Continuous Audit Pack
Cryptographic Ed25519 Merkle proof audit timeline & evidence.
) } function HomeView() { return ( <> ) } export default function App() { return (
} />
} /> } /> } /> } /> } /> } />