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

71 lines
2.1 KiB
TypeScript

import React from "react";
import {
Body,
Button,
Container,
Head,
Hr,
Html,
Preview,
Section,
Tailwind,
Text,
} from "@react-email/components";
import { Footer } from "./shared/footer";
export default function TeamInvitation({
senderName,
senderEmail,
teamName,
url = "https://dataroom.hanzo.ai",
}: {
senderName: string;
senderEmail: string;
teamName: string;
url: string;
}) {
return (
<Html>
<Head />
<Preview>Join the team on Hanzo Dataroom</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">Hanzo Dataroom</span>
</Text>
<Text className="font-seminbold mx-0 mb-8 mt-4 p-0 text-center text-xl">
{`Join ${teamName} on Hanzo Dataroom`}
</Text>
<Text className="text-sm leading-6 text-black">Hey!</Text>
<Text className="text-sm leading-6 text-black">
<span className="font-semibold">{senderName}</span> ({senderEmail}
) has invited you to the{" "}
<span className="font-semibold">{teamName}</span> team on{" "}
<span className="font-semibold">Hanzo Dataroom</span>.
</Text>
<Section className="my-8 text-center">
<Button
className="rounded bg-black text-center text-xs font-semibold text-white no-underline"
href={url}
style={{ padding: "12px 20px" }}
>
Join the team
</Button>
</Section>
<Text className="text-sm leading-6 text-black">
or copy and paste this URL into your browser:
</Text>
<Text className="max-w-sm flex-wrap break-words font-medium text-purple-600 no-underline">
{url.replace(/^https?:\/\//, "")}
</Text>
<Footer />
</Container>
</Body>
</Tailwind>
</Html>
);
}