Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
feat: cleanup verification email page
Marc Seitz8710239c7b40
diff --git a/components/view/email-verification-form.tsx b/components/view/email-verification-form.tsxindex f11d528a..a401a61e 100644--- a/components/view/email-verification-form.tsx+++ b/components/view/email-verification-form.tsx@@ -12,24 +12,25 @@ export default function EmailVerificationMessage({}) {return (<>- <div className="flex h-screen flex-1 flex-col px-6 py-12 lg:px-8 bg-black">+ <div className="flex h-screen flex-1 flex-col px-6 py-12 lg:px-8 bg-black"><div className="sm:mx-auto sm:w-full sm:max-w-md">- <h2 className="flex justify-center mt-10 text-2xl font-bold leading-9 tracking-tight text-white">+ <h2 className="mt-10 text-2xl font-bold leading-9 tracking-tight text-white">Please verify your email</h2>- </div>- <div className="sm:mx-auto sm:w-full sm:max-w-md">- <h6 className="block text-sm font-medium leading-6 text-white">- A verification link is send to your email {data.email}- </h6>- </div>- <div className="mt-10 sm:mx-auto sm:w-full sm:max-w-md">- <form className="space-y-4" onSubmit={onSubmitHandler}>- <div className="flex justify-center">- <p className="text-sm text-gray-600">Didn't receive the email?</p>- </div>- <div className="flex justify-center">- <Button type="submit" className="w-1/3" loading={isLoading}>+ <p className="text-sm leading-6 text-white text-pretty">+ A verification link has been send to your email:{" "}+ <span className="font-medium">{data.email}</span>+ </p>+ <form className="mt-10 space-y-4" onSubmit={onSubmitHandler}>+ <div className="flex items-center">+ <p className="text-sm text-gray-600">Didn't receive the email?</p>{" "}+ <Button+ type="submit"+ variant="link"+ size="sm"+ className="text-sm text-gray-400 font-normal"+ loading={isLoading}+ >Resend Link</Button></div>