Files
zeekay 60163bce2e rebrand: Papermark → Hanzo Dataroom across user-facing surfaces
108 files: README, marketing copy, page titles, meta tags, footer
text, email templates, .env.example, UI strings. URLs swapped
from papermark.com/papermark.io to dataroom.hanzo.ai.

Internal identifiers left intact per repo policy: localStorage
keys (papermark.email/papermark.name/last_papermark_login —
changing them logs users out), type field names
(papermarkUserId), internal helper symbols (PAPERMARK_HEADERS,
PapermarkSparkle component, isPapermarkUrl helper),
internal-only filenames. LLM.md retains 'Upstream: Papermark'
attribution line. Per-locale .po translations regenerate from
source on the next lingui-extract CI run.

DB migrations untouched (append-only history; rewriting them
breaks installed schemas). LICENSE stays AGPL-3.0.
2026-06-07 12:23:40 -07:00

80 lines
2.3 KiB
TypeScript

import React from "react";
import {
Body,
Container,
Head,
Heading,
Hr,
Html,
Img,
Preview,
Section,
Tailwind,
Text,
} from "@react-email/components";
export default function OtpEmailVerification({
email = "[email protected]",
code = "123456",
isDataroom = false,
logo,
}: {
email: string;
code: string;
isDataroom: boolean;
logo?: string;
}) {
return (
<Html>
<Head />
<Preview>Your Email Verification Code</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
<Container className="mx-auto my-10 w-[465px] p-5">
<div className="mx-0 mb-8 mt-4 p-0 text-center">
{logo ? (
<Img
src={logo}
alt="Logo"
width="120"
height="36"
className="mx-auto"
/>
) : (
<Text className="text-2xl font-normal">
<span className="font-bold tracking-tighter">Hanzo Dataroom</span>
</Text>
)}
</div>
<Heading className="mx-0 my-7 p-0 text-center text-xl font-semibold text-black">
Please confirm your email address
</Heading>
<Text className="mx-auto text-sm leading-6">
Enter this code on the link verification page to view the{" "}
{isDataroom ? "dataroom" : "document"}:
</Text>
<Section className="my-8">
<div className="mx-auto w-fit rounded-xl px-6 py-3 text-center font-mono text-2xl font-semibold tracking-[0.25em]">
{code}
</div>
</Section>
<Text className="text-sm leading-6 text-black">
This code expires in 10 minutes.
</Text>
<Hr />
<Section className="mt-8 text-gray-400">
<Text className="text-xs">
This email was intended for{" "}
<span className="text-black">{email}</span>. If you were not
expecting this email, you can ignore this email. If you have any
feedback or questions about this email, simply reply to it.
</Text>
</Section>
</Container>
</Body>
</Tailwind>
</Html>
);
}