- 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 KiB
JavaScript
1 line
3 KiB
JavaScript
import{j as e}from"./vendor-react-C9dYU-TK.js";import{c as i,C as l}from"./index-BMBS6scK.js";import{L as d}from"./vendor-router-Dr0ZB7zf.js";function x({loading:r,variant:o="primary",className:n,children:a,disabled:t,...s}){return e.jsx("button",{className:i("w-full px-4 py-2.5 rounded-xl font-medium transition-all duration-[var(--sumi-duration-slow)] ease-in-out focus:outline-none focus:ring-2 focus:ring-primary/20 focus:ring-offset-2 focus:ring-offset-background",o==="primary"?"bg-primary text-primary-foreground hover:opacity-90 shadow-sm":"bg-muted text-foreground hover:bg-muted/80 border border-border",(t||r)&&"opacity-50 cursor-not-allowed",n),disabled:t||r,"aria-busy":r,"aria-disabled":t||r?"true":"false",...s,children:r?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"sr-only",children:"Chargement en cours"}),e.jsx("span",{"aria-hidden":"true",children:"Chargement..."})]}):a})}function f({title:r,subtitle:o,children:n,footerLinks:a,className:t}){return e.jsxs("div",{className:i("min-h-screen flex items-center justify-center bg-background py-12 px-4 sm:px-6 lg:px-8 relative overflow-hidden",t),role:"main","aria-label":"Page d'authentification",children:[e.jsxs("div",{className:"fixed inset-0 bg-background",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/5 via-transparent to-primary/5"}),e.jsx("div",{className:"absolute top-1/4 left-1/4 w-96 h-96 bg-primary/10 rounded-full blur-3xl animate-pulse"}),e.jsx("div",{className:"absolute bottom-1/4 right-1/4 w-64 h-64 bg-primary/5 rounded-full blur-3xl animate-pulse",style:{animationDelay:"2s"}}),e.jsx("div",{className:"absolute top-2/3 left-1/2 w-72 h-72 bg-secondary/5 rounded-full blur-3xl animate-pulse",style:{animationDelay:"4s"}})]}),e.jsxs("div",{className:"max-w-md w-full mx-auto space-y-8 relative z-10 animate-auth-enter",children:[e.jsxs("header",{className:"text-center",children:[e.jsxs("div",{className:"flex items-center justify-center mb-6",children:[e.jsx("div",{className:"h-12 w-12 rounded-xl bg-primary flex items-center justify-center shadow-sm","aria-hidden":"true",children:e.jsx("span",{className:"text-primary-foreground font-bold text-2xl",children:"V"})}),e.jsx("span",{className:"ml-3 font-bold text-3xl text-foreground",children:"Veza"})]}),e.jsx("h1",{id:"auth-form-title",className:"text-3xl font-bold text-foreground mb-2",children:r}),o&&e.jsx("p",{className:"text-sm text-muted-foreground",role:"doc-subtitle",children:o})]}),e.jsx(l,{variant:"surface",padding:"lg",className:"w-full bg-card/80 backdrop-blur-md border-border/50 shadow-2xl","aria-labelledby":"auth-form-title",children:n}),a&&a.length>0&&e.jsx("nav",{className:"text-center space-x-4","aria-label":"Navigation d'authentification",children:a.map(s=>e.jsx(d,{to:s.to,className:"text-sm text-muted-foreground hover:text-foreground transition-colors duration-[var(--duration-fast)] focus:outline-none focus:ring-2 focus:ring-primary/30 focus:ring-offset-2 focus:ring-offset-background rounded",children:s.label},s.to))})]})]})}export{f as A,x as a};
|