Files
dataroom/components/emails/dataroom-trial-end.tsx
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

91 lines
2.8 KiB
TypeScript

import React from "react";
import {
Body,
Button,
Container,
Head,
Hr,
Html,
Link,
Preview,
Section,
Tailwind,
Text,
} from "@react-email/components";
import { Footer } from "./shared/footer";
interface DataroomTrialEnd {
name: string | null | undefined;
}
const DataroomTrialEnd = ({ name }: DataroomTrialEnd) => {
return (
<Html>
<Head />
<Preview>Upgrade to continue using data rooms</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
<Container className="mx-auto my-10 w-[465px] p-5">
<Text className="mb-8 mt-4 text-center text-2xl font-normal">
<span className="font-bold tracking-tighter">Hanzo Dataroom</span>
</Text>
<Text className="font-seminbold mb-8 mt-4 text-center text-xl">
Your Data Room plan trial has expired
</Text>
<Text className="text-sm leading-6 text-black">
Hey{name && ` ${name}`}!
</Text>
<Text className="text-sm leading-6 text-black">
Your Hanzo Dataroom Data Room trial has expired.
<br />
<Link
href={`https://dataroom.hanzo.ai/settings/billing`}
className="underline"
>
Upgrade now
</Link>{" "}
to:
</Text>
<ul className="list-inside list-disc text-sm">
<li>Create new datarooms</li>
<li>
Upload <strong>large</strong> files
</li>
<li>
Invite your <strong>team members</strong>
</li>
<li>
Protect documents with <strong>advanced access controls</strong>
</li>
<li>
Share documents and data rooms with{" "}
<strong>custom domain</strong>
</li>
<li>Access advanced analytics and audit logs</li>
</ul>
<Section className="my-8 text-center">
<Button
className="rounded bg-black text-center text-xs font-semibold text-white no-underline"
href={`https://dataroom.hanzo.ai/settings/billing`}
style={{ padding: "12px 20px" }}
>
Upgrade now
</Button>
</Section>
<Text className="text-sm font-semibold">
<span className="text-red-500">⚠️</span> Dataroom links and links
with advanced access controls have been{" "}
<span className="underline">disabled</span>.
</Text>
<Footer />
</Container>
</Body>
</Tailwind>
</Html>
);
};
export default DataroomTrialEnd;