Skip to content

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

2.5 KB
Raw Blame
import React from "react";

import {
  Body,
  Container,
  Head,
  Hr,
  Html,
  Section,
  Tailwind,
  Text,
} from "@react-email/components";

export default function DataroomFreezeOtp({
  userName = "User",
  dataroomName = "My Data Room",
  code = "123456",
}: {
  userName: string;
  dataroomName: string;
  code: string;
}) {
  return (
    <Html>
      <Head />
      <Tailwind>
        <Body className="mx-auto my-auto bg-white font-sans">
          <Container className="mx-auto my-10 max-w-[600px] rounded border border-solid border-neutral-200 px-10 py-5">
            <Section className="mt-8">
              <Text className="text-2xl font-bold tracking-tighter">
                Papermark
              </Text>
            </Section>
            <Text className="mx-0 my-7 p-0 text-xl font-semibold text-black">
              Data Room Freeze Confirmation
            </Text>
            <Text className="text-sm leading-6 text-neutral-600">
              Hi {userName}, you requested to permanently freeze the data room{" "}
              <strong>&quot;{dataroomName}&quot;</strong>. This action{" "}
              <strong>cannot be undone</strong> — all viewer access will be
              revoked and all links will be archived.
            </Text>
            <Text className="text-sm leading-6 text-neutral-600">
              Enter this code to confirm the freeze:
            </Text>
            <Section className="my-6">
              <Text
                className="m-0 rounded-lg bg-neutral-100 px-4 py-3 text-center text-2xl font-bold tracking-[0.3em] text-black"
                style={{ fontFamily: "monospace", letterSpacing: "0.3em" }}
              >
                {code}
              </Text>
            </Section>
            <Text className="text-sm leading-6 text-neutral-600">
              This code will expire in 10 minutes.
            </Text>
            <Text className="mt-4 text-sm leading-5 text-neutral-500">
              If you did not request this, you can safely ignore this email.
              Your data room will remain unchanged.
            </Text>
            <Hr className="my-6" />
            <Section className="text-gray-400">
              <Text className="text-xs text-neutral-500">
                Papermark, Inc.
                <br />
                1111B S Governors Ave #28117
                <br />
                Dover, DE 19904
              </Text>
            </Section>
          </Container>
        </Body>
      </Tailwind>
    </Html>
  );
}