Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
updates for the emails and small docend alternatives page
Iuliia Shnaib11743e8b3e9
diff --git a/components/emails/onboarding-1.tsx b/components/emails/onboarding-1.tsxnew file mode 100644index 00000000..d04d7613--- /dev/null+++ b/components/emails/onboarding-1.tsx@@ -0,0 +1,96 @@+import React from "react";++import {+ Body,+ Button,+ Container,+ Head,+ Hr,+ Html,+ Link,+ Preview,+ Section,+ Tailwind,+ Text,+} from "@react-email/components";++interface Onboarding1EmailProps {+ name: string | null | undefined;+}++const Onboarding1Email = ({ name }: Onboarding1EmailProps) => {+ const previewText = `Share documents not attachments`;++ return (+ <Html>+ <Head />+ <Preview>{previewText}</Preview>+ <Tailwind>+ <Body className="mx-auto my-auto bg-white font-sans">+ <Container className="mx-auto my-10 w-[465px] p-5">+ <Text className="mx-0 mb-8 mt-4 p-0 text-center text-2xl font-normal">+ <span className="font-bold tracking-tighter">Papermark</span>+ </Text>+ <Text className="mx-0 mb-8 mt-4 p-0 text-center text-2xl font-normal">+ Turn your documents into links+ </Text>+ <Text className="text-sm">+ It all starts from sharing your first document!+ </Text>+ <Text className="text-sm">+ With Papermark you can upload different kind of documents and turn+ them into shareable links:+ </Text>+ <Text className="text-sm">+ <ul className="list-inside list-disc text-sm">+ <li>PDFs</li>+ <li>Excel, CSV files</li>+ <li>Notion via link</li>+ </ul>+ <Text className="text-sm">+ (All Notion changes are instantly reflected in shared documents)+ </Text>+ </Text>+ <Text className="text-sm">+ You can also use <strong>Bulk upload 💫</strong> Just drop many+ documents at once+ </Text>+ <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://www.papermark.io/documents?utm_source=onboarding&utm_medium=email&utm_campaign=20240723&utm_content=upload_documents`}+ style={{ padding: "12px 20px" }}+ >+ Upload my documents+ </Button>+ </Section>+ <Text className="text-sm">+ After sharing start tracking document activity on each page+ </Text>+ <Hr />+ <Section className="mt-8 text-gray-400">+ <Text className="text-xs">+ © {new Date().getFullYear()}{" "}+ <a+ href="https://www.papermark.io"+ className="text-gray-400 no-underline visited:text-gray-400 hover:text-gray-400"+ target="_blank"+ >+ papermark.io+ </a>+ </Text>+ <Text className="text-xs">+ If you have any feedback or questions about this email, simply+ reply to it. I'd love to hear from you!{" "}+ </Text>++ <Text className="text-xs">Stop this onboarding sequence</Text>+ </Section>+ </Container>+ </Body>+ </Tailwind>+ </Html>+ );+};++export default Onboarding1Email;diff --git a/components/emails/onboarding-2.tsx b/components/emails/onboarding-2.tsxnew file mode 100644index 00000000..04e5d570--- /dev/null+++ b/components/emails/onboarding-2.tsx@@ -0,0 +1,95 @@+import React from "react";++import {+ Body,+ Button,+ Container,+ Head,+ Hr,+ Html,+ Link,+ Preview,+ Section,+ Tailwind,+ Text,+} from "@react-email/components";++interface Onboarding2EmailProps {+ name: string | null | undefined;+}++const Onboarding2Email = ({ name }: Onboarding2EmailProps) => {+ const previewText = `The document sharing infrastructure for the modern web`;++ return (+ <Html>+ <Head />+ <Preview>{previewText}</Preview>+ <Tailwind>+ <Body className="mx-auto my-auto bg-white font-sans">+ <Container className="mx-auto my-10 w-[465px] p-5">+ <Text className="mx-0 mb-8 mt-4 p-0 text-center text-2xl font-normal">+ <span className="font-bold tracking-tighter">Papermark</span>+ </Text>+ <Text className="mx-0 mb-8 mt-4 p-0 text-center text-2xl font-normal">+ Set link permissions+ </Text>+ <Text className="text-sm">+ There are many ways how you can protect your documents!+ </Text>+ <Text className="text-sm">+ With Papermark you can use different link settings for shared+ documents and data rooms:+ </Text>+ <Text className="text-sm">+ <ul className="list-inside list-disc text-sm">+ <li>Require email to view</li>+ <li>Expiration date</li>+ <li>Allow & block list 🌟</li>+ <li>Email verification</li>+ <li>Password protection</li>+ <li>NDA and other agreements</li>+ <li>Screenshot protection</li>+ </ul>+ </Text>+ {/* <Text className="text-sm">You can also use Bulk upload</Text> */}+ <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://www.papermark.io/documents?utm_source=onboarding&utm_medium=email&utm_campaign=20240723&utm_content=upload_documents`}+ style={{ padding: "12px 20px" }}+ >+ To my link settings+ </Button>+ </Section>+ <Text className="text-sm">+ Additionally you can turn on/off: downloading, notifications,+ feedback, and cta settings+ </Text>+ <Hr />+ <Section className="mt-8 text-gray-400">+ <Text className="text-xs">+ © {new Date().getFullYear()}{" "}+ <a+ href="https://www.papermark.io"+ className="text-gray-400 no-underline visited:text-gray-400 hover:text-gray-400"+ target="_blank"+ >+ papermark.io+ </a>+ </Text>+ <Text className="text-xs">+ If you have any feedback or questions about this email, simply+ reply to it. I'd love to hear from you!{" "}+ </Text>++ <Text className="text-xs">Stop this onboarding sequence</Text>+ </Section>+ </Container>+ </Body>+ </Tailwind>+ </Html>+ );+};++export default Onboarding2Email;diff --git a/components/emails/onboarding-3.tsx b/components/emails/onboarding-3.tsxnew file mode 100644index 00000000..17f7b9e6--- /dev/null+++ b/components/emails/onboarding-3.tsx@@ -0,0 +1,97 @@+import React from "react";++import {+ Body,+ Button,+ Container,+ Head,+ Hr,+ Html,+ Link,+ Preview,+ Section,+ Tailwind,+ Text,+} from "@react-email/components";++interface Onboarding3EmailProps {+ name: string | null | undefined;+}++const Onboarding3Email = ({ name }: Onboarding3EmailProps) => {+ const previewText = `The document sharing infrastructure for the modern web`;++ return (+ <Html>+ <Head />+ <Preview>{previewText}</Preview>+ <Tailwind>+ <Body className="mx-auto my-auto bg-white font-sans">+ <Container className="mx-auto my-10 w-[465px] p-5">+ <Text className="mx-0 mb-8 mt-4 p-0 text-center text-2xl font-normal">+ <span className="font-bold tracking-tighter">Papermark</span>+ </Text>+ <Text className="mx-0 mb-8 mt-4 p-0 text-center text-2xl font-normal">+ Watch the views come in real-time+ </Text>+ <Text className="text-sm">+ You need to know who viewed your documents!+ </Text>+ <Text className="text-sm">+ With Papermark you can track progress on each page of your+ document and other analytics:+ </Text>+ <Text className="text-sm">+ <ul className="list-inside list-disc text-sm">+ <li>+ Track time on <strong>each page 💫</strong>{" "}+ </li>+ <li>See who viewed your documents</li>+ <li>Capture email </li>+ <li>Receive feedback</li>+ <li>Ask questions and get answers</li>+ </ul>+ {/* <Text className="text-sm">+ (All Notion changes are instantly reflected in shared documents)+ </Text> */}+ </Text>+ {/* <Text className="text-sm">You can also use Bulk upload</Text> */}+ <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://www.papermark.io/documents?utm_source=onboarding&utm_medium=email&utm_campaign=20240723&utm_content=upload_documents`}+ style={{ padding: "12px 20px" }}+ >+ View your document activity+ </Button>+ </Section>+ <Text className="text-sm">+ Get instant notifications on who viewed your documents+ </Text>+ <Hr />+ <Section className="mt-8 text-gray-400">+ <Text className="text-xs">+ © {new Date().getFullYear()}{" "}+ <a+ href="https://www.papermark.io"+ className="text-gray-400 no-underline visited:text-gray-400 hover:text-gray-400"+ target="_blank"+ >+ papermark.io+ </a>+ </Text>+ <Text className="text-xs">+ If you have any feedback or questions about this email, simply+ reply to it. I'd love to hear from you!{" "}+ </Text>++ <Text className="text-xs">Stop this onboarding sequence</Text>+ </Section>+ </Container>+ </Body>+ </Tailwind>+ </Html>+ );+};++export default Onboarding3Email;diff --git a/components/emails/onboarding-4.tsx b/components/emails/onboarding-4.tsxnew file mode 100644index 00000000..39b55585--- /dev/null+++ b/components/emails/onboarding-4.tsx@@ -0,0 +1,103 @@+import React from "react";++import {+ Body,+ Button,+ Container,+ Head,+ Hr,+ Html,+ Link,+ Preview,+ Section,+ Tailwind,+ Text,+} from "@react-email/components";++interface Onboarding4EmailProps {+ name: string | null | undefined;+}++const Onboarding4Email = ({ name }: Onboarding4EmailProps) => {+ const previewText = `The document sharing infrastructure for the modern web`;++ return (+ <Html>+ <Head />+ <Preview>{previewText}</Preview>+ <Tailwind>+ <Body className="mx-auto my-auto bg-white font-sans">+ <Container className="mx-auto my-10 w-[465px] p-5">+ <Text className="mx-0 mb-8 mt-4 p-0 text-center text-2xl font-normal">+ <span className="font-bold tracking-tighter">Papermark</span>+ </Text>+ <Text className="mx-0 mb-8 mt-4 p-0 text-center text-2xl font-normal">+ Custom domains and branding+ </Text>+ <Text className="text-sm">+ Look professional with custom branding!+ </Text>+ <Text className="text-sm">With Papermark you can:</Text>+ <Text className="text-sm">+ <ul className="list-inside list-disc text-sm">+ <li>+ Share documnets with your <strong>custom domain💫</strong>{" "}+ </li>++ <li>Remove "powered by Papermark"</li>+ <li>Add logo and custom colors</li>+ <li>Share data room with custom domain</li>+ <li>Add banner and custom brand to data rooms</li>+ </ul>+ <Text className="text-sm">+ (Customization for data rooms is seaprate and available in each+ data room you create)+ </Text>+ </Text>+ {/* <Text className="text-sm">You can also use Bulk upload</Text> */}+ <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://www.papermark.io/documents?utm_source=onboarding&utm_medium=email&utm_campaign=20240723&utm_content=upload_documents`}+ style={{ padding: "12px 20px" }}+ >+ Add your domain and branding+ </Button>+ </Section>+ <Text className="text-sm">+ If you are looking for full white-labelling just{" "}+ <a+ href="https://cal.com/marcseitz/papermark"+ className="text-blue-500 underline"+ >+ book a call+ </a>{" "}+ with us.+ </Text>+ <Hr />+ <Section className="mt-8 text-gray-400">+ <Text className="text-xs">+ © {new Date().getFullYear()}{" "}+ <a+ href="https://www.papermark.io"+ className="text-gray-400 no-underline visited:text-gray-400 hover:text-gray-400"+ target="_blank"+ >+ papermark.io+ </a>+ </Text>+ <Text className="text-xs">+ If you have any feedback or questions about this email, simply+ reply to it. I'd love to hear from you!{" "}+ </Text>++ <Text className="text-xs">Stop this onboarding sequence</Text>+ </Section>+ </Container>+ </Body>+ </Tailwind>+ </Html>+ );+};++export default Onboarding4Email;diff --git a/components/emails/onboarding-5.tsx b/components/emails/onboarding-5.tsxnew file mode 100644index 00000000..6fbfbf4f--- /dev/null+++ b/components/emails/onboarding-5.tsx@@ -0,0 +1,112 @@+import React from "react";++import {+ Body,+ Button,+ Container,+ Head,+ Hr,+ Html,+ Link,+ Preview,+ Section,+ Tailwind,+ Text,+} from "@react-email/components";++interface Onboarding3EmailProps {+ name: string | null | undefined;+}++const Onboarding3Email = ({ name }: Onboarding3EmailProps) => {+ const previewText = `The document sharing infrastructure for the modern web`;++ return (+ <Html>+ <Head />+ <Preview>{previewText}</Preview>+ <Tailwind>+ <Body className="mx-auto my-auto bg-white font-sans">+ <Container className="mx-auto my-10 w-[465px] p-5">+ <Text className="mx-0 mb-8 mt-4 p-0 text-center text-2xl font-normal">+ <span className="font-bold tracking-tighter">Papermark</span>+ </Text>+ <Text className="mx-0 mb-8 mt-4 p-0 text-center text-2xl font-normal">+ Virtual Data Rooms+ </Text>+ <Text className="text-sm">Unlimited branded data rooms!</Text>+ <Text className="text-sm">With Papermark Data Rooms you can:</Text>+ <Text className="text-sm">+ <ul className="list-inside list-disc text-sm">+ <li>Share data rooms with one link</li>+ <li>Upload unlimited files</li>+ <li>Create unlimited folders and subfolders</li>+ <li>Invite unlimited team members</li>+ <li>+ Connect your <strong>custom domain 💫</strong>{" "}+ </li>+ <li>Create fully branded expereince </li>+ <li>Use advancedlink settings</li>+ <li>Create full whitelabeling</li>+ <li>Build self-hosted expereince</li>+ </ul>+ <Text className="text-sm">+ All about Papermark{" "}+ <a+ href="https://cal.com/marcseitz/papermark"+ className="text-blue-500 underline"+ >+ Data Rooms+ </a>{" "}+ features and plans+ </Text>+ </Text>+ {/* <Text className="text-sm">You can also use Bulk upload</Text> */}+ <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://www.papermark.io/documents?utm_source=onboarding&utm_medium=email&utm_campaign=20240723&utm_content=upload_documents`}+ style={{ padding: "12px 20px" }}+ >+ Create new data room+ </Button>+ </Section>+ <Text className="text-sm">+ If you want to sel-host Papermark, and build fully customizable+ experience{" "}+ <a+ href="https://cal.com/marcseitz/papermark"+ className="text-blue-500 underline"+ >+ book a call+ </a>{" "}+ with us.+ </Text>+ <Hr />+ <Section className="mt-8 text-gray-400">+ <Text className="text-xs">+ © {new Date().getFullYear()}{" "}+ <a+ href="https://www.papermark.io"+ className="text-gray-400 no-underline visited:text-gray-400 hover:text-gray-400"+ target="_blank"+ >+ papermark.io+ </a>+ </Text>+ <Text className="text-xs">+ This is a last onboaridng email. If you have any feedback or+ questions about this email, simply reply to it. I'd love to hear+ from you!{" "}+ </Text>++ {/* <Text className="text-xs">Stop this onboarding sequence. </Text> */}+ </Section>+ </Container>+ </Body>+ </Tailwind>+ </Html>+ );+};++export default Onboarding3Email;diff --git a/components/web/alternatives/docsendtext.tsx b/components/web/alternatives/docsendtext.tsxindex a5ecd027..84f51d29 100644--- a/components/web/alternatives/docsendtext.tsx+++ b/components/web/alternatives/docsendtext.tsx@@ -148,7 +148,7 @@ const DocSendAlternatives = () => {<atarget="_blank"rel="nofollow"- href="papermark.io/docsend-pricing"+ href="/blog/docsend-pricing">article</a>@@ -213,14 +213,14 @@ const DocSendAlternatives = () => {<h3 id="papermark-pricing">Papermark Pricing</h3><ul><li>- <p>Free: $0</p>+ <p>Free: €0</p></li><li>- <p>Starter: $25/month</p>+ <p>Starter: €25/month</p></li><li><p>- Business: $59/month (+ Business: €45/month (<a target="_blank" rel="nofollow" href="/data-room">data room</a>{" "}@@ -229,7 +229,7 @@ const DocSendAlternatives = () => {</li><li><p>- Data Rooms: $149/month (+ Data Rooms: €99/month (<a target="_blank" rel="nofollow" href="/data-room">unlimited data rooms</a>{" "}@@ -247,7 +247,7 @@ const DocSendAlternatives = () => {Papermark Ratings and Reviews</h3><p>- Papermark loved by over 5000 customers and users, who actively+ Papermark loved by over 7000 customers and users, who activelyuse it for:</p><ul>@@ -1607,7 +1607,7 @@ const DocSendAlternatives = () => {<div className="sticky top-14 col-span-1 hidden flex-col divide-y divide-gray-200 self-start sm:flex"><div className="flex flex-col space-y-4"><p className="text-sm text-gray-500">- Last updated on 19.06.2024+ Last updated on 24.07.2024</p>{/* <Author username={data.author} /> */}<Linkdiff --git a/lib/emails/send-onboarding.ts b/lib/emails/send-onboarding.tsnew file mode 100644index 00000000..9c333ca0--- /dev/null+++ b/lib/emails/send-onboarding.ts@@ -0,0 +1,54 @@+import Onboarding1Email from "@/components/emails/onboarding-1";+import Onboarding2Email from "@/components/emails/onboarding-2";+import Onboarding3Email from "@/components/emails/onboarding-3";+import Onboarding4Email from "@/components/emails/onboarding-4";+import Onboarding5Email from "@/components/emails/onboarding-5";++import { sendEmail } from "@/lib/resend";++import { CreateUserEmailProps } from "../types";++type EmailType =+ | "onboarding1"+ | "onboarding2"+ | "onboarding3"+ | "onboarding4"+ | "onboarding5";++export const sendOnboardingEmail = async (+ params: CreateUserEmailProps,+ emailType: EmailType,+) => {+ const { name, email } = params.user;++ let emailTemplate;+ let subject;++ if (emailType === "onboarding1") {+ emailTemplate = Onboarding1Email({ name });+ subject = "Day 1 with Papermark - Turn your documents into links";+ } else if (emailType === "onboarding2") {+ emailTemplate = Onboarding2Email({ name });+ subject = "Day 2 - Set link permissions";+ } else if (emailType === "onboarding3") {+ emailTemplate = Onboarding3Email({ name });+ subject = "Day 3 - Track analytics on each page";+ } else if (emailType === "onboarding4") {+ emailTemplate = Onboarding4Email({ name });+ subject = "Day 4 - Custom domain and branding";+ } else if (emailType === "onboarding5") {+ emailTemplate = Onboarding5Email({ name });+ subject = "Day 5 - Virtual Data Rooms";+ }++ try {+ await sendEmail({+ to: email as string,+ subject,+ react: emailTemplate,+ test: process.env.NODE_ENV === "development",+ });+ } catch (e) {+ console.error(e);+ }+};diff --git a/pages/docsend-alternatives.tsx b/pages/docsend-alternatives.tsxindex 9ccd7d92..eb91e752 100644--- a/pages/docsend-alternatives.tsx+++ b/pages/docsend-alternatives.tsx@@ -162,8 +162,8 @@ Please note that the prices and availability of features may vary, and it is rec<div className="flex w-full flex-col items-center"><div className="pb-1"><img- src="https://media.licdn.com/dms/image/C560BAQF0P4VJimYMZw/company-logo_200_200/0/1630615035618?e=1720656000&v=beta&t=gWnITXssNMEKBqbdPrGev6pbQf9iLywYEr404OFtKV0"- alt="App screenshot"+ src="https://assets.papermark.io/upload/file_92Bos9juXhoWZMSHEd5E1h-1630615035618.jpeg"+ alt="Docsend logo"className="mx-auto"width={100}height={50}