Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

feat: main domain connected on login page

Iuliia Shnaia6fb230154a3
diff --git a/app/(auth)/auth/email/[[...params]]/page-client.tsx b/app/(auth)/auth/email/[[...params]]/page-client.tsx
index 166421a2..de8bc460 100644
--- a/app/(auth)/auth/email/[[...params]]/page-client.tsx
+++ b/app/(auth)/auth/email/[[...params]]/page-client.tsx
@@ -115,11 +115,13 @@ export default function EmailVerificationClient() {
<div className="flex w-full justify-center bg-gray-50 md:w-1/2 lg:w-1/2">
<div className="z-10 mx-5 mt-[calc(1vh)] h-fit w-full max-w-md overflow-hidden rounded-lg sm:mx-0 sm:mt-[calc(2vh)] md:mt-[calc(3vh)]">
<div className="items-left flex flex-col space-y-3 px-4 py-6 pt-8 sm:px-12">
- <img
- src="/_static/papermark-logo.svg"
- alt="Papermark Logo"
- className="-mt-8 mb-36 h-7 w-auto self-start sm:mb-32 md:mb-48"
- />
+ <Link href="https://www.papermark.com" target="_blank">
+ <img
+ src="/_static/papermark-logo.svg"
+ alt="Papermark Logo"
+ className="-mt-8 mb-36 h-7 w-auto self-start sm:mb-32 md:mb-48"
+ />
+ </Link>
<span className="text-balance text-3xl font-semibold text-gray-900">
Code Expired
</span>
@@ -151,11 +153,13 @@ export default function EmailVerificationClient() {
></div>
<div className="z-10 mx-5 mt-[calc(1vh)] h-fit w-full max-w-md overflow-hidden rounded-lg sm:mx-0 sm:mt-[calc(2vh)] md:mt-[calc(3vh)]">
<div className="items-left flex flex-col space-y-3 px-4 py-6 pt-8 sm:px-12">
- <img
- src="/_static/papermark-logo.svg"
- alt="Papermark Logo"
- className="-mt-8 mb-36 h-7 w-auto self-start sm:mb-32 md:mb-48"
- />
+ <Link href="https://www.papermark.com" target="_blank">
+ <img
+ src="/_static/papermark-logo.svg"
+ alt="Papermark Logo"
+ className="-mt-8 mb-36 h-7 w-auto self-start sm:mb-32 md:mb-48"
+ />
+ </Link>
<Link href="/">
<span className="text-balance text-3xl font-semibold text-gray-900">
Check your email
diff --git a/app/(auth)/login/page-client.tsx b/app/(auth)/login/page-client.tsx
index 973aaa02..15ca6263 100644
--- a/app/(auth)/login/page-client.tsx
+++ b/app/(auth)/login/page-client.tsx
@@ -55,11 +55,13 @@ export default function Login() {
></div>
<div className="z-10 mx-5 mt-[calc(1vh)] h-fit w-full max-w-md overflow-hidden rounded-lg sm:mx-0 sm:mt-[calc(2vh)] md:mt-[calc(3vh)]">
<div className="items-left flex flex-col space-y-3 px-4 py-6 pt-8 sm:px-12">
- <img
- src="/_static/papermark-logo.svg"
- alt="Papermark Logo"
- className="md:mb-48s -mt-8 mb-36 h-7 w-auto self-start sm:mb-32"
- />
+ <Link href="https://www.papermark.com" target="_blank">
+ <img
+ src="/_static/papermark-logo.svg"
+ alt="Papermark Logo"
+ className="md:mb-48s -mt-8 mb-36 h-7 w-auto self-start sm:mb-32"
+ />
+ </Link>
<Link href="/">
<span className="text-balance text-3xl font-semibold text-gray-900">
Welcome to Papermark
diff --git a/app/(auth)/register/page-client.tsx b/app/(auth)/register/page-client.tsx
index 74ed3887..b3313593 100644
--- a/app/(auth)/register/page-client.tsx
+++ b/app/(auth)/register/page-client.tsx
@@ -35,7 +35,7 @@ export default function Register() {
</div>
<div className="z-10 mx-5 mt-[calc(20vh)] h-fit w-full max-w-md overflow-hidden rounded-lg border border-border bg-gray-50 dark:bg-gray-900 sm:mx-0 sm:shadow-xl">
<div className="flex flex-col items-center justify-center space-y-3 px-4 py-6 pt-8 text-center sm:px-16">
- <Link href="/">
+ <Link href="https://www.papermark.com" target="_blank">
<Image
src={PapermarkLogo}
width={119}