PageSourceSearch

https://kanvaz.ai/assets/_authenticated.os-836llOz9.js

js kanvaz.ai collected 2026-10-05 12:12:00 UTC 6,891 bytes, 1 lines download raw bytes

1import{u as h,r as n,s as l,J as i,j as e,L as r,K as g}from"./index-CcAOWX8U.js";function b(){const o=h(),[t,d]=n.useState(null);n.useEffect(()=>{l.auth.getUser().then(({data:s})=>d(s.user?.email??null))},[]);const m=n.useMemo(()=>{const s={};for(const a of i)s[a.phase]=(s[a.phase]??0)+1;return s},[]);async function x(){await l.auth.signOut(),o({to:"/",replace:!0})}const p=[{label:"Decisions today",value:"8,624",delta:"+12.4%"},{label:"Avg. decision-to-execution",value:"4.1s",delta:"−0.3s"},{label:"Working capital freed (MTD)",value:"$42.6M",delta:"+$3.8M"},{label:"Margin protected (MTD)",value:"€11.2M",delta:"+€0.9M"}],u=[{code:"UC.01",name:"Inventory Rebalancing",phase:"Planning",status:"Live",impact:"$11.4M"},{code:"UC.02",name:"Supplier Exception Resolution",phase:"Sourcing",status:"Live",impact:"$2.9M"},{code:"UC.03",name:"Lane Margin Optimization",phase:"Logistics",status:"Live",impact:"€4.2M"},{code:"UC.04",name:"Plant Output Rebalancing",phase:"Manufacturing",status:"Pilot",impact:"€2.1M"},{code:"UC.05",name:"DC Slot Optimization",phase:"Warehousing",status:"Pilot",impact:"€96K / day"}];return e.jsxs("div",{className:"min-h-screen flex flex-col bg-background text-foreground",children:[e.jsx("header",{className:"sticky top-0 z-50 border-b border-white/10 bg-background/85 backdrop-blur-md",children:e.jsxs("div",{className:"container-x flex h-14 items-center justify-between gap-4",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsxs(r,{to:"/",className:"font-display text-lg font-semibold tracking-tight",children:["Kanvaz",e.jsx("span",{className:"text-slate-500",children:".ai"})]}),e.jsx("span",{className:"hidden md:inline font-mono text-[10px] uppercase tracking-[0.22em] text-amber/80",children:"● Kanvaz OS · Client Workspace"})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[t&&e.jsx("span",{className:"hidden sm:inline font-mono text-[10px] uppercase tracking-[0.22em] text-muted-foreground",children:t}),e.jsxs("button",{onClick:x,className:"inline-flex items-center gap-2 border border-border px-3 py-1.5 font-mono text-[10px] uppercase tracking-[0.22em] font-semibold text-foreground transition-all hover:bg-foreground
1/5",children:["Sign out",e.jsx("span",{"aria-hidden":!0,children:"→"})]})]})]})}),e.jsx("main",{className:"flex-1",children:e.jsxs("div",{className:"container-x py-10 md:py-14",children:[e.jsxs("div",{className:"flex flex-wrap items-end justify-between gap-4",children:[e.jsxs("div",{children:[e.jsx("div",{className:"font-mono text-[10px] uppercase tracking-[0.22em] text-slate-500",children:"Decision Workspace"}),e.jsxs("h1",{className:"mt-2 font-display text-3xl md:text-4xl font-semibold tracking-tight",children:["Welcome back",t?`, ${t.split("@")[0]}`:"","."]}),e.jsx("p",{className:"mt-2 max-w-2xl text-sm text-muted-foreground",children:"Real-time view of every Kanvaz OS decision in flight across your supply chain — with value realization tracked against your baseline KPIs."})]}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx("button",{className:"inline-flex items-center gap-2 border border-border px-4 py-2 font-mono text-[10px] uppercase tracking-[0.22em] text-foreground hover:bg-foreground/5",children:"Export · CSV"}),e.jsxs("button",{className:"inline-flex items-center gap-2 bg-accent px-4 py-2 font-mono text-[10px] uppercase tracking-[0.22em] font-semibold text-accent-foreground hover:opacity-90",children:["Open Use Case Scout",e.jsx("span",{"aria-hidden":!0,children:"→"})]})]})]}),e.jsx("div",{className:"mt-10 grid gap-0 md:grid-cols-4 md:divide-x divide-white/10 border-y border-white/10",children:p.map(s=>e.jsxs("article",{className:"p-6",children:[e.jsx("div",{className:"font-mono text-[10px] uppercase tracking-[0.22em] text-slate-500",children:s.label}),e.jsx("div",{className:"mt-5 font-display text-3xl font-semibold tracking-tight tabular-nums",children:s.value}),e.jsxs("div",{className:"mt-2 font-mono text-[10px] uppercase tracking-[0.18em] text-amber/80 tabular-nums",children:[s.delta," · 24h"]})]},s.label))}),e.jsxs("div",{className:"mt-12 grid gap-10 lg:grid-cols-[1.2fr_1fr]",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"mb-4 flex items-center justify-between",children:[e.jsx("div",{className:"font-mono text-[10px] uppercase tracking-[0.22em] text-slate-500",children:"Live Snapshot · Decision Stream"}),e.jsxs("div",{className:"font-mono text-[10px] uppercase tracking-[0.18em] text-muted-foreground tabular-nums",children:[i.length," scenarios · 10s cadence"]})]}),e.jsx(g,{})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"mb-4 flex items-center justify-between",children:[e.jsx("div",{className:"font-mono text-[10px] uppercase tracking-[0.22em] text-slate-500",children:"Your Use Cases"}),e.jsx(r,{to:"/how-we-work",className:"font-mono text-[10px] uppercase tracking-[0.18em] text-muted-foreground hover:text-foreground",children:"+ Add use case →"})]}),e.jsx("ul",{className:"border border-white/10 divide-y divide-white/10",children:u.map(s=>e.jsxs("li",{className:"flex items-center justify-between gap-4 p-4",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsxs("div",{className:"font-mono text-[10px] uppercase tracking-[0.22em] text-slate-500",children:[s.code," · ",s.phase]}),e.jsx("div",{className:"mt-1 truncate text-sm text-foreground",children:s.name})]}),e.jsxs("div",{className:"flex flex-col items-end",children:[e.jsxs("span",{className:`font-mono text-[10px] uppercase tracking-[0.18em] ${s.status==="Live"?"text-amber/90":"text-muted-foreground"}`,children:["● ",s.status]}),e.jsx("span",{className:"font-mono text-sm font-semibold tabular-nums text-foreground",children:s.impact})]})]},s.code))}),e.jsxs("div",{className:"mt-6 border border-white/10 p-5",children:[e.jsx("div",{className:"font-mono text-[10px] uppercase tracking-[0.22em] text-slate-500",children:"Decision mix · last 100 events"}),e.jsx("ul",{className:"mt-4 space-y-3",children:Object.entries(m).map(([s,a])=>{const c=Math.round(a/i.length*100);return e.jsxs("li",{children:[e.jsxs("div",{className:"flex items-center justify-between font-mono text-[10px] uppercase tracking-[0.18em] text-foreground/80",children:[e.jsx("span",{children:s}),e.jsxs("span",{className:"tabular-nums text-muted-foreground",children:[c,"%"]})]}),e.jsx("div",{className:"mt-1.5 h-1 w-full bg-white/5",children:e.jsx("div",{className:"h-full bg-amber/70",style:{width:`${c}%`}})})]},s)})})]})]})]})]})}),e.jsx("footer",{className:"border-t border-white/10",children:e.jsxs("div",{className:"container-x py-6 flex items-center justify-between gap-4 font-mono text-[10px] uppercase tracking-[0.22em] text-muted-foreground",children:[e.jsx("span",{children:"kanvaz_os · v1.0 · eu-ai-act ready"}),e.jsx(r,{to:"/",className:"hover:text-foreground",children:"← back to site"})]})})]})}export{b as component};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.