import { createFileRoute } from "@tanstack/react-router"; import { Card, CardContent, CardHeader, CardTitle, CardDescription } from "@/components/ui/card"; import { Badge } from "@/components/ui/badge"; import { Separator } from "@/components/ui/separator"; import { Building2, Sparkles, DollarSign, TestTube2, GraduationCap, ArrowRight, Mail, Cloud, ShieldCheck, GitPullRequest, Monitor, Users, Shield, Code, } from "lucide-react"; export const Route = createFileRoute("/enterprise")({ component: EnterprisePage }); // ── Enterprise Persona Data ── const PERSONAS = [ { name: "CTO / VP Engineering", icon: Building2, metrics: 6, blocked: 2, color: "border-blue-500/30", bg: "bg-blue-500/5", badge: "bg-blue-500/15 text-blue-400", insights: [ "57 idle licenses = $27K/yr waste", "AI adoption at 68% — 32% of seats unused", ], roi: "$27K/yr license savings", }, { name: "Engineering Manager", icon: Users, metrics: 7, color: "border-purple-500/30", bg: "bg-purple-500/5", badge: "bg-purple-500/15 text-purple-400", insights: [ "Dev A takes 3.2hr to first commit vs team avg 1.8hr", "Team rework rate 47 edits/file — specs unclear", ], roi: "2.6x sprint velocity improvement", }, { name: "DevEx Lead", icon: Sparkles, metrics: 7, color: "border-cyan-500/30", bg: "bg-cyan-500/5", badge: "bg-cyan-500/15 text-cyan-400", insights: [ "42% of devs quit the tool after 3 days", "New hire ramp: 6 weeks to 2 weeks with context-mode", ], roi: "6wk to 2wk onboarding", }, { name: "Security / CISO", icon: Shield, metrics: 5, color: "border-red-500/30", bg: "bg-red-500/5", badge: "bg-red-500/15 text-red-400", insights: [ "AWS key appeared in tool output for 7 minutes", "12 dangerous command attempts blocked this week", ], roi: "Full SOC2 AI audit trail", }, { name: "FinOps", icon: DollarSign, metrics: 1, blocked: 4, muted: true, color: "border-zinc-500/20", bg: "bg-zinc-500/5", badge: "bg-zinc-500/15 text-zinc-500", insights: [ "Cost data requires platform changes — 4 metrics blocked", ], roi: "15-30% cost optimization (when unblocked)", comingSoon: true, }, { name: "QA Lead", icon: TestTube2, metrics: 5, color: "border-amber-500/30", bg: "bg-amber-500/5", badge: "bg-amber-500/15 text-amber-400", insights: [ "Only 28% of sessions run tests", "35% first-pass test rate — quality crisis signal", ], roi: "Targeted tech debt sprints", }, { name: "Developer", icon: Code, metrics: 5, color: "border-emerald-500/30", bg: "bg-emerald-500/5", badge: "bg-emerald-500/15 text-emerald-400", insights: [ "Error rate dropped 60% after updating CLAUDE.md", "Tool mastery curve: 34% to 11% errors in 8 weeks", ], roi: "Personal mastery curve", note: "Already in Personal tab", }, { name: "Onboarding", icon: GraduationCap, metrics: 5, color: "border-orange-500/30", bg: "bg-orange-500/5", badge: "bg-orange-500/15 text-orange-400", insights: [ "New hire first commit: 4.2hr vs team avg 1.8hr", "Tool discovery: 3 tools week 1 to 8 tools week 6", ], roi: "4x faster ramp time", }, ] as const; // ── Enterprise Persona Card ── function PersonaCard({ persona }: { persona: typeof PERSONAS[number] }) { const Icon = persona.icon; const isMuted = "muted" in persona && persona.muted; return (

{persona.name}

{"comingSoon" in persona && persona.comingSoon && ( Coming Soon )}
{persona.metrics} metrics {"blocked" in persona && persona.blocked && ( {persona.blocked} blocked )}
{persona.insights.map((insight, i) => (

{insight}

))}

ROI

{persona.roi}

{"note" in persona && persona.note && (

{persona.note}

)}
); } // ── Enterprise Page ── function EnterprisePage() { return (

Enterprise

Team analytics, compliance, and cloud sessions

{/* Header */}

context-mode for Enterprise

56 metrics · 8 personas · 143 actionable insights

The open source plugin handles individual developers. For teams, we're building a managed analytics layer.

{/* Enterprise Value Props — 2x2 Grid */}
Context as a Service — API Your AI tools produce session data that no other tool can see. We expose it as an API.
CI/CD Pipelines Code Review Compliance

Twilio model: plugin free, API paid.

For your CISO "What did the AI do? Which files did it access? Did it run anything dangerous? Can we prove it for SOC2?"
Audit Every tool call, every file access, timestamped
SOC2 Automated compliance reports
For your DevOps "AI edited 47 files in this PR, 3 have no tests, 4 edit-run-fix cycles on auth.ts. Should we merge?"
GitHub Actions AI risk scoring Deploy gates
For your developers "I was debugging auth.ts yesterday on my laptop. Now I'm on my desktop. Where was I?"

Cloud sessions. Any device, any time. Full history.

{/* Persona Grid */}

Who Gets What

8 personas
{PERSONAS.map((persona, i) => ( ))}
{/* CTA */}

We're onboarding design partners

5 spots for teams that want to shape the product. Free access during the design phase.

Contact Us
); }