mirror of
https://github.com/hanzo-apps/dataroom.git
synced 2026-10-30 14:47:36 +00:00
- Replace all Papermark branding with Hanzo Dataroom - Update metadata, titles, descriptions, OG tags - Update email templates footer and branding - Replace papermark.io/com URLs with dataroom.hanzo.ai - Update powered-by component - Update x-powered-by header - Update legal references to Hanzo AI, Inc. - Update social handles to @hanzoai - Update README, CLA, LICENSE, SECURITY docs
55 lines
1.5 KiB
TypeScript
55 lines
1.5 KiB
TypeScript
import { Hr, Link, Section, Text } from "@react-email/components";
|
||
|
||
export const Footer = ({
|
||
withAddress = false,
|
||
marketing = false,
|
||
footerText = "If you have any feedback or questions about this email, simply reply to it. I'd love to hear from you!",
|
||
}: {
|
||
withAddress?: boolean;
|
||
marketing?: boolean;
|
||
footerText?: string | React.ReactNode;
|
||
}) => {
|
||
if (marketing) {
|
||
return (
|
||
<>
|
||
<Hr className="mx-0 my-6 w-full border border-neutral-200" />
|
||
<Text className="text-[12px] leading-6 text-neutral-500">
|
||
We send out product update emails once a month – no spam, no nonsense.
|
||
Don't want to get these emails?{" "}
|
||
<Link
|
||
className="text-neutral-700 underline"
|
||
href="https://dataroom.hanzo.ai/account/general"
|
||
>
|
||
Unsubscribe here.
|
||
</Link>
|
||
</Text>
|
||
<Text className="text-[12px] text-neutral-500">
|
||
Hanzo AI, Inc.
|
||
<br />
|
||
1111B S Governors Ave #28117
|
||
<br />
|
||
Dover, DE 19904
|
||
</Text>
|
||
</>
|
||
);
|
||
}
|
||
|
||
return (
|
||
<>
|
||
<Hr />
|
||
<Section className="text-gray-400">
|
||
<Text className="text-xs">
|
||
© {new Date().getFullYear()} Hanzo AI, Inc. All rights reserved.{" "}
|
||
{withAddress && (
|
||
<>
|
||
<br />
|
||
1111B S Governors Ave #28117, Dover, DE 19904
|
||
</>
|
||
)}
|
||
</Text>
|
||
<Text className="text-xs">{footerText}</Text>
|
||
</Section>
|
||
</>
|
||
);
|
||
};
|