PageSourceSearch

https://appmanchu-ldk3lawl.manus.space/assets/AdminLogin-CMajFEz2.js

js appmanchu-ldk3lawl.manus.space collected 2026-10-03 05:00:14 UTC 7,819 bytes, 1 lines download raw bytes

1import{r as a,j as e}from"./vendor-trpc-BW0ubQFZ.js";import{u as m,t as x,S as g}from"./index-B27n6TE2.js";import{L as p}from"./lock-keyhole-CIJZxECV.js";import{A as b}from"./arrow-right-DHVhHOWc.js";import"./vendor-react-COd4auuD.js";import"./vendor-ui-BIS3fIqt.js";function N(){m();const[i,d]=a.useState(""),[c,o]=a.useState(""),[n,l]=a.useState(""),t=x.adminAuth.login.useMutation({onSuccess:s=>{if(s.role==="social_host"){window.location.href=s.mustChangePassword?"/host/change-password":"/host";return}window.location.href=s.mustChangePassword?"/admin/change-password":"/admin"},onError:s=>l(s.message)});function r(s){s.preventDefault(),l(""),t.mutate({username:i,password:c})}return e.jsxs("div",{"data-loc":"client/src/pages/AdminLogin.tsx:30",className:"min-h-screen bg-[#0f0e0c] px-4 py-6 text-[#29251f] md:grid md:grid-cols-[minmax(0,1fr)_minmax(420px,0.8fr)] md:bg-[#f6f6f2] md:p-0",children:[e.jsxs("section",{"data-loc":"client/src/pages/AdminLogin.tsx:31",className:"relative hidden overflow-hidden bg-[#1b1916] p-12 text-white md:flex md:flex-col md:justify-between",children:[e.jsx("div",{"data-loc":"client/src/pages/AdminLogin.tsx:32",className:"absolute -right-28 -top-24 h-[420px] w-[420px] rounded-full border border-[#c59c2a]/25"}),e.jsx("div",{"data-loc":"client/src/pages/AdminLogin.tsx:33",className:"absolute -bottom-28 -left-20 h-[340px] w-[340px] rounded-full border border-[#c59c2a]/20"}),e.jsx("div",{"data-loc":"client/src/pages/AdminLogin.tsx:34",className:"relative",children:e.jsxs("div",{"data-loc":"client/src/pages/AdminLogin.tsx:35",className:"flex items-center gap-3",children:[e.jsx("div",{"data-loc":"client/src/pages/AdminLogin.tsx:36",className:"grid h-10 w-10 place-items-center border border-[#c59c2a]/55 bg-white/5",children:e.jsx("img",{"data-loc":"client/src/pages/AdminLogin.tsx:36",src:"/manus-storage/irum-logo-cropped_9307126b.png",alt:"IRUM",className:"h-7 w-7 object-contain brightness-0 invert"})}),e.jsxs("div",{"data-loc":"client/src/pages/AdminLogin.tsx:37",children:[e.jsx("p",{"data-loc":"client/src/pages/AdminLogin.tsx:37",className:"text-xs tracking-[0.22em] text-[#d3b45b]",children:"IRUM OS"}),e.jsx("p",{"data-loc":"client/src/pages/AdminLogin.tsx:37",className:"mt-1 text-sm font-semibold",children:"Operations Console"})]})]})}),e.jsxs("div",{"data-loc":"client/src/pages/AdminLogin.tsx:40",className:"relative max-w-[430px] pb-10",children:[e.jsx("p",{"data-loc":"client/src/pages/AdminLogin.tsx:41",className:"text-xs font-semibold tracking-[0.16em] text-[#d3b45b]",children:"PRIVATE MATCHING OPERATIONS"}),e.jsxs("h1",{"data-loc":"client/src/pages/AdminLogin.tsx:42",className:"mt-4 text-4xl font-semibold leading-[1.18] tracking-[-0.055em]",children:["정교한 만남의 운영을",e.jsx("br",{"data-loc":"client/src/pages/AdminLogin.tsx:42"}),"한 곳에서 관리합니다."]}),e.jsx("p",{"data-loc":"client/src/pages/AdminLogin.tsx:43",className:"mt-5 max-w-[360px] text-sm leading-6 text-white/55",children:"Applicant, Screening, Member, Matching, Private Social까지. 이룸의 운영 흐름을 안전하게 연결합니다."})]})]}),e.jsx("section",{"data-loc":"client/src/pages/AdminLogin.tsx:47",className:"flex min-h-[calc(100vh-48px)] items-center justify-center md:min-h-screen md:px-10",children:e.jsxs("div",{"data-loc":"client/src/pages/AdminLogin.tsx:48",className:"w-full max-w-[390px]",children:[e.jsxs("div",{"data-loc":"client/src/pages/AdminLogin.tsx:49",className:"mb-9 flex items-center gap-3 md:hidden",children:[e.jsx("div",{"data-loc":"client/src/pages/AdminLogin.tsx:49",className:"grid h-10 w-10 place-items-center border border-[#d9d3c7] bg-white",children:e.jsx("img",{"data-loc":"client/src/pages/AdminLogin.tsx:49",src:"/manus-storage/irum-logo-cropped_9307126b.png",alt:"IRUM",className:"h-7 w-7 object-contain"})}),e.jsxs("div",{"data-loc":"client/src/pages/AdminLogin.tsx:49",children:[e.jsx("p",{"data-loc":"client/src/pages/AdminLogin.tsx:49",className:"text-[10px] font-semibold tracking-[.18em] text-[#a57e1d]",children:"IRUM OS"}),e.jsx("p",{"data-loc":"client/src/pages/AdminLogin.tsx:49",className:"mt-0.5 text-sm font-semibold",children:"Operations Console"})]})]}),e.jsxs("div",{"data-loc":"client/src/pages/AdminLogin.tsx:50",className:"border border-[#e0dcd3] bg-white p-6 shadow-[0_14px_48px_rgba(52,45,34,0.06)] sm:p-8",children:[e.jsxs("div",{"data-loc":"client/src/pages/AdminLogin.tsx:51",className:"flex items-start justify-between gap-4",children:[e.jsxs("div",{"data-loc":"client/src/pages/AdminLogin.tsx:52",children:[e.jsx("p",{"data-loc":"client/src/pages/AdminLogin.tsx:52",className:"text-[10px] font-semibold tracking-[0.16em] text-[#b38a24]",children:"SECURE ACCESS"}),e.jsx("h2",{"data-loc":"client/src/pages/AdminLogin.tsx:52",className:"mt-2 text-2xl font-semibold tracking-[-0.04em] text-[#28241e]",children:"운영자 로그인"}),e.jsx("p",{"data-loc":"client/src/pages/AdminLogin.tsx:52",className:"mt-2 text-xs leading-5 text-[#837b70]",children:"승인된 운영자 계정으로 접속해 주세요."})]}),e.jsx("div",{"data-loc":"client/src/pages/AdminLogin.tsx:53",className:"grid h-10 w-10 place-items-center border border-[#eadcae] bg-[#fff9e7] text-[#a47d1d]",children:e.jsx(g,{"data-loc":"client/src/pages/AdminLogin.tsx:53",size:18})})]}),e.jsxs("form",{"data-loc":"client/src/pages/AdminLogin.tsx:56",onSubmit:r,className:"mt-7 space-y-4",children:[e.jsxs("label",{"data-loc":"client/src/pages/AdminLogin.tsx:57",className:"block",children:[e.jsx("span",{"data-loc":"client/src/pages/AdminLogin.tsx:57",className:"mb-1.5 block text-[11px] font-semibold text-[#6d6559]",children:"아이디"}),e.jsx("input",{"data-loc":"client/src/pages/AdminLogin.tsx:57",type:"text",value:i,onChange:s=>d(s.target.value),placeholder:"아이디를 입력하세요",autoComplete:"username",required:!0,className:"h-11 w-full border border-[#dcd7ce] bg-[#fdfcf9] px-3 text-sm outline-none transition placeholder:text-[#b3aca1] focus:border-[#b38a24] focus:ring-2 focus:ring-[#c59c2a]/15"})]}),e.jsxs("label",{"data-loc":"client/src/pages/AdminLogin.tsx:58",className:"block",children:[e.jsx("span",{"data-loc":"client/src/pages/AdminLogin.tsx:58",className:"mb-1.5 block text-[11px] font-semibold text-[#6d6559]",children:"비밀번호"}),e.jsxs("div",{"data-loc":"client/src/pages/AdminLogin.tsx:58",className:"relative",children:[e.jsx(p,{"data-loc":"client/src/pages/AdminLogin.tsx:58",className:"pointer-events-none absolute left-3 top-1/2 -translate-y-1/2 text-[#9b9386]",size:15}),e.jsx("input",{"data-loc":"client/src/pages/AdminLogin.tsx:58",type:"password",value:c,onChange:s=>o(s.target.value),placeholder:"비밀번호를 입력하세요",autoComplete:"current-password",required:!0,className:"h-11 w-full border border-[#dcd7ce] bg-[#fdfcf9] pl-9 pr-3 text-sm outline-none transition placeholder:text-[#b3aca1] focus:border-[#b38a24] focus:ring-2 focus:ring-[#c59c2a]/15"})]})]}),n&&e.jsx("p",{"data-loc":"client/src/pages/AdminLogin.tsx:59",role:"alert",className:"border border-[#efcec8] bg-[#fff4f2] px-3 py-2.5 text-xs leading-5 text-[#9c3f34]",children:n}),e.jsx("button",{"data-loc":"client/src/pages/AdminLogin.tsx:60",type:"submit",disabled:t.isPending,className:"mt-2 flex h-11 w-full items-center justify-center gap-2 bg-[#c59c2a] text-sm font-semibold text-[#211b10] transition hover:bg-[#b48a20] disabled:cursor-not-allowed disabled:opacity-60",children:t.isPending?"로그인 확인 중...":e.jsxs(e.Fragment,{children:["IRUM OS 로그인 ",e.jsx(b,{"data-loc":"client/src/pages/AdminLogin.tsx:60",size:15})]})})]})]}),e.jsx("p",{"data-loc":"client/src/pages/AdminLogin.tsx:63",className:"mt-5 text-center text-[10px] leading-5 text-[#999184]",children:"권한 없는 접근 및 주요 운영 액션은 기록·감사됩니다."})]})})]})}export{N as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.