import{jsxs as t,jsx as e}from"react/jsx-runtime";import{useForm as s,Head as m,router as c}from"@inertiajs/react";import{LoaderCircle as l}from"lucide-react";import{B as o}from"./button-BvFBRYHq.js";import{A as d}from"./layout-DkUv11OX.js";import"@radix-ui/react-slot";import"class-variance-authority";import"./utils-CMbmcP35.js";import"clsx";import"tailwind-merge";import"./app-logo-icon-beRg1XGs.js";import"sonner";function A({status:r}){const{post:a,processing:i}=s({});return t(d,{title:"Verify email",description:"Please verify your email address by clicking on the link we just emailed to you.",children:[e(m,{title:"Email verification"}),r==="verification-link-sent"&&e("div",{className:"mb-4 text-center text-sm font-medium text-green-600",children:"A new verification link has been sent to the email address you provided during registration."}),t("form",{onSubmit:n=>{n.preventDefault(),a(route("verification.send"))},className:"space-y-6 text-center",children:[t(o,{disabled:i,variant:"secondary",className:"border-none bg-gradient-to-r from-[#7a5c1e] via-[#c9a84c] to-[#7a5c1e] text-black shadow-[0_0_15px_rgba(201,168,76,0.3)] hover:from-[#8a6c2e] hover:via-[#d9b85c] hover:to-[#8a6c2e]",children:[i&&e(l,{className:"h-4 w-4 animate-spin"}),"Resend verification email"]}),e(o,{type:"button",variant:"link",onClick:()=>{c.post(route("logout"))},className:"mx-auto block text-sm",children:"Log out"})]})]})}export{A as default};
