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.
74 lines
2.2 KiB
TypeScript
74 lines
2.2 KiB
TypeScript
import React from "react";
|
|
|
|
import {
|
|
Body,
|
|
Container,
|
|
Head,
|
|
Heading,
|
|
Hr,
|
|
Html,
|
|
Preview,
|
|
Section,
|
|
Tailwind,
|
|
Text,
|
|
} from "@react-email/components";
|
|
|
|
const VerificationCodeEmail = ({
|
|
email = "[email protected]",
|
|
code = "45PFSNUDYW",
|
|
}: {
|
|
email?: string;
|
|
code?: string;
|
|
}) => {
|
|
return (
|
|
<Html>
|
|
<Head />
|
|
<Preview>Your login code for Hanzo Dataroom: {code}</Preview>
|
|
<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">
|
|
Hanzo Dataroom
|
|
</Text>
|
|
</Section>
|
|
<Heading className="mx-0 my-7 p-0 text-xl font-semibold text-black">
|
|
Your login code
|
|
</Heading>
|
|
<Text className="text-sm leading-6 text-neutral-600">
|
|
Enter this code to sign in to your Hanzo Dataroom account:
|
|
</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 15 minutes.
|
|
</Text>
|
|
<Text className="mt-4 text-sm leading-5 text-neutral-500">
|
|
If you didn't request this code, you can safely ignore this
|
|
email.
|
|
</Text>
|
|
<Hr className="my-6" />
|
|
<Section className="text-gray-400">
|
|
<Text className="text-xs text-neutral-500">
|
|
Hanzo AI, Inc.
|
|
<br />
|
|
1111B S Governors Ave #28117
|
|
<br />
|
|
Dover, DE 19904
|
|
</Text>
|
|
</Section>
|
|
</Container>
|
|
</Body>
|
|
</Tailwind>
|
|
</Html>
|
|
);
|
|
};
|
|
|
|
export default VerificationCodeEmail;
|