PageSourceSearch

https://app.backstagebaton.com/app/assets/CheckEmailPage-7tDcJKJw.js

js backstagebaton.com collected 2026-10-07 08:50:47 UTC 1,968 bytes, 1 lines download raw bytes

1import{e as m,u as x,r as i,j as e,B as r}from"./index-_aijvlUq.js";const h="/api/v1/auth";function f(){const[o]=m(),l=x(),s=o.get("email")||"",[c,t]=i.useState(!1),[a,n]=i.useState(!1);async function d(){if(s){t(!0);try{await fetch(`${h}/resend-verification`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:s})}),n(!0),setTimeout(()=>n(!1),5e3)}catch{}finally{t(!1)}}}return e.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-50 px-4",children:e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 p-8 max-w-md w-full text-center space-y-4",children:[e.jsx("div",{className:"w-16 h-16 mx-auto bg-brand-primary/10 rounded-full flex items-center justify-center",children:e.jsx("svg",{className:"h-8 w-8 text-brand-primary",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75"})})}),e.jsx("h1",{className:"text-xl font-bold text-gray-900",children:"Check your email"}),e.jsxs("p",{className:"text-sm text-gray-600",children:["We sent a verification link to"," ",s?e.jsx("span",{className:"font-medium text-gray-900",children:s}):"your email address",". Click the link to verify your account and get started."]}),e.jsx("p",{className:"text-xs text-gray-400",children:"The link expires in 24 hours. Check your spam folder if you don't see it."}),e.jsxs("div",{className:"flex flex-col gap-2 pt-2",children:[e.jsx(r,{variant:"secondary",size:"sm",onClick:d,isLoading:c,disabled:a,children:a?"Email sent!":"Resend verification email"}),e.jsx(r,{variant:"ghost",size:"sm",onClick:()=>l("/login"),children:"Back to login"})]})]})})}export{f as CheckEmailPage};

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.