- apps/web: test updates (Vitest/setup), playbackAnalyticsService, TrackGrid, serviceErrorHandler - veza-common: logging, metrics, traits, validation, random - veza-stream-server: audio pipeline, codecs, cache, monitoring, routes - apps/web/dist_verification: refresh build assets (content-hashed filenames) Co-authored-by: Cursor <cursoragent@cursor.com>
1 line
3.8 KiB
JavaScript
1 line
3.8 KiB
JavaScript
import{a as d,j as e}from"./vendor-react-C9dYU-TK.js";import{C as o,b as l,d as c,e as m,f as x,B as t}from"./index-BMBS6scK.js";import{a as u}from"./vendor-router-Dr0ZB7zf.js";import{b as p,c as f,R as h,H as j,d as g,M as N}from"./vendor-icons-BSV6HBy1.js";import"./vendor-CjLUfV8Y.js";import"./vendor-security-DsrNJhpn.js";import"./vendor-tanstack-C4XaEYj2.js";import"./vendor-http-CctT3C58.js";import"./vendor-utils-D0JLFg89.js";import"./vendor-motion-CbAtAbUE.js";import"./vendor-i18n-PN7w4axr.js";function A(){const r=u(),[s,a]=d.useState(!1),i=async()=>{a(!0),setTimeout(()=>{window.location.reload()},500)},n=()=>{r("/dashboard")};return e.jsx("div",{className:"min-h-screen flex items-center justify-center bg-background p-4",children:e.jsx("div",{className:"w-full max-w-2xl",children:e.jsxs(o,{className:"text-center",children:[e.jsxs(l,{children:[e.jsx("div",{className:"mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-destructive/10",children:e.jsx(p,{className:"h-8 w-8 text-destructive dark:text-destructive"})}),e.jsx(c,{className:"text-2xl",children:"Erreur serveur"}),e.jsx(m,{children:"Une erreur interne s'est produite. Notre équipe a été notifiée."})]}),e.jsxs(x,{className:"space-y-6",children:[e.jsx("div",{className:"text-6xl font-bold text-foreground",children:"500"}),e.jsx("p",{className:"text-muted-foreground dark:text-muted-foreground",children:"Nous nous excusons pour la gêne occasionnée. Notre équipe technique a été automatiquement notifiée et travaille à résoudre le problème."}),e.jsx("div",{className:"bg-muted/50 border border-border rounded-lg p-4",children:e.jsxs("div",{className:"flex items-start gap-4 text-left",children:[e.jsx(f,{className:"h-5 w-5 text-muted-foreground mt-0.5"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:"Que faire maintenant ?"}),e.jsxs("ul",{className:"text-sm text-muted-foreground mt-2 space-y-1 list-disc list-inside",children:[e.jsx("li",{children:"Attendez quelques instants et réessayez"}),e.jsx("li",{children:"Vérifiez votre connexion internet"}),e.jsx("li",{children:"Si le problème persiste, contactez le support"})]})]})]})}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-2",children:[e.jsxs(t,{onClick:i,disabled:s,className:"flex-1",children:[e.jsx(h,{className:`mr-2 h-4 w-4 ${s?"animate-spin":""}`}),s?"Réessai...":"Réessayer"]}),e.jsxs(t,{onClick:n,variant:"outline",className:"flex-1",children:[e.jsx(j,{className:"mr-2 h-4 w-4"}),"Retour au dashboard"]})]}),e.jsxs("div",{className:"border-t pt-4 text-left",children:[e.jsx("p",{className:"text-sm font-medium text-foreground mb-3",children:"Besoin d'aide ?"}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground dark:text-muted-foreground",children:[e.jsx(g,{className:"h-4 w-4 text-success"}),e.jsx("span",{children:"L'erreur a été automatiquement signalée à notre équipe"})]}),e.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground dark:text-muted-foreground",children:[e.jsx(N,{className:"h-4 w-4 text-muted-foreground"}),e.jsx("span",{children:"Contactez le support si le problème persiste après plusieurs tentatives"})]})]})]}),e.jsxs("details",{className:"border-t pt-4 text-left",children:[e.jsx("summary",{className:"text-sm font-medium text-foreground cursor-pointer hover:text-foreground dark:hover:text-foreground",children:"Détails techniques"}),e.jsxs("div",{className:"mt-2 p-4 bg-muted rounded text-xs font-mono text-muted-foreground dark:text-muted-foreground",children:[e.jsx("p",{children:"Code d'erreur: 500 Internal Server Error"}),e.jsxs("p",{children:["Timestamp: ",new Date().toISOString()]}),e.jsxs("p",{children:["User Agent: ",navigator.userAgent]})]})]})]})]})})})}export{A as default};
|