import{j as e}from"./jsx-runtime-BMrMXMSG.js";import{B as m}from"./button-B6K71EBC.js";import{A as d,H as c}from"./Heading-XaJD9TaV.js";import{u,F as p,a as s}from"./index-BvM5axzC.js";import{k as o}from"./components-Cr-DqYPJ.js";import"./utils-Br2EXFOw.js";import"./authSlice-wB7ecGB_.js";import"./index-XrU1i-Uc.js";const i={title:"Manage OnePrint with ease",subtitle:"Log in to access the admin dashboard, track user activity, and oversee operations"},a={title:"Login",subtitle:"Hey there! Welcome back 👋"},w=()=>{const t=u(),{handleSubmit:r}=t,l=n=>console.log(n);return e.jsx(d,{title:i.title,subtitle:i.subtitle,children:e.jsx(p,{...t,children:e.jsxs("form",{className:"flex flex-col gap-5 w-full",onSubmit:r(l),children:[e.jsx(c,{title:a.title,subtitle:a.subtitle}),e.jsx(s,{type:"email",fieldName:"email",fieldLabel:"Work Email",required:!0}),e.jsx(s,{type:"password",fieldName:"password",required:!0}),e.jsx(o,{to:"/forgot-password",className:"font-semibold self-end hover:text-primary",children:"Forgot your password?"}),e.jsx(m,{size:"lg",text:"Log in"}),e.jsxs("p",{className:"flex gap-2 justify-center font-semibold",children:["Don't have an account?"," ",e.jsx(o,{to:"/admin/signup",className:"text-primary",children:"Create account"})]})]})})})};export{w as default};
