2 lines
1.9 KiB
JavaScript
2 lines
1.9 KiB
JavaScript
|
|
import{j as e}from"./vendor-react-YMhRUmcb.js";import{L as i}from"./vendor-router-DX94Iu-2.js";import{d as o,C as d}from"./index-D2uzyr9g.js";function u({title:l,subtitle:s,children:r,footerLinks:a,className:n}){return e.jsxs("div",{className:o("min-h-screen flex items-center justify-center bg-background py-12 px-4 sm:px-6 lg:px-8 relative overflow-hidden",n),role:"main","aria-label":"Page d'authentification",children:[e.jsxs("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",children:[e.jsx("div",{className:"absolute top-0 right-0 w-96 h-96 bg-cyan/10 rounded-full blur-3xl animate-pulse"}),e.jsx("div",{className:"absolute bottom-0 left-0 w-96 h-96 bg-magenta/10 rounded-full blur-3xl animate-pulse",style:{animationDelay:"1s"}})]}),e.jsxs("div",{className:"max-w-md w-full mx-auto space-y-8 relative z-10 animate-fade-in",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-[0_0_20px_var(--color-primary)/0.4]","aria-hidden":"true",children:e.jsx("span",{className:"text-background 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:l}),s&&e.jsx("p",{className:"text-sm text-muted-foreground",role:"doc-subtitle",children:s})]}),e.jsx(d,{variant:"surface",padding:"lg",className:"w-full","aria-labelledby":"auth-form-title",children:r}),a&&a.length>0&&e.jsx("nav",{className:"text-center space-x-4","aria-label":"Navigation d'authentification",children:a.map(t=>e.jsx(i,{to:t.to,className:"text-sm text-muted-foreground hover:text-foreground transition-colors focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 rounded",children:t.label},t.to))})]})]})}export{u as A};
|