1import{j as e}from"./index-BAnr4_3t.js";import{N as o}from"./Navigation-B3jW5qGr.js";import m from"./Footer-BLRISpjJ.js";import{b as x,C as u,c as t,J as p,d as h,e as g}from"./ui-vendor-BAPlMAVD.js";import"./react-vendor-DhYD1Kji.js";const w=()=>{const a="operational",d=[{name:"API Gateway",status:"operational",uptime:"99.99%",responseTime:"45ms"},{name:"AI Chat Service",status:"operational",uptime:"99.97%",responseTime:"120ms"},{name:"Infrastructure Monitor",status:"operational",uptime:"99.98%",responseTime:"80ms"},{name:"Authentication",status:"operational",uptime:"99.99%",responseTime:"35ms"},{name:"Dashboard",status:"operational",uptime:"99.95%",responseTime:"200ms"},{name:"Database",status:"operational",uptime:"99.99%",responseTime:"25ms"}],l=[{date:"2024-01-15",title:"Scheduled Maintenance - Database Upgrade",status:"resolved",duration:"2 hours",description:"Scheduled maintenance window for database performance improvements."},{date:"2024-01-08",title:"API Response Time Degradation",status:"resolved",duration:"45 minutes",description:"Temporary increase in API response times due to high traffic. Resolved by scaling infrastructure."}],n=s=>{switch(s){case"operational":return e.jsx(t,{className:"w-5 h-5 text-green-500"});case"degraded":return e.jsx(g,{className:"w-5 h-5 text-yellow-500"});case"outage":return e.jsx(h,{className:"w-5 h-5 text-red-500"});default:return e.jsx(t,{className:"w-5 h-5 text-green-500"})}},i=s=>{switch(s){case"operational":return"All Systems Operational";case"degraded":return"Degraded Performance";case"outage":return"Service Outage";default:return"All Systems Operational"}},c=s=>{switch(s){case"operational":return"text-green-500";case"degraded":return"text-yellow-500";case"outage":return"text-red-500";default:return"text-green-500"}};return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(o,{}),e.jsx("section",{className:"pt-24 pb-16 bg-gradient-to-br from-primary/5 to-accent/5",children:e.jsx("div",{className:"container mx-auto px-6",children:e.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[e.jsxs("h1",{className:"text-5xl md:text-6xl font-bold text-foreground mb-6",children:["System ",e.jsx("span",{className:"text-primary",children:"Status"})]}),e.jsx("p",{className:"text-xl text-muted-foreground leading-relaxed",children:"Real-time status and performance metrics for all Fixpanic services"})]})})}),e.jsx("section",{className:"py-12",children:e.jsx("div",{className:"container mx-auto px-6",children:e.jsx("div",{className:"max-w-4xl mx-auto",children:e.jsxs("div",{className:"bg-card rounded-lg border p-8 text-center",children:[e.jsxs("div",{className:"flex items-center justify-center gap-3 mb-4",children:[n(a),e.jsx("h2",{className:`text-2xl font-bold ${c(a)}`,children:i(a)})]}),e.jsxs("p",{className:"text-muted-foreground",children:["All systems are running smoothly. Last updated:"," ",new Date().toLocaleString()]})]})})})}),e.jsx("section",{className:"py-12",children:e.jsx("div",{className:"container mx-auto px-6",children:e.jsxs("div",{className:"max-w-6xl mx-auto",children:[e.jsx("h2",{className:"text-2xl font-bold text-foreground mb-8",children:"Service Status"}),e.jsx("div",{className:"grid gap-4",children:d.map((s,r)=>e.jsx("div",{className:"bg-card rounded-lg border p-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[n(s.status),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-foreground",children:s.name}),e.jsx("p",{className:"text-sm text-muted-foreground capitalize",children:s.status})]})]}),e.jsxs("div",{className:"flex gap-8 text-sm",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-foreground font-semibold",children:s.uptime}),e.jsx("div",{className:"text-muted-foreground",children:"Uptime"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-foreground font-semibold",children:s.responseTime}),e.jsx("div",{className:"text-muted-foreground",children:"Response Time"})]})]})]})},r))})]})})}),e.jsx("section",{className:"py-12 bg-muted/30",children:e.jsx("div",{className:"container mx-auto px-6",children:e.jsxs("div",{className:"max-w-6xl mx-auto",children:[e.jsx("h2",{className:"text-2xl font-bold text-foreground mb-8",children:"Performance Overview"}),e.jsxs("div",{className:"grid md:grid-cols-3 gap-6",children:[e.jsxs("div",{className:"bg-card rounded-lg border p-6 text-center",children:[e.jsx(x,{className:"w-8 h-8 text-primary mx-auto mb-4"}),e.jsx("div",{className:"text-2xl font-bold text-foreground mb-2",children:"99.98%"}),e.jsx("div",{className:"text-muted-foreground",children:"Overall Uptime"}),e.jsx("div",{className:"text-xs text-muted-foreground mt-1",children:"Last 30 days"})]}),e.jsxs("div",{className:"bg-card rounded-lg border p-6 text-center",children:[e.jsx(u,{className:"w-8 h-8 text-accent mx-auto mb-4"}),e.jsx("div",{className:"text-2xl font-bold text-foreground mb-2",children:"84ms"}),e.jsx("div",{className:"text-muted-foreground",children:"Avg Response Time"}),e.jsx("div",{className:"text-xs text-muted-foreground mt-1",children:"Last 24 hours"})]}),e.jsxs("div",{className:"bg-card rounded-lg border p-6 text-center",children:[e.jsx(t,{className:"w-8 h-8 text-green-500 mx-auto mb-4"}),e.jsx("div",{className:"text-2xl font-bold text-foreground mb-2",children:"0"}),e.jsx("div",{className:"text-muted-foreground",children:"Active Incidents"}),e.jsx("div",{className:"text-xs text-muted-foreground mt-1",children:"Current"})]})]})]})})}),e.jsx("section",{className:"py-12",children:e.jsx("div",{className:"container mx-auto px-6",children:e.jsxs("div",{className:"max-w-6xl mx-auto",children:[e.jsx("h2",{className:"text-2xl font-bold text-foreground mb-8",children:"Recent Incidents"}),e.jsx("div",{className:"space-y-4",children:l.map((s,r)=>e.jsxs("div",{className:"bg-card rounded-lg border p-6",children:[e.jsx("div",{className:"flex items-start justify-between mb-3",children:e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-foreground mb-1",children:s.title}),e.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground",children:[e.jsx("span",{children:s.date}),e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(t,{className:"w-4 h-4 text-green-500"}),"Resolved"]}),e.jsxs("span",{children:["Duration: ",s.duration]})]})]})}),e.jsx("p",{className:"text-muted-foreground",children:s.description})]},r))})]})})}),e.jsx("section",{className:"py-20 bg-gradient-to-br from-primary/10 to-accent/10",children:e.jsx("div",{className:"container mx-auto px-6",children:e.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[e.jsx("h2",{className:"text-3xl font-bold text-foreground mb-6",children:"Stay Updated"}),e.jsx("p",{className:"text-xl text-muted-foreground mb-8",children:"Get notified about system updates and maintenance windows"}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 max-w-md mx-auto",children:[e.jsx("input",{type:"email",placeholder:"Enter your email",className:"flex-1 px-4 py-2 rounded-lg border bg-background text-foreground"}),e.jsx("button",{className:"btn-hero whitespace-nowrap",onClick:()=>p.info("Email subscription coming soon!"),children:"Subscribe to Updates"})]})]})})}),e.jsx(m,{})]})};export{w as default};
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.