PageSourceSearch

https://appmanchu-ldk3lawl.manus.space/assets/HostLogin-fyf1wdWl.js

js appmanchu-ldk3lawl.manus.space collected 2026-10-03 05:00:17 UTC 6,923 bytes, 1 lines download raw bytes

1import{r as o,j as s}from"./vendor-trpc-BW0ubQFZ.js";import{u as x,t as g}from"./index-B27n6TE2.js";import{S as m}from"./sparkles-CH0Gf4S8.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 w(){const[,n]=x(),[c,r]=o.useState(""),[l,d]=o.useState(""),[i,t]=o.useState(""),a=g.adminAuth.login.useMutation({onSuccess:e=>{if(e.role!=="social_host"){t("호스트 전용 계정으로 로그인해주세요. 관리자 로그인 화면으로 이동합니다."),window.setTimeout(()=>{window.location.href="/admin/login"},900);return}window.location.href=e.mustChangePassword?"/host/change-password":"/host"},onError:e=>t(e.message)});return s.jsxs("main",{"data-loc":"client/src/pages/HostLogin.tsx:22",className:"grid min-h-screen bg-[#f7f4ee] md:grid-cols-[minmax(0,1.12fr)_minmax(420px,.88fr)]",children:[s.jsxs("section",{"data-loc":"client/src/pages/HostLogin.tsx:22",className:"relative hidden overflow-hidden bg-[#171411] p-12 text-white md:flex md:flex-col md:justify-between",children:[s.jsx("div",{"data-loc":"client/src/pages/HostLogin.tsx:22",className:"absolute -left-32 -top-28 h-[440px] w-[440px] rounded-full border border-[#c59c2a]/25"}),s.jsx("div",{"data-loc":"client/src/pages/HostLogin.tsx:22",className:"absolute -bottom-24 right-0 h-[340px] w-[340px] rounded-full bg-[#c59c2a]/10 blur-3xl"}),s.jsxs("div",{"data-loc":"client/src/pages/HostLogin.tsx:22",className:"relative flex items-center gap-3",children:[s.jsx("img",{"data-loc":"client/src/pages/HostLogin.tsx:22",src:"/manus-storage/irum-logo-cropped_9307126b.png",alt:"IRUM",className:"h-10 w-10 object-contain"}),s.jsxs("div",{"data-loc":"client/src/pages/HostLogin.tsx:22",children:[s.jsx("p",{"data-loc":"client/src/pages/HostLogin.tsx:22",className:"text-[10px] font-semibold tracking-[.22em] text-[#d2ad4d]",children:"IRUM"}),s.jsx("p",{"data-loc":"client/src/pages/HostLogin.tsx:22",className:"text-sm font-semibold",children:"HOST PORTAL"})]})]}),s.jsxs("div",{"data-loc":"client/src/pages/HostLogin.tsx:22",className:"relative max-w-md pb-12",children:[s.jsx("p",{"data-loc":"client/src/pages/HostLogin.tsx:22",className:"text-xs font-semibold tracking-[.16em] text-[#d6b65f]",children:"PARTNER ACCESS"}),s.jsxs("h1",{"data-loc":"client/src/pages/HostLogin.tsx:22",className:"mt-4 text-4xl font-semibold leading-[1.18] tracking-[-.055em]",children:["좋은 인연을 발견하는",s.jsx("br",{"data-loc":"client/src/pages/HostLogin.tsx:22"}),"당신의 기록을 안전하게."]}),s.jsx("p",{"data-loc":"client/src/pages/HostLogin.tsx:22",className:"mt-5 text-sm leading-6 text-white/55",children:"현장에서 만난 사람을 빠르게 등록하고, 운영팀의 검수 상태를 간결하게 확인하세요."})]})]}),s.jsx("section",{"data-loc":"client/src/pages/HostLogin.tsx:22",className:"flex min-h-screen items-center justify-center px-4 py-8",children:s.jsxs("div",{"data-loc":"client/src/pages/HostLogin.tsx:22",className:"w-full max-w-[390px]",children:[s.jsxs("div",{"data-loc":"client/src/pages/HostLogin.tsx:22",className:"mb-9 flex items-center gap-3 md:hidden",children:[s.jsx("img",{"data-loc":"client/src/pages/HostLogin.tsx:22",src:"/manus-storage/irum-logo-cropped_9307126b.png",alt:"IRUM",className:"h-9 w-9 object-contain"}),s.jsxs("div",{"data-loc":"client/src/pages/HostLogin.tsx:22",children:[s.jsx("p",{"data-loc":"client/src/pages/HostLogin.tsx:22",className:"text-[10px] font-semibold tracking-[.2em] text-[#aa8027]",children:"IRUM"}),s.jsx("p",{"data-loc":"client/src/pages/HostLogin.tsx:22",className:"text-sm font-semibold",children:"HOST PORTAL"})]})]}),s.jsxs("div",{"data-loc":"client/src/pages/HostLogin.tsx:22",className:"border border-[#e1d9ce] bg-white p-6 shadow-[0_16px_50px_rgba(50,40,25,.08)] sm:p-8",children:[s.jsxs("div",{"data-loc":"client/src/pages/HostLogin.tsx:22",className:"flex items-start justify-between gap-4",children:[s.jsxs("div",{"data-loc":"client/src/pages/HostLogin.tsx:22",children:[s.jsx("p",{"data-loc":"client/src/pages/HostLogin.tsx:22",className:"text-[10px] font-semibold tracking-[.16em] text-[#ad8126]",children:"HOST ACCESS"}),s.jsx("h1",{"data-loc":"client/src/pages/HostLogin.tsx:22",className:"mt-2 text-2xl font-semibold tracking-[-.04em]",children:"호스트 로그인"}),s.jsx("p",{"data-loc":"client/src/pages/HostLogin.tsx:22",className:"mt-2 text-xs leading-5 text-[#817669]",children:"승인된 호스트 계정으로 접속해 주세요."})]}),s.jsx("div",{"data-loc":"client/src/pages/HostLogin.tsx:22",className:"grid h-10 w-10 place-items-center border border-[#ead9a8] bg-[#fff8e4] text-[#a57c20]",children:s.jsx(m,{"data-loc":"client/src/pages/HostLogin.tsx:22",size:17})})]}),s.jsxs("form",{"data-loc":"client/src/pages/HostLogin.tsx:22",onSubmit:e=>{e.preventDefault(),t(""),a.mutate({username:c,password:l})},className:"mt-7 space-y-4",children:[s.jsxs("label",{"data-loc":"client/src/pages/HostLogin.tsx:22",className:"block text-xs font-semibold text-[#665d51]",children:["아이디",s.jsx("input",{"data-loc":"client/src/pages/HostLogin.tsx:22",value:c,onChange:e=>r(e.target.value),required:!0,autoComplete:"username",className:"mt-1.5 h-11 w-full border border-[#ddd5ca] bg-[#fdfcf9] px-3 text-sm outline-none focus:border-[#b38b2b]",placeholder:"아이디를 입력하세요"})]}),s.jsxs("label",{"data-loc":"client/src/pages/HostLogin.tsx:22",className:"block text-xs font-semibold text-[#665d51]",children:["비밀번호",s.jsxs("div",{"data-loc":"client/src/pages/HostLogin.tsx:22",className:"relative mt-1.5",children:[s.jsx(p,{"data-loc":"client/src/pages/HostLogin.tsx:22",className:"pointer-events-none absolute left-3 top-1/2 -translate-y-1/2 text-[#a19789]",size:15}),s.jsx("input",{"data-loc":"client/src/pages/HostLogin.tsx:22",value:l,onCh
1ange:e=>d(e.target.value),required:!0,type:"password",autoComplete:"current-password",className:"h-11 w-full border border-[#ddd5ca] bg-[#fdfcf9] pl-9 pr-3 text-sm outline-none focus:border-[#b38b2b]",placeholder:"비밀번호를 입력하세요"})]})]}),i&&s.jsx("p",{"data-loc":"client/src/pages/HostLogin.tsx:22",role:"alert",className:"border border-[#edcdc5] bg-[#fff4f1] px-3 py-2.5 text-xs leading-5 text-[#a0493b]",children:i}),s.jsx("button",{"data-loc":"client/src/pages/HostLogin.tsx:22",disabled:a.isPending,className:"flex h-11 w-full items-center justify-center gap-2 bg-[#c59c2a] text-sm font-semibold text-[#241b0e] disabled:opacity-60",children:a.isPending?"로그인 확인 중...":s.jsxs(s.Fragment,{children:["HOST PORTAL 로그인 ",s.jsx(b,{"data-loc":"client/src/pages/HostLogin.tsx:22",size:15})]})})]})]}),s.jsx("button",{"data-loc":"client/src/pages/HostLogin.tsx:22",onClick:()=>n("/admin/login"),className:"mt-5 w-full text-center text-xs font-semibold text-[#8a6a22]",children:"관리자 계정으로 로그인"})]})})]})}export{w 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.