mirror of
https://github.com/hanzoai/dataroom.git
synced 2026-10-30 18:41:07 +00:00
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.
40 lines
810 B
TypeScript
40 lines
810 B
TypeScript
import React from "react";
|
|
|
|
import {
|
|
Body,
|
|
Head,
|
|
Html,
|
|
Preview,
|
|
Tailwind,
|
|
Text,
|
|
} from "@react-email/components";
|
|
|
|
interface UpgradePersonalEmailProps {
|
|
name: string | null | undefined;
|
|
planName?: string;
|
|
}
|
|
|
|
const UpgradePersonalEmail = ({
|
|
name,
|
|
planName = "Pro",
|
|
}: UpgradePersonalEmailProps) => {
|
|
return (
|
|
<Html>
|
|
<Head />
|
|
<Preview>Welcome to {planName}</Preview>
|
|
<Tailwind>
|
|
<Body className="font-sans text-sm">
|
|
<Text>Hi{name && ` ${name}`},</Text>
|
|
<Text>
|
|
Thanks for upgrading to {planName}! You now have access to advanced
|
|
features. Any questions so far?
|
|
</Text>
|
|
<Text>The Hanzo Dataroom Team</Text>
|
|
</Body>
|
|
</Tailwind>
|
|
</Html>
|
|
);
|
|
};
|
|
|
|
export default UpgradePersonalEmail;
|