Skip to content

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

feat: change to dotcom

Marc Seitzb03b4e138c6b
diff --git a/app/(auth)/login/page.tsx b/app/(auth)/login/page.tsx
index 46f8d43a..7fc90c1b 100644
--- a/app/(auth)/login/page.tsx
+++ b/app/(auth)/login/page.tsx
@@ -192,7 +192,7 @@ export default function Login() {
By clicking continue, you acknowledge that you have read and agree
to Papermark's{" "}
<a
- href="https://www.papermark.io/terms"
+ href="https://www.papermark.com/terms"
target="_blank"
className="underline"
>
@@ -200,7 +200,7 @@ export default function Login() {
</a>{" "}
and{" "}
<a
- href="https://www.papermark.io/privacy"
+ href="https://www.papermark.com/privacy"
target="_blank"
className="underline"
>
diff --git a/app/(auth)/verify/page.tsx b/app/(auth)/verify/page.tsx
index 86e1b4f7..93ad08f8 100644
--- a/app/(auth)/verify/page.tsx
+++ b/app/(auth)/verify/page.tsx
@@ -65,7 +65,7 @@ export default function VerifyPage({
By clicking continue, you acknowledge that you have read and agree
to Papermark&apos;s{" "}
<a
- href="https://www.papermark.io/terms"
+ href="https://www.papermark.com/terms"
target="_blank"
className="underline"
>
@@ -73,7 +73,7 @@ export default function VerifyPage({
</a>{" "}
and{" "}
<a
- href="https://www.papermark.io/privacy"
+ href="https://www.papermark.com/privacy"
target="_blank"
className="underline"
>
diff --git a/app/layout.tsx b/app/layout.tsx
index 7e49d8d0..1b8e2cd7 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -15,7 +15,7 @@ const data = {
};
export const metadata: Metadata = {
- metadataBase: new URL("https://www.papermark.io"),
+ metadataBase: new URL("https://www.papermark.com"),
title: data.title,
description: data.description,
openGraph: {
diff --git a/components/documents/add-document-modal.tsx b/components/documents/add-document-modal.tsx
index 6f239b46..e30c3c7b 100644
--- a/components/documents/add-document-modal.tsx
+++ b/components/documents/add-document-modal.tsx
@@ -471,7 +471,7 @@ export function AddDocumentModal({
<>
Upload larger files and more{" "}
<Link
- href="https://www.papermark.io/help/article/document-types"
+ href="https://www.papermark.com/help/article/document-types"
target="_blank"
className="underline underline-offset-4 transition-all hover:text-muted-foreground/80 hover:dark:text-muted-foreground/80"
>
diff --git a/components/domains/delete-domain-modal.tsx b/components/domains/delete-domain-modal.tsx
index f38a2450..e3d78e57 100644
--- a/components/domains/delete-domain-modal.tsx
+++ b/components/domains/delete-domain-modal.tsx
@@ -87,11 +87,11 @@ function DeleteDomainModal({
<DialogTitle className="text-2xl">Delete Domain</DialogTitle>
<DialogDescription>
This will permanently delete your domain. Links using this domain will
- be reset to <span className="font-medium">papermark.io</span> links.
+ be reset to <span className="font-medium">papermark.com</span> links.
This action cannot be undone.
<div className="mt-3 text-sm font-medium text-foreground">
{domain}{" "}
- <span className="text-muted-foreground">→ papermark.io</span>
+ <span className="text-muted-foreground">→ papermark.com</span>
</div>
</DialogDescription>
</div>
diff --git a/components/emails/dataroom-notification.tsx b/components/emails/dataroom-notification.tsx
index ffab49bd..fa604dbd 100644
--- a/components/emails/dataroom-notification.tsx
+++ b/components/emails/dataroom-notification.tsx
@@ -64,11 +64,11 @@ export default function DataroomNotification({
<Text className="text-xs">
© {new Date().getFullYear()}{" "}
<a
- href="https://www.papermark.io"
+ href="https://www.papermark.com"
className="text-gray-400 no-underline visited:text-gray-400 hover:text-gray-400"
target="_blank"
>
- papermark.io
+ papermark.com
</a>
</Text>
<Text className="text-xs">
diff --git a/components/emails/dataroom-trial-end.tsx b/components/emails/dataroom-trial-end.tsx
index 91177470..2e20b883 100644
--- a/components/emails/dataroom-trial-end.tsx
+++ b/components/emails/dataroom-trial-end.tsx
@@ -39,7 +39,7 @@ const DataroomTrialEnd = ({ name }: DataroomTrialEnd) => {
</Text>
<Text className="text-sm leading-6 text-black">
Your Papermark dataroom trial has expired.{" "}
- <Link href={`https://app.papermark.io/settings/billing`}>
+ <Link href={`https://app.papermark.com/settings/billing`}>
Upgrade now
</Link>{" "}
to:
@@ -63,7 +63,7 @@ const DataroomTrialEnd = ({ name }: DataroomTrialEnd) => {
<Section className="mb-[32px] mt-[32px] text-center">
<Button
className="rounded bg-black text-center text-xs font-semibold text-white no-underline"
- href={`https://app.papermark.io/settings/billing`}
+ href={`https://app.papermark.com/settings/billing`}
style={{ padding: "12px 20px" }}
>
Upgrade now
@@ -79,11 +79,11 @@ const DataroomTrialEnd = ({ name }: DataroomTrialEnd) => {
<Text className="text-xs">
© {new Date().getFullYear()}{" "}
<a
- href="https://www.papermark.io"
+ href="https://www.papermark.com"
className="text-gray-400 no-underline visited:text-gray-400 hover:text-gray-400"
target="_blank"
>
- papermark.io
+ papermark.com
</a>
</Text>
<Text className="text-xs">
diff --git a/components/emails/dataroom-viewer-invitation.tsx b/components/emails/dataroom-viewer-invitation.tsx
index bedf6369..5ef4e435 100644
--- a/components/emails/dataroom-viewer-invitation.tsx
+++ b/components/emails/dataroom-viewer-invitation.tsx
@@ -63,11 +63,11 @@ export default function DataroomViewerInvitation({
<Text className="text-xs">
© {new Date().getFullYear()}{" "}
<a
- href="https://www.papermark.io"
+ href="https://www.papermark.com"
className="text-gray-400 no-underline visited:text-gray-400 hover:text-gray-400"
target="_blank"
>
- papermark.io
+ papermark.com
</a>
</Text>
<Text className="text-xs">
diff --git a/components/emails/deleted-domain.tsx b/components/emails/deleted-domain.tsx
index 1a376d90..9bb7f458 100644
--- a/components/emails/deleted-domain.tsx
+++ b/components/emails/deleted-domain.tsx
@@ -14,7 +14,7 @@ import {
} from "@react-email/components";
export default function DomainDeleted({
- domain = "papermark.io",
+ domain = "papermark.com",
}: {
domain: string;
}) {
@@ -43,7 +43,7 @@ export default function DomainDeleted({
<Section className="my-8 text-center">
<Button
className="rounded bg-black text-center text-xs font-semibold text-white no-underline"
- href={`https://app.papermark.io/settings/domains`}
+ href={`https://app.papermark.com/settings/domains`}
style={{ padding: "12px 20px" }}
>
Set up your custom domain
@@ -58,11 +58,11 @@ export default function DomainDeleted({
<Text className="text-xs">
© {new Date().getFullYear()}{" "}
<a
- href="https://www.papermark.io"
+ href="https://www.papermark.com"
className="text-gray-400 no-underline visited:text-gray-400 hover:text-gray-400"
target="_blank"
>
- papermark.io
+ papermark.com
</a>
</Text>
<Text className="text-xs">
diff --git a/components/emails/email-updated.tsx b/components/emails/email-updated.tsx
index ba839049..f21b87dd 100644
--- a/components/emails/email-updated.tsx
+++ b/components/emails/email-updated.tsx
@@ -39,7 +39,7 @@ export function EmailUpdated({
<Text className="text-sm leading-6 text-black">
If you did not make this change, please contact our support team
or{" "}
- <Link href="https://app.papermark.io/account/general">
+ <Link href="https://app.papermark.com/account/general">
update your email address
</Link>
.
@@ -52,11 +52,11 @@ export function EmailUpdated({
<Text className="text-xs">
© {new Date().getFullYear()}{" "}
<a
- href="https://www.papermark.io"
+ href="https://www.papermark.com"
className="text-gray-400 no-underline visited:text-gray-400 hover:text-gray-400"
target="_blank"
>
- papermark.io
+ papermark.com
</a>
</Text>
</Section>
diff --git a/components/emails/email-verification.tsx b/components/emails/email-verification.tsx
index 69fe3d05..b144a53e 100644
--- a/components/emails/email-verification.tsx
+++ b/components/emails/email-verification.tsx
@@ -14,7 +14,7 @@ import {
} from "@react-email/components";
export default function EmailVerification({
- verificationURL = "papermark.io",
+ verificationURL = "papermark.com",
email = "[email protected]",
isDataroom = false,
}: {
@@ -59,11 +59,11 @@ export default function EmailVerification({
<Text className="text-xs">
© {new Date().getFullYear()}{" "}
<a
- href="https://www.papermark.io"
+ href="https://www.papermark.com"
className="text-gray-400 no-underline visited:text-gray-400 hover:text-gray-400"
target="_blank"
>
- papermark.io
+ papermark.com
</a>
</Text>
<Text className="text-xs">
diff --git a/components/emails/invalid-domain.tsx b/components/emails/invalid-domain.tsx
index 6825b2d3..c335fa9a 100644
--- a/components/emails/invalid-domain.tsx
+++ b/components/emails/invalid-domain.tsx
@@ -15,7 +15,7 @@ import {
} from "@react-email/components";
export default function InvalidDomain({
- domain = "papermark.io",
+ domain = "papermark.com",
invalidDays = 14,
}: {
domain: string;
@@ -51,7 +51,7 @@ export default function InvalidDomain({
<Section className="my-8 text-center">
<Button
className="rounded bg-black text-center text-xs font-semibold text-white no-underline"
- href={`https://app.papermark.io/settings/domains`}
+ href={`https://app.papermark.com/settings/domains`}
style={{ padding: "12px 20px" }}
>
Configure domain
@@ -60,7 +60,7 @@ export default function InvalidDomain({
<Text className="text-sm leading-6 text-black">
If you do not want to keep this domain on Papermark, you can{" "}
<Link
- href={`https://app.papermark.io/settings/domains`}
+ href={`https://app.papermark.com/settings/domains`}
className="font-medium text-blue-600 no-underline"
>
delete it
@@ -82,11 +82,11 @@ export default function InvalidDomain({
<Text className="text-xs">
© {new Date().getFullYear()}{" "}
<a
- href="https://www.papermark.io"
+ href="https://www.papermark.com"
className="text-gray-400 no-underline visited:text-gray-400 hover:text-gray-400"
target="_blank"
>
- papermark.io
+ papermark.com
</a>
</Text>
<Text className="text-xs">
diff --git a/components/emails/onboarding-1.tsx b/components/emails/onboarding-1.tsx
index b5912a04..0c87904b 100644
--- a/components/emails/onboarding-1.tsx
+++ b/components/emails/onboarding-1.tsx
@@ -53,7 +53,7 @@ const Onboarding1Email = () => {
<Section className="mb-[32px] mt-[32px] text-center">
<Button
className="rounded bg-black text-center text-xs font-semibold text-white no-underline"
- href={`https://app.papermark.io/documents?utm_source=onboarding&utm_medium=email&utm_campaign=20240723&utm_content=upload_documents`}
+ href={`https://app.papermark.com/documents?utm_source=onboarding&utm_medium=email&utm_campaign=20240723&utm_content=upload_documents`}
style={{ padding: "12px 20px" }}
>
Upload my documents
@@ -67,11 +67,11 @@ const Onboarding1Email = () => {
<Text className="text-xs">
© {new Date().getFullYear()}{" "}
<a
- href="https://www.papermark.io"
+ href="https://www.papermark.com"
className="text-gray-400 no-underline visited:text-gray-400 hover:text-gray-400"
target="_blank"
>
- papermark.io
+ papermark.com
</a>
</Text>
<Text className="text-xs">
diff --git a/components/emails/onboarding-2.tsx b/components/emails/onboarding-2.tsx
index 40d2c9af..781e1940 100644
--- a/components/emails/onboarding-2.tsx
+++ b/components/emails/onboarding-2.tsx
@@ -51,7 +51,7 @@ const Onboarding2Email = () => {
<Section className="mb-[32px] mt-[32px] text-center">
<Button
className="rounded bg-black text-center text-xs font-semibold text-white no-underline"
- href={`https://app.papermark.io/documents?utm_source=onboarding&utm_medium=email&utm_campaign=20240723&utm_content=upload_documents`}
+ href={`https://app.papermark.com/documents?utm_source=onboarding&utm_medium=email&utm_campaign=20240723&utm_content=upload_documents`}
style={{ padding: "12px 20px" }}
>
To my link settings
@@ -66,11 +66,11 @@ const Onboarding2Email = () => {
<Text className="text-xs">
© {new Date().getFullYear()}{" "}
<a
- href="https://www.papermark.io"
+ href="https://www.papermark.com"
className="text-gray-400 no-underline visited:text-gray-400 hover:text-gray-400"
target="_blank"
>
- papermark.io
+ papermark.com
</a>
</Text>
<Text className="text-xs">
diff --git a/components/emails/onboarding-3.tsx b/components/emails/onboarding-3.tsx
index e06a88ea..9e202294 100644
--- a/components/emails/onboarding-3.tsx
+++ b/components/emails/onboarding-3.tsx
@@ -54,7 +54,7 @@ const Onboarding3Email = () => {
<Section className="mb-[32px] mt-[32px] text-center">
<Button
className="rounded bg-black text-center text-xs font-semibold text-white no-underline"
- href={`https://app.papermark.io/documents?utm_source=onboarding&utm_medium=email&utm_campaign=20240723&utm_content=upload_documents`}
+ href={`https://app.papermark.com/documents?utm_source=onboarding&utm_medium=email&utm_campaign=20240723&utm_content=upload_documents`}
style={{ padding: "12px 20px" }}
>
View your document activity
@@ -68,11 +68,11 @@ const Onboarding3Email = () => {
<Text className="text-xs">
© {new Date().getFullYear()}{" "}
<a
- href="https://www.papermark.io"
+ href="https://www.papermark.com"
className="text-gray-400 no-underline visited:text-gray-400 hover:text-gray-400"
target="_blank"
>
- papermark.io
+ papermark.com
</a>
</Text>
<Text className="text-xs">
diff --git a/components/emails/onboarding-4.tsx b/components/emails/onboarding-4.tsx
index cbf30190..07366415 100644
--- a/components/emails/onboarding-4.tsx
+++ b/components/emails/onboarding-4.tsx
@@ -36,7 +36,8 @@ const Onboarding4Email = () => {
<Text className="text-sm">
<ul className="list-inside list-disc text-sm">
<li>
- Share documnets with your <strong>custom domain💫</strong>{" "}
+ Share documnets with your{" "}
+ <strong>custom domain💫</strong>{" "}
</li>
<li>Remove &quot;powered by Papermark&quot;</li>
@@ -53,7 +54,7 @@ const Onboarding4Email = () => {
<Section className="mb-[32px] mt-[32px] text-center">
<Button
className="rounded bg-black text-center text-xs font-semibold text-white no-underline"
- href={`https://app.papermark.io/documents?utm_source=onboarding&utm_medium=email&utm_campaign=20240723&utm_content=upload_documents`}
+ href={`https://app.papermark.com/documents?utm_source=onboarding&utm_medium=email&utm_campaign=20240723&utm_content=upload_documents`}
style={{ padding: "12px 20px" }}
>
Add your domain and branding
@@ -74,11 +75,11 @@ const Onboarding4Email = () => {
<Text className="text-xs">
© {new Date().getFullYear()}{" "}
<a
- href="https://www.papermark.io"
+ href="https://www.papermark.com"
className="text-gray-400 no-underline visited:text-gray-400 hover:text-gray-400"
target="_blank"
>
- papermark.io
+ papermark.com
</a>
</Text>
<Text className="text-xs">
diff --git a/components/emails/onboarding-5.tsx b/components/emails/onboarding-5.tsx
index 3b940190..5dbfc456 100644
--- a/components/emails/onboarding-5.tsx
+++ b/components/emails/onboarding-5.tsx
@@ -47,7 +47,7 @@ const Onboarding3Email = () => {
<Text className="text-sm">
All about Papermark{" "}
<a
- href="https://www.papermark.io/data-room"
+ href="https://www.papermark.com/data-room"
className="text-blue-500 underline"
>
Data Rooms
@@ -59,7 +59,7 @@ const Onboarding3Email = () => {
<Section className="mb-[32px] mt-[32px] text-center">
<Button
className="rounded bg-black text-center text-xs font-semibold text-white no-underline"
- href={`https://app.papermark.io/datarooms?utm_source=dataroom-info&utm_medium=email&utm_campaign=20240723&utm_content=upload_documents`}
+ href={`https://app.papermark.com/datarooms?utm_source=dataroom-info&utm_medium=email&utm_campaign=20240723&utm_content=upload_documents`}
style={{ padding: "12px 20px" }}
>
Create new data room
@@ -81,11 +81,11 @@ const Onboarding3Email = () => {
<Text className="text-xs">
© {new Date().getFullYear()}{" "}
<a
- href="https://www.papermark.io"
+ href="https://www.papermark.com"
className="text-gray-400 no-underline visited:text-gray-400 hover:text-gray-400"
target="_blank"
>
- papermark.io
+ papermark.com
</a>
</Text>
<Text className="text-xs">
diff --git a/components/emails/team-invitation.tsx b/components/emails/team-invitation.tsx
index 8b96cdec..92ea280c 100644
--- a/components/emails/team-invitation.tsx
+++ b/components/emails/team-invitation.tsx
@@ -63,11 +63,11 @@ export default function TeamInvitation({
<Text className="text-xs">
© {new Date().getFullYear()}{" "}
<a
- href="https://www.papermark.io"
+ href="https://www.papermark.com"
className="text-gray-400 no-underline visited:text-gray-400 hover:text-gray-400"
target="_blank"
>
- papermark.io
+ papermark.com
</a>
</Text>
<Text className="text-xs">
diff --git a/components/emails/trial-end-final-reminder.tsx b/components/emails/trial-end-final-reminder.tsx
index 745b6a18..e09e3803 100644
--- a/components/emails/trial-end-final-reminder.tsx
+++ b/components/emails/trial-end-final-reminder.tsx
@@ -39,7 +39,7 @@ const TrialEndFinalReminderEmail = ({ name }: TrialEndFinalReminderEmail) => {
</Text>
<Text className="text-sm leading-6 text-black">
Your Papermark Pro trial expires in 24 hours.{" "}
- <Link href={`https://app.papermark.io/settings/billing`}>
+ <Link href={`https://app.papermark.com/settings/billing`}>
Upgrade now
</Link>{" "}
to:
@@ -60,7 +60,7 @@ const TrialEndFinalReminderEmail = ({ name }: TrialEndFinalReminderEmail) => {
<Section className="mb-[32px] mt-[32px] text-center">
<Button
className="rounded bg-black text-center text-xs font-semibold text-white no-underline"
- href={`https://app.papermark.io/settings/billing`}
+ href={`https://app.papermark.com/settings/billing`}
style={{ padding: "12px 20px" }}
>
Upgrade now
@@ -76,11 +76,11 @@ const TrialEndFinalReminderEmail = ({ name }: TrialEndFinalReminderEmail) => {
<Text className="text-xs">
© {new Date().getFullYear()}{" "}
<a
- href="https://www.papermark.io"
+ href="https://www.papermark.com"
className="text-gray-400 no-underline visited:text-gray-400 hover:text-gray-400"
target="_blank"
>
- papermark.io
+ papermark.com
</a>
</Text>
<Text className="text-xs">
diff --git a/components/emails/trial-end-reminder.tsx b/components/emails/trial-end-reminder.tsx
index af9145ad..3edbf8b6 100644
--- a/components/emails/trial-end-reminder.tsx
+++ b/components/emails/trial-end-reminder.tsx
@@ -58,7 +58,7 @@ const TrialEndReminderEmail = ({ name }: TrialEndReminderEmail) => {
<Section className="mb-[32px] mt-[32px] text-center">
<Button
className="rounded bg-black text-center text-xs font-semibold text-white no-underline"
- href={`https://app.papermark.io/settings/billing`}
+ href={`https://app.papermark.com/settings/billing`}
style={{ padding: "12px 20px" }}
>
Upgrade your plan
@@ -75,11 +75,11 @@ const TrialEndReminderEmail = ({ name }: TrialEndReminderEmail) => {
<Text className="text-xs">
© {new Date().getFullYear()}{" "}
<a
- href="https://www.papermark.io"
+ href="https://www.papermark.com"
className="text-gray-400 no-underline visited:text-gray-400 hover:text-gray-400"
target="_blank"
>
- papermark.io
+ papermark.com
</a>
</Text>
<Text className="text-xs">
diff --git a/components/emails/upgrade-plan.tsx b/components/emails/upgrade-plan.tsx
index 3f1f4cdc..b8e649a0 100644
--- a/components/emails/upgrade-plan.tsx
+++ b/components/emails/upgrade-plan.tsx
@@ -111,11 +111,11 @@ const UpgradePlanEmail = ({
<Text className="text-xs">
© {new Date().getFullYear()}{" "}
<a
- href="https://www.papermark.io"
+ href="https://www.papermark.com"
className="text-gray-400 no-underline visited:text-gray-400 hover:text-gray-400"
target="_blank"
>
- papermark.io
+ papermark.com
</a>
</Text>
<Text className="text-xs">
diff --git a/components/emails/verification-email-change.tsx b/components/emails/verification-email-change.tsx
index 7ebcd7ef..91942ba0 100644
--- a/components/emails/verification-email-change.tsx
+++ b/components/emails/verification-email-change.tsx
@@ -21,7 +21,7 @@ interface ConfirmEmailChangeProps {
export function ConfirmEmailChange({
email,
newEmail,
- confirmUrl = "https://www.papermark.io",
+ confirmUrl = "https://www.papermark.com",
}: ConfirmEmailChangeProps) {
return (
<Html>
@@ -65,11 +65,11 @@ export function ConfirmEmailChange({
<Text className="text-xs">
© {new Date().getFullYear()}{" "}
<a
- href="https://www.papermark.io"
+ href="https://www.papermark.com"
className="text-gray-400 no-underline visited:text-gray-400 hover:text-gray-400"
target="_blank"
>
- papermark.io
+ papermark.com
</a>
</Text>
<Text className="text-xs">
diff --git a/components/emails/verification-link.tsx b/components/emails/verification-link.tsx
index 3bc4cda0..87f509ca 100644
--- a/components/emails/verification-link.tsx
+++ b/components/emails/verification-link.tsx
@@ -13,7 +13,7 @@ import {
} from "@react-email/components";
const VerificationLinkEmail = ({
- url = "https://www.papermark.io",
+ url = "https://www.papermark.com",
}: {
url: string;
}) => {
diff --git a/components/emails/viewed-dataroom.tsx b/components/emails/viewed-dataroom.tsx
index 64287b4b..25c45e7f 100644
--- a/components/emails/viewed-dataroom.tsx
+++ b/components/emails/viewed-dataroom.tsx
@@ -61,7 +61,7 @@ export default function ViewedDataroom({
<Section className="my-8 text-center">
<Button
className="rounded bg-black text-center text-xs font-semibold text-white no-underline"
- href={`https://app.papermark.io/datarooms/${dataroomId}`}
+ href={`https://app.papermark.com/datarooms/${dataroomId}`}
style={{ padding: "12px 20px" }}
>
See my dataroom insights
@@ -75,11 +75,11 @@ export default function ViewedDataroom({
<Text className="text-xs">
© {new Date().getFullYear()}{" "}
<a
- href="https://www.papermark.io"
+ href="https://www.papermark.com"
className="text-gray-400 no-underline visited:text-gray-400 hover:text-gray-400"
target="_blank"
>
- papermark.io
+ papermark.com
</a>
</Text>
<Text className="text-xs">
diff --git a/components/emails/viewed-document.tsx b/components/emails/viewed-document.tsx
index 0a30f722..8521e9ff 100644
--- a/components/emails/viewed-document.tsx
+++ b/components/emails/viewed-document.tsx
@@ -61,7 +61,7 @@ export default function ViewedDocument({
<Section className="my-8 text-center">
<Button
className="rounded bg-black text-center text-xs font-semibold text-white no-underline"
- href={`https://app.papermark.io/documents/${documentId}`}
+ href={`https://app.papermark.com/documents/${documentId}`}
style={{ padding: "12px 20px" }}
>
See my document insights
@@ -75,11 +75,11 @@ export default function ViewedDocument({
<Text className="text-xs">
© {new Date().getFullYear()}{" "}
<a
- href="https://www.papermark.io"
+ href="https://www.papermark.com"
className="text-gray-400 no-underline visited:text-gray-400 hover:text-gray-400"
target="_blank"
>
- papermark.io
+ papermark.com
</a>
</Text>
<Text className="text-xs">
diff --git a/components/emails/welcome.tsx b/components/emails/welcome.tsx
index 23bfdbce..ce75c685 100644
--- a/components/emails/welcome.tsx
+++ b/components/emails/welcome.tsx
@@ -46,7 +46,7 @@ const WelcomeEmail = ({ name }: WelcomeEmailProps) => {
<Text className="text-sm">
<ul className="list-inside list-disc text-sm">
<li>Upload a document</li>
- <li>Create a virtual data room</li>
+ <li>Create a virtual data room</li>
<li>
Share a link{" "}
<span className="italic">(with your custom domain)✨</span>
@@ -84,9 +84,12 @@ const WelcomeEmail = ({ name }: WelcomeEmailProps) => {
Twitter
</Link>
</li>
- <li>
+ <li>
Have a call to talk enterprise{" "}
- <Link href="https://cal.com/marcseitz/papermark" target="_blank">
+ <Link
+ href="https://cal.com/marcseitz/papermark"
+ target="_blank"
+ >
Book
</Link>
</li>
@@ -95,8 +98,8 @@ const WelcomeEmail = ({ name }: WelcomeEmailProps) => {
</Section>
<Section className="mt-4">
<Text className="text-sm">
- If you have any questions or feedback just respond to this email. I&apos;m
- always happy to help!
+ If you have any questions or feedback just respond to this
+ email. I&apos;m always happy to help!
</Text>
<Text className="text-sm text-gray-400">Marc from Papermark</Text>
</Section>
@@ -105,11 +108,11 @@ const WelcomeEmail = ({ name }: WelcomeEmailProps) => {
<Text className="text-xs">
© {new Date().getFullYear()}{" "}
<a
- href="https://www.papermark.io"
+ href="https://www.papermark.com"
className="text-gray-400 no-underline visited:text-gray-400 hover:text-gray-400"
target="_blank"
>
- papermark.io
+ papermark.com
</a>
</Text>
<Text className="text-xs">
diff --git a/components/emails/year-in-review-papermark.tsx b/components/emails/year-in-review-papermark.tsx
index e11f8988..e1e79c99 100644
--- a/components/emails/year-in-review-papermark.tsx
+++ b/components/emails/year-in-review-papermark.tsx
@@ -68,7 +68,7 @@ export default function PapermarkYearInReviewEmail({
you&apos;ve used Papermark to share your important documents.
</Text>
<Link
- href={`https://x.com/intent/post?text=In%202024%2C%20my%20documents%20have%20been%20viewed%20${minutesSpentOnDocs}%20minutes%20on%20%40papermarkio%2C%20by%3A%0A%0A%E2%80%A2%20Uploading%20${uploadedDocuments}%20documents%0A%E2%80%A2%20Sharing%20${sharedLinks}%20links%0A%E2%80%A2%20Receiving%20${receivedViews}%20views%0A%0A&url=https%3A%2F%2Fwww.papermark.io%2Fyear-in-review`}
+ href={`https://x.com/intent/post?text=In%202024%2C%20my%20documents%20have%20been%20viewed%20${minutesSpentOnDocs}%20minutes%20on%20%40papermarkio%2C%20by%3A%0A%0A%E2%80%A2%20Uploading%20${uploadedDocuments}%20documents%0A%E2%80%A2%20Sharing%20${sharedLinks}%20links%0A%E2%80%A2%20Receiving%20${receivedViews}%20views%0A%0A&url=https%3A%2F%2Fwww.papermark.com%2Fyear-in-review`}
className="inline-flex items-center rounded-full bg-gray-900 px-12 py-4 text-center text-sm font-bold text-white no-underline"
>
<svg
@@ -231,7 +231,7 @@ export default function PapermarkYearInReviewEmail({
Happy Holidays from the Papermark team :)
</Text>
<Link
- href={`https://x.com/intent/post?text=In%202024%2C%20my%20documents%20have%20been%20viewed%20${minutesSpentOnDocs}%20minutes%20on%20%40papermarkio%2C%20by%3A%0A%0A%E2%80%A2%20Uploading%20${uploadedDocuments}%20documents%0A%E2%80%A2%20Sharing%20${sharedLinks}%20links%0A%E2%80%A2%20Receiving%20${receivedViews}%20views%0A%0A&url=https%3A%2F%2Fwww.papermark.io%2Fyear-in-review`}
+ href={`https://x.com/intent/post?text=In%202024%2C%20my%20documents%20have%20been%20viewed%20${minutesSpentOnDocs}%20minutes%20on%20%40papermarkio%2C%20by%3A%0A%0A%E2%80%A2%20Uploading%20${uploadedDocuments}%20documents%0A%E2%80%A2%20Sharing%20${sharedLinks}%20links%0A%E2%80%A2%20Receiving%20${receivedViews}%20views%0A%0A&url=https%3A%2F%2Fwww.papermark.com%2Fyear-in-review`}
className="mt-4 inline-flex items-center rounded-full bg-gray-900 px-12 py-4 text-center text-sm font-bold text-white no-underline"
>
<svg
@@ -253,7 +253,7 @@ export default function PapermarkYearInReviewEmail({
Share your stats
</Link>
<Link
- href="https://app.papermark.io/documents"
+ href="https://app.papermark.com/documents"
className="mt-4 block items-center text-center text-sm font-bold text-gray-900 no-underline"
>
Go to your dashboard
@@ -265,11 +265,11 @@ export default function PapermarkYearInReviewEmail({
<Text className="text-xs">
© {new Date().getFullYear()}{" "}
<a
- href="https://www.papermark.io"
+ href="https://www.papermark.com"
className="text-gray-400 no-underline visited:text-gray-400 hover:text-gray-400"
target="_blank"
>
- papermark.io
+ papermark.com
</a>
</Text>
<Text className="text-xs">
diff --git a/components/links/link-sheet/agreement-panel/index.tsx b/components/links/link-sheet/agreement-panel/index.tsx
index bb0f45fc..bae76183 100644
--- a/components/links/link-sheet/agreement-panel/index.tsx
+++ b/components/links/link-sheet/agreement-panel/index.tsx
@@ -98,7 +98,7 @@ export default function AgreementSheet({
const linkId = document.links[0].id;
setData((prevData) => ({
...prevData,
- link: "https://www.papermark.io/view/" + linkId,
+ link: "https://www.papermark.com/view/" + linkId,
}));
}
} catch (error) {
@@ -207,7 +207,7 @@ export default function AgreementSheet({
required
autoComplete="off"
data-1p-ignore
- placeholder="https://www.papermark.io/nda"
+ placeholder="https://www.papermark.com/nda"
value={data.link || ""}
onChange={(e) =>
setData({
diff --git a/components/links/link-sheet/agreement-section.tsx b/components/links/link-sheet/agreement-section.tsx
index 3e2059ce..36f7f408 100644
--- a/components/links/link-sheet/agreement-section.tsx
+++ b/components/links/link-sheet/agreement-section.tsx
@@ -68,7 +68,7 @@ export default function AgreementSection({
<div className="pb-5">
<LinkItem
title="Require NDA to view"
- link="https://www.papermark.io/help/article/require-nda-to-view"
+ link="https://www.papermark.com/help/article/require-nda-to-view"
tooltipContent="Users must acknowledge an agreement to access the content."
enabled={enabled}
action={handleAgreement}
diff --git a/components/links/link-sheet/allow-download-section.tsx b/components/links/link-sheet/allow-download-section.tsx
index 23cea78c..7c5c694a 100644
--- a/components/links/link-sheet/allow-download-section.tsx
+++ b/components/links/link-sheet/allow-download-section.tsx
@@ -28,7 +28,7 @@ export default function AllowDownloadSection({
<LinkItem
title="Allow downloading"
enabled={enabled}
- link="https://www.papermark.io/help/article/link-settings"
+ link="https://www.papermark.com/help/article/link-settings"
action={handleAllowDownload}
tooltipContent="Allow visitors to download the content."
/>
diff --git a/components/links/link-sheet/allow-list-section.tsx b/components/links/link-sheet/allow-list-section.tsx
index 83f9cde3..b63a183f 100644
--- a/components/links/link-sheet/allow-list-section.tsx
+++ b/components/links/link-sheet/allow-list-section.tsx
@@ -76,7 +76,7 @@ export default function AllowListSection({
<div className="flex flex-col space-y-4">
<LinkItem
title="Allow specified viewers"
- link="https://www.papermark.io/help/article/allow-list"
+ link="https://www.papermark.com/help/article/allow-list"
tooltipContent="Restrict access to a selected group of viewers. Enter allowed emails or domains."
enabled={enabled}
isAllowed={isAllowed}
diff --git a/components/links/link-sheet/allow-notification-section.tsx b/components/links/link-sheet/allow-notification-section.tsx
index 4fea4dbc..3c9bc9a3 100644
--- a/components/links/link-sheet/allow-notification-section.tsx
+++ b/components/links/link-sheet/allow-notification-section.tsx
@@ -27,7 +27,7 @@ export default function AllowNotificationSection({
<div className="pb-5">
<LinkItem
title="Receive email notification"
- link="https://www.papermark.io/help/article/link-settings"
+ link="https://www.papermark.com/help/article/link-settings"
enabled={enabled}
action={handleEnableNotification}
tooltipContent="Get notified via email when someone views your content."
diff --git a/components/links/link-sheet/deny-list-section.tsx b/components/links/link-sheet/deny-list-section.tsx
index 970e5612..fffb1168 100644
--- a/components/links/link-sheet/deny-list-section.tsx
+++ b/components/links/link-sheet/deny-list-section.tsx
@@ -78,7 +78,7 @@ export default function DenyListSection({
title="Block specified viewers"
tooltipContent="Prevent certain users from accessing the content. Enter blocked emails or domains."
enabled={enabled}
- link="https://www.papermark.io/help/article/block-list"
+ link="https://www.papermark.com/help/article/block-list"
action={handleEnableDenyList}
isAllowed={isAllowed}
requiredPlan="business"
diff --git a/components/links/link-sheet/domain-section.tsx b/components/links/link-sheet/domain-section.tsx
index b8b704d8..25435b14 100644
--- a/components/links/link-sheet/domain-section.tsx
+++ b/components/links/link-sheet/domain-section.tsx
@@ -49,7 +49,7 @@ export default function DomainSection({
if (value === "add_domain" || value === "add_dataroom_domain") {
// Redirect to the add domain page
setModalOpen(true);
- setData({ ...data, domain: "papermark.io" });
+ setData({ ...data, domain: "papermark.com" });
return;
}
@@ -66,14 +66,14 @@ export default function DomainSection({
const defaultDomain = domains.find((domain) => domain.isDefault);
setData({
...data,
- domain: defaultDomain?.slug ?? "papermark.io",
+ domain: defaultDomain?.slug ?? "papermark.com",
});
}
}, [domains, editLink]);
const defaultDomain = editLink
- ? (data.domain ?? "papermark.io")
- : (domains?.find((domain) => domain.isDefault)?.slug ?? "papermark.io");
+ ? (data.domain ?? "papermark.com")
+ : (domains?.find((domain) => domain.isDefault)?.slug ?? "papermark.com");
const currentDomain = domains?.find((domain) => domain.slug === data.domain);
const isDomainVerified = currentDomain?.verified;
@@ -90,7 +90,7 @@ export default function DomainSection({
<SelectTrigger
className={cn(
"flex w-full rounded-none rounded-l-md border border-input bg-white text-foreground placeholder-muted-foreground focus:border-muted-foreground focus:outline-none focus:ring-inset focus:ring-muted-foreground dark:border-gray-500 dark:bg-gray-800 focus:dark:bg-transparent sm:text-sm",
- data.domain && data.domain !== "papermark.io"
+ data.domain && data.domain !== "papermark.com"
? ""
: "border-r-1 rounded-r-md",
)}
@@ -98,8 +98,8 @@ export default function DomainSection({
<SelectValue placeholder="Select a domain" />
</SelectTrigger>
<SelectContent className="flex w-full rounded-md border border-input bg-white text-foreground placeholder-muted-foreground focus:border-muted-foreground focus:outline-none focus:ring-inset focus:ring-muted-foreground dark:border-gray-500 dark:bg-gray-800 focus:dark:bg-transparent sm:text-sm">
- <SelectItem value="papermark.io" className="hover:bg-muted">
- papermark.io
+ <SelectItem value="papermark.com" className="hover:bg-muted">
+ papermark.com
</SelectItem>
{linkType === "DOCUMENT_LINK" &&
(isBusiness || (limits && limits.customDomainOnPro)) && (
@@ -144,7 +144,7 @@ export default function DomainSection({
</SelectContent>
</Select>
- {data.domain && data.domain !== "papermark.io" ? (
+ {data.domain && data.domain !== "papermark.com" ? (
<Input
type="text"
name="key"
@@ -174,7 +174,7 @@ export default function DomainSection({
autoComplete="off"
className={cn(
"hidden rounded-l-none focus:ring-inset",
- data.domain && data.domain !== "papermark.io" ? "flex" : "",
+ data.domain && data.domain !== "papermark.com" ? "flex" : "",
)}
placeholder="deck"
onChange={(e) => {
@@ -195,7 +195,7 @@ export default function DomainSection({
) : null}
</div>
- {data.domain && data.domain !== "papermark.io" && !isDomainVerified ? (
+ {data.domain && data.domain !== "papermark.com" && !isDomainVerified ? (
<div className="mt-4 text-sm text-red-500">
Your domain is not verified yet!{" "}
<Link
diff --git a/components/links/link-sheet/email-authentication-section.tsx b/components/links/link-sheet/email-authentication-section.tsx
index e0ced51f..cf58a751 100644
--- a/components/links/link-sheet/email-authentication-section.tsx
+++ b/components/links/link-sheet/email-authentication-section.tsx
@@ -40,7 +40,7 @@ export default function EmailAuthenticationSection({
<div className="pb-5">
<LinkItem
title="Require email verification"
- link="https://www.papermark.io/help/article/require-email-verification"
+ link="https://www.papermark.com/help/article/require-email-verification"
tooltipContent="Users must verify their email before accessing the content."
enabled={enabled}
action={handleEnableAuthentication}
diff --git a/components/links/link-sheet/email-protection-section.tsx b/components/links/link-sheet/email-protection-section.tsx
index 53036599..969aa57a 100644
--- a/components/links/link-sheet/email-protection-section.tsx
+++ b/components/links/link-sheet/email-protection-section.tsx
@@ -34,7 +34,7 @@ export default function EmailProtectionSection({
<div className="pb-5">
<LinkItem
title="Require email to view"
- link="https://www.papermark.io/help/article/require-email-to-view-document"
+ link="https://www.papermark.com/help/article/require-email-to-view-document"
enabled={enabled}
action={handleEnableProtection}
tooltipContent="Users must provide an email to access this content"
diff --git a/components/links/link-sheet/expiration-section.tsx b/components/links/link-sheet/expiration-section.tsx
index 3ce56c92..37c7ac0c 100644
--- a/components/links/link-sheet/expiration-section.tsx
+++ b/components/links/link-sheet/expiration-section.tsx
@@ -37,7 +37,7 @@ export default function ExpirationSection({
<LinkItem
title="Expiration Date"
enabled={enabled}
- link="https://www.papermark.io/help/article/expiration-date"
+ link="https://www.papermark.com/help/article/expiration-date"
action={handleEnableExpiration}
tooltipContent="Set a date after which the link will no longer be accessible."
/>
diff --git a/components/links/link-sheet/og-section.tsx b/components/links/link-sheet/og-section.tsx
index d36f74a0..8cb009fc 100644
--- a/components/links/link-sheet/og-section.tsx
+++ b/components/links/link-sheet/og-section.tsx
@@ -171,7 +171,7 @@ export default function OGSection({
<LinkItem
tooltipContent="Customize how your content appears when shared on social media."
title="Custom social media cards"
- link="https://www.papermark.io/help/article/change-social-media-cards"
+ link="https://www.papermark.com/help/article/change-social-media-cards"
enabled={enableCustomMetatag}
action={handleCustomMetatag}
isAllowed={isAllowed}
diff --git a/components/links/link-sheet/watermark-section.tsx b/components/links/link-sheet/watermark-section.tsx
index d7877f39..4e44ded7 100644
--- a/components/links/link-sheet/watermark-section.tsx
+++ b/components/links/link-sheet/watermark-section.tsx
@@ -70,7 +70,7 @@ export default function WatermarkSection({
<div className="pb-5">
<LinkItem
title="Apply Watermark"
- link="https://www.papermark.io/help/article/document-watermark"
+ link="https://www.papermark.com/help/article/document-watermark"
tooltipContent="Add a dynamic watermark to your content."
enabled={enabled}
action={handleWatermarkToggle}
diff --git a/components/settings/og-preview.tsx b/components/settings/og-preview.tsx
index d6ff325d..efcd4835 100644
--- a/components/settings/og-preview.tsx
+++ b/components/settings/og-preview.tsx
@@ -33,7 +33,7 @@ export default function Preview({
metaFavicon: favicon,
} = data;
- const hostname = "papermark.io";
+ const hostname = "papermark.com";
return (
<div>
diff --git a/components/view/PagesViewer.tsx b/components/view/PagesViewer.tsx
index e5e4f799..fdc42c32 100644
--- a/components/view/PagesViewer.tsx
+++ b/components/view/PagesViewer.tsx
@@ -313,12 +313,13 @@ export default function PagesViewer({
return (
<img
key={index}
- className={`mx-auto object-contain ${pageNumber - 1 === index ? "block" : "hidden"
- }`}
+ className={`mx-auto object-contain ${
+ pageNumber - 1 === index ? "block" : "hidden"
+ }`}
src={
loadedImages[index]
? page.file
- : "https://www.papermark.io/_static/blank.gif"
+ : "https://www.papermark.com/_static/blank.gif"
}
alt={`Page ${index + 1}`}
fetchPriority={loadedImages[index] ? "high" : "auto"}
@@ -329,8 +330,9 @@ export default function PagesViewer({
return (
<Image
key={index}
- className={`mx-auto object-contain ${pageNumber - 1 === index ? "block" : "hidden"
- }`}
+ className={`mx-auto object-contain ${
+ pageNumber - 1 === index ? "block" : "hidden"
+ }`}
src={loadedImages[index] ? page.file : BlankImg}
alt={`Page ${index + 1}`}
priority={loadedImages[index] ? true : false}
diff --git a/components/view/PagesViewerNew.tsx b/components/view/PagesViewerNew.tsx
index a2f67881..50b7df76 100644
--- a/components/view/PagesViewerNew.tsx
+++ b/components/view/PagesViewerNew.tsx
@@ -903,7 +903,7 @@ export default function PagesViewer({
src={
loadedImages[index]
? page.file
- : "https://www.papermark.io/_static/blank.gif"
+ : "https://www.papermark.com/_static/blank.gif"
}
alt={`Page ${index + 1}`}
/>
diff --git a/components/view/access-form/index.tsx b/components/view/access-form/index.tsx
index 478da489..dc514808 100644
--- a/components/view/access-form/index.tsx
+++ b/components/view/access-form/index.tsx
@@ -172,7 +172,7 @@ export default function AccessForm({
<p className="text-center text-sm tracking-tight text-gray-500">
This document is securely shared with you using{" "}
<a
- href="https://www.papermark.io"
+ href="https://www.papermark.com"
target="_blank"
rel="noopener noreferrer"
className="font-semibold"
diff --git a/components/view/dataroom/nav-dataroom.tsx b/components/view/dataroom/nav-dataroom.tsx
index 2c6b869d..d4d02c10 100644
--- a/components/view/dataroom/nav-dataroom.tsx
+++ b/components/view/dataroom/nav-dataroom.tsx
@@ -114,7 +114,7 @@ export default function DataroomNav({
/>
) : (
<Link
- href="https://www.papermark.io"
+ href="https://www.papermark.com"
target="_blank"
className="text-2xl font-bold tracking-tighter text-white"
>
diff --git a/components/view/nav.tsx b/components/view/nav.tsx
index c43393ea..f3a3d338 100644
--- a/components/view/nav.tsx
+++ b/components/view/nav.tsx
@@ -156,7 +156,7 @@ export default function Nav({
/>
) : (
<Link
- href={`https://www.papermark.io?utm_campaign=navbar&utm_medium=navbar&utm_source=papermark-${linkId}`}
+ href={`https://www.papermark.com?utm_campaign=navbar&utm_medium=navbar&utm_source=papermark-${linkId}`}
target="_blank"
className="text-2xl font-bold tracking-tighter text-white"
>
diff --git a/components/view/powered-by.tsx b/components/view/powered-by.tsx
index 2057be68..0279956c 100644
--- a/components/view/powered-by.tsx
+++ b/components/view/powered-by.tsx
@@ -6,7 +6,7 @@ export const PoweredBy = ({ linkId }: { linkId: string }) => {
<div className="p-6">
<div className="pointer-events-auto relative z-20 flex min-h-8 w-auto items-center justify-end whitespace-nowrap rounded-md bg-black text-white ring-1 ring-white/40 hover:ring-white/90">
<a
- href={`https://www.papermark.io?utm_campaign=poweredby&utm_medium=poweredby&utm_source=papermark-${linkId}`}
+ href={`https://www.papermark.com?utm_campaign=poweredby&utm_medium=poweredby&utm_source=papermark-${linkId}`}
target="_blank"
rel="noopener noreferrer"
className="rounded-sm text-sm"
diff --git a/components/view/viewer/pages-horizontal-viewer.tsx b/components/view/viewer/pages-horizontal-viewer.tsx
index 82130175..751153fd 100644
--- a/components/view/viewer/pages-horizontal-viewer.tsx
+++ b/components/view/viewer/pages-horizontal-viewer.tsx
@@ -622,7 +622,7 @@ export default function PagesHorizontalViewer({
src={
loadedImages[index]
? page.file
- : "https://www.papermark.io/_static/blank.gif"
+ : "https://www.papermark.com/_static/blank.gif"
}
alt={`Page ${index + 1}`}
/>
diff --git a/components/view/viewer/pages-vertical-viewer.tsx b/components/view/viewer/pages-vertical-viewer.tsx
index 61d2b016..3438bc22 100644
--- a/components/view/viewer/pages-vertical-viewer.tsx
+++ b/components/view/viewer/pages-vertical-viewer.tsx
@@ -774,7 +774,7 @@ export default function PagesVerticalViewer({
src={
loadedImages[index]
? page.file
- : "https://www.papermark.io/_static/blank.gif"
+ : "https://www.papermark.com/_static/blank.gif"
}
alt={`Page ${index + 1}`}
/>
diff --git a/lib/api/views/send-webhook-event.ts b/lib/api/views/send-webhook-event.ts
index b8d996e1..118531ed 100644
--- a/lib/api/views/send-webhook-event.ts
+++ b/lib/api/views/send-webhook-event.ts
@@ -62,9 +62,9 @@ export async function sendLinkViewWebhook({
id: link.id,
url: link.domainId
? `https://${link.domainSlug}/${link.slug}`
- : `https://www.papermark.io/view/${link.id}`,
+ : `https://www.papermark.com/view/${link.id}`,
domain:
- link.domainId && link.domainSlug ? link.domainSlug : "papermark.io",
+ link.domainId && link.domainSlug ? link.domainSlug : "papermark.com",
key: link.domainId && link.slug ? link.slug : `view/${link.id}`,
name: link.name,
expiresAt: link.expiresAt?.toISOString() || null,
diff --git a/lib/domains.ts b/lib/domains.ts
index 2e908c5f..4cb29966 100644
--- a/lib/domains.ts
+++ b/lib/domains.ts
@@ -122,7 +122,7 @@ export const getApexDomain = (url: string) => {
// if it's a subdomain (e.g. papermark.vercel.app), return the last 2 parts
return parts.slice(-2).join(".");
}
- // if it's a normal domain (e.g. papermark.io), we return the domain
+ // if it's a normal domain (e.g. papermark.com), we return the domain
return domain;
};
diff --git a/lib/middleware/domain.ts b/lib/middleware/domain.ts
index 68b0f695..7c1e15ec 100644
--- a/lib/middleware/domain.ts
+++ b/lib/middleware/domain.ts
@@ -6,10 +6,10 @@ export default async function DomainMiddleware(req: NextRequest) {
const path = req.nextUrl.pathname;
const host = req.headers.get("host");
- // If it's the root path, redirect to papermark.io/home
+ // If it's the root path, redirect to papermark.com/home
if (path === "/") {
return NextResponse.redirect(
- new URL("https://www.papermark.io/home", req.url),
+ new URL("https://www.papermark.com/home", req.url),
);
}
diff --git a/lib/utils.ts b/lib/utils.ts
index adbb77b5..4082ba1a 100644
--- a/lib/utils.ts
+++ b/lib/utils.ts
@@ -352,7 +352,7 @@ export const convertThreadMessagesToMessages = (
export function constructMetadata({
title = "Papermark | The Open Source DocSend Alternative",
description = "Papermark is an open-source document sharing alternative to DocSend with built-in engagement analytics and 100% white-labeling.",
- image = "https://www.papermark.io/_static/meta-image.png",
+ image = "https://www.papermark.com/_static/meta-image.png",
favicon = "/favicon.ico",
noIndex = false,
}: {
diff --git a/lib/zod/schemas/webhooks.ts b/lib/zod/schemas/webhooks.ts
index 2a91adcc..035c59a5 100644
--- a/lib/zod/schemas/webhooks.ts
+++ b/lib/zod/schemas/webhooks.ts
@@ -39,7 +39,7 @@ const linkEventSchema = z.object({
url: z
.string()
.describe(
- "This is the full URL of the link e.g. https://www.papermark.io/view/1234566",
+ "This is the full URL of the link e.g. https://www.papermark.com/view/1234566",
),
name: z.string().nullable(),
domain: z.string(),
diff --git a/next.config.mjs b/next.config.mjs
index a33c2ab3..ab5d87cb 100644
--- a/next.config.mjs
+++ b/next.config.mjs
@@ -169,6 +169,8 @@ function prepareRemotePatterns() {
// papermark img
{ protocol: "https", hostname: "www.papermark.io" },
{ protocol: "https", hostname: "app.papermark.io" },
+ { protocol: "https", hostname: "www.papermark.com" },
+ { protocol: "https", hostname: "app.papermark.com" },
// useragent img
{ protocol: "https", hostname: "faisalman.github.io" },
// special document pages
diff --git a/pages/_app.tsx b/pages/_app.tsx
index ac8cc1a7..77d9e395 100644
--- a/pages/_app.tsx
+++ b/pages/_app.tsx
@@ -45,12 +45,12 @@ export default function App({
/>
<meta
property="og:image"
- content="https://www.papermark.io/_static/meta-image.png"
+ content="https://www.papermark.com/_static/meta-image.png"
key="og-image"
/>
<meta
property="og:url"
- content="https://www.papermark.io"
+ content="https://www.papermark.com"
key="og-url"
/>
<meta property="og:type" content="website" />
@@ -65,7 +65,7 @@ export default function App({
/>
<meta
name="twitter:image"
- content="https://www.papermark.io/_static/meta-image.png"
+ content="https://www.papermark.com/_static/meta-image.png"
key="tw-image"
/>
<link rel="icon" href="/favicon.ico" key="favicon" />
diff --git a/pages/api/links/[id]/index.ts b/pages/api/links/[id]/index.ts
index 678117cf..e0518d91 100644
--- a/pages/api/links/[id]/index.ts
+++ b/pages/api/links/[id]/index.ts
@@ -192,8 +192,8 @@ export default async function handle(
let { domain, slug, ...linkData } = linkDomainData;
- // set domain and slug to null if the domain is papermark.io
- if (domain && domain === "papermark.io") {
+ // set domain and slug to null if the domain is papermark.com
+ if (domain && domain === "papermark.com") {
domain = null;
slug = null;
}
diff --git a/pages/api/links/index.ts b/pages/api/links/index.ts
index 0a619ef5..0615279e 100644
--- a/pages/api/links/index.ts
+++ b/pages/api/links/index.ts
@@ -60,8 +60,8 @@ export default async function handler(
let { domain, slug, ...linkData } = linkDomainData;
- // set domain and slug to null if the domain is papermark.io
- if (domain && domain === "papermark.io") {
+ // set domain and slug to null if the domain is papermark.com
+ if (domain && domain === "papermark.com") {
domain = null;
slug = null;
}
diff --git a/pages/branding.tsx b/pages/branding.tsx
index 2cef388c..30824698 100644
--- a/pages/branding.tsx
+++ b/pages/branding.tsx
@@ -185,7 +185,7 @@ export default function Branding() {
linkText="Click here"
content="How to customize document branding?"
key="branding"
- link="https://www.papermark.io/help/article/document-branding"
+ link="https://www.papermark.com/help/article/document-branding"
>
<CircleHelpIcon className="h-4 w-4 shrink-0 text-muted-foreground hover:text-foreground" />
</BadgeTooltip>
@@ -457,7 +457,7 @@ export default function Branding() {
</svg>
</div>
<span className="whitespace-normal text-xs text-muted-foreground">
- papermark.io/view/...
+ papermark.com/view/...
</span>
</div>
</div>
@@ -531,7 +531,7 @@ export default function Branding() {
</svg>
</div>
<span className="whitespace-normal text-xs text-muted-foreground">
- papermark.io/view/...
+ papermark.com/view/...
</span>
</div>
</div>
diff --git a/pages/datarooms/[id]/branding/index.tsx b/pages/datarooms/[id]/branding/index.tsx
index 6823e157..56a59b2f 100644
--- a/pages/datarooms/[id]/branding/index.tsx
+++ b/pages/datarooms/[id]/branding/index.tsx
@@ -207,7 +207,7 @@ export default function DataroomBrandPage() {
linkText="Click here"
content="How to customize data room branding?"
key="branding"
- link="https://www.papermark.io/help/article/dataroom-branding"
+ link="https://www.papermark.com/help/article/dataroom-branding"
>
<CircleHelpIcon className="h-4 w-4 shrink-0 text-muted-foreground hover:text-foreground" />
</BadgeTooltip>
@@ -547,7 +547,7 @@ export default function DataroomBrandPage() {
</svg>
</div>
<span className="whitespace-normal text-xs text-muted-foreground">
- papermark.io/dataroom/...
+ papermark.com/dataroom/...
</span>
</div>
</div>
@@ -622,7 +622,7 @@ export default function DataroomBrandPage() {
</svg>
</div>
<span className="whitespace-normal text-xs text-muted-foreground">
- papermark.io/view/...
+ papermark.com/view/...
</span>
</div>
</div>
@@ -696,7 +696,7 @@ export default function DataroomBrandPage() {
</svg>
</div>
<span className="whitespace-normal text-xs text-muted-foreground">
- papermark.io/view/...
+ papermark.com/view/...
</span>
</div>
</div>
diff --git a/pages/datarooms/[id]/groups/index.tsx b/pages/datarooms/[id]/groups/index.tsx
index de37e7de..4229d96f 100644
--- a/pages/datarooms/[id]/groups/index.tsx
+++ b/pages/datarooms/[id]/groups/index.tsx
@@ -84,7 +84,7 @@ export default function DataroomGroupPage() {
linkText="Learn more"
content="Manage Access with Granular Permissions for Data Room Groups"
key="groups"
- link="https://www.papermark.io/help/article/granular-permissions"
+ link="https://www.papermark.com/help/article/granular-permissions"
>
<CircleHelpIcon className="h-4 w-4 shrink-0 text-muted-foreground hover:text-foreground" />
</BadgeTooltip>
diff --git a/pages/datarooms/[id]/permissions/index.tsx b/pages/datarooms/[id]/permissions/index.tsx
index 7fd77408..16b476d4 100644
--- a/pages/datarooms/[id]/permissions/index.tsx
+++ b/pages/datarooms/[id]/permissions/index.tsx
@@ -61,7 +61,7 @@ export default function DataroomAnalyticsPage() {
linkText="Learn more"
content="Configure access controls for data room links."
key="links"
- link="https://www.papermark.io/help/category/links"
+ link="https://www.papermark.com/help/category/links"
>
<CircleHelpIcon className="h-4 w-4 shrink-0 text-muted-foreground hover:text-foreground" />
</BadgeTooltip>
diff --git a/pages/settings/domains.tsx b/pages/settings/domains.tsx
index 13b03cf9..0fba29b1 100644
--- a/pages/settings/domains.tsx
+++ b/pages/settings/domains.tsx
@@ -51,7 +51,7 @@ export default function Domains() {
content="How to connect a custom domain to your link?"
key="verified"
linkText="Click here"
- link="https://www.papermark.io/help/article/how-to-add-custom-domain-to-link"
+ link="https://www.papermark.com/help/article/how-to-add-custom-domain-to-link"
>
<CircleHelpIcon className="h-4 w-4 shrink-0 text-muted-foreground hover:text-foreground" />
</BadgeTooltip>
diff --git a/pages/settings/presets.tsx b/pages/settings/presets.tsx
index 6cf31706..457584fe 100644
--- a/pages/settings/presets.tsx
+++ b/pages/settings/presets.tsx
@@ -225,7 +225,7 @@ export default function Presets() {
<BadgeTooltip
content="Customize how your content appears when shared on social media."
key="verified"
- link="https://www.papermark.io/help/article/change-social-media-cards"
+ link="https://www.papermark.com/help/article/change-social-media-cards"
>
<CircleHelpIcon className="h-4 w-4 shrink-0 cursor-pointer text-muted-foreground hover:text-foreground" />
</BadgeTooltip>
diff --git a/pages/view/[linkId]/d/[documentId].tsx b/pages/view/[linkId]/d/[documentId].tsx
index 856e9618..e1b90259 100644
--- a/pages/view/[linkId]/d/[documentId].tsx
+++ b/pages/view/[linkId]/d/[documentId].tsx
@@ -248,7 +248,7 @@ export async function getStaticProps(context: GetStaticPropsContext) {
metaDescription: link.metaDescription,
metaImage: link.metaImage,
metaFavicon: link.metaFavicon ?? "/favicon.ico",
- metaUrl: `https://www.papermark.io/view/${linkId}`,
+ metaUrl: `https://www.papermark.com/view/${linkId}`,
},
showPoweredByBanner: false,
showAccountCreationSlide: false,
diff --git a/pages/view/[linkId]/index.tsx b/pages/view/[linkId]/index.tsx
index a16a39af..18c88125 100644
--- a/pages/view/[linkId]/index.tsx
+++ b/pages/view/[linkId]/index.tsx
@@ -10,6 +10,11 @@ import { useSession } from "next-auth/react";
import { ExtendedRecordMap } from "notion-types";
import { parsePageId } from "notion-utils";
+import LoadingSpinner from "@/components/ui/loading-spinner";
+import CustomMetaTag from "@/components/view/custom-metatag";
+import DataroomView from "@/components/view/dataroom/dataroom-view";
+import DocumentView from "@/components/view/document-view";
+
import notion from "@/lib/notion";
import { addSignedUrls } from "@/lib/notion/utils";
import {
@@ -19,11 +24,6 @@ import {
NotionTheme,
} from "@/lib/types";
-import LoadingSpinner from "@/components/ui/loading-spinner";
-import CustomMetaTag from "@/components/view/custom-metatag";
-import DataroomView from "@/components/view/dataroom/dataroom-view";
-import DocumentView from "@/components/view/document-view";
-
type DocumentLinkData = {
linkType: "DOCUMENT_LINK";
link: LinkWithDocument;
@@ -129,7 +129,7 @@ export const getStaticProps = async (context: GetStaticPropsContext) => {
metaDescription: link.metaDescription,
metaImage: link.metaImage,
metaFavicon: link.metaFavicon ?? "/favicon.ico",
- metaUrl: `https://www.papermark.io/view/${linkId}`,
+ metaUrl: `https://www.papermark.com/view/${linkId}`,
},
showPoweredByBanner: link.showBanner || teamPlan === "free",
showAccountCreationSlide: link.showBanner || teamPlan === "free",
@@ -184,7 +184,7 @@ export const getStaticProps = async (context: GetStaticPropsContext) => {
metaDescription: link.metaDescription,
metaImage: link.metaImage,
metaFavicon: link.metaFavicon ?? "/favicon.ico",
- metaUrl: `https://www.papermark.io/view/${linkId}`,
+ metaUrl: `https://www.papermark.com/view/${linkId}`,
},
showPoweredByBanner: false,
showAccountCreationSlide: false,