save avant prochaine modif

This commit is contained in:
2026-04-08 14:46:10 +02:00
parent bb10407e66
commit d88ba7c53c
1747 changed files with 194075 additions and 2433 deletions

View File

@@ -0,0 +1 @@
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,3466,e=>{"use strict";var r=e.i(5974),t=e.i(32653),s=e.i(23862),n=e.i(88842);e.s(["default",0,()=>{let{login:e}=(0,n.useUser)(),[a,o]=(0,t.useState)(""),[d,l]=(0,t.useState)(""),c=(0,s.useRouter)();return(0,r.jsx)("div",{className:"min-h-[80vh] flex items-center justify-center bg-gray-50 py-12 px-4 sm:px-6 lg:px-8",children:(0,r.jsxs)("div",{className:"max-w-md w-full space-y-8",children:[(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)("div",{className:"mx-auto h-12 w-12 bg-brand-600 rounded-lg flex items-center justify-center text-white font-bold text-2xl",children:"A"}),(0,r.jsx)("h2",{className:"mt-6 text-3xl font-extrabold text-gray-900 font-serif",children:"Connexion à votre espace"}),(0,r.jsxs)("p",{className:"mt-2 text-sm text-gray-600",children:["Ou ",(0,r.jsx)("a",{href:"#",className:"font-medium text-brand-600 hover:text-brand-500",children:"créez votre compte entreprise pour 1€"})]})]}),(0,r.jsxs)("form",{className:"mt-8 space-y-6",onSubmit:r=>{r.preventDefault(),e(),c.push("/dashboard")},children:[(0,r.jsxs)("div",{className:"rounded-md shadow-sm -space-y-px",children:[(0,r.jsx)("div",{children:(0,r.jsx)("input",{type:"email",required:!0,className:"appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 placeholder-gray-500 text-gray-900 rounded-t-md focus:outline-none focus:ring-brand-500 focus:border-brand-500 focus:z-10 sm:text-sm",placeholder:"Adresse email",value:a,onChange:e=>o(e.target.value)})}),(0,r.jsx)("div",{children:(0,r.jsx)("input",{type:"password",required:!0,className:"appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 placeholder-gray-500 text-gray-900 rounded-b-md focus:outline-none focus:ring-brand-500 focus:border-brand-500 focus:z-10 sm:text-sm",placeholder:"Mot de passe",value:d,onChange:e=>l(e.target.value)})})]}),(0,r.jsx)("div",{children:(0,r.jsx)("button",{type:"submit",className:"group relative w-full flex justify-center py-2 px-4 border border-transparent text-sm font-medium rounded-md text-white bg-brand-600 hover:bg-brand-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-500",children:"Se connecter"})}),(0,r.jsx)("div",{className:"text-sm text-center text-gray-500",children:"(Compte démo : n'importe quel email/mdp fonctionne)"})]})]})})}])}]);