Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

feat: add footer to team invitation

Marc Seitz353964dde9dc
diff --git a/components/emails/team-invitation.tsx b/components/emails/team-invitation.tsx
index d1bc73fe..32fb8712 100644
--- a/components/emails/team-invitation.tsx
+++ b/components/emails/team-invitation.tsx
@@ -13,6 +13,8 @@ import {
Text,
} from "@react-email/components";
+import { Footer } from "./shared/footer";
+
export default function TeamInvitation({
senderName,
senderEmail,
@@ -59,23 +61,7 @@ export default function TeamInvitation({
<Text className="max-w-sm flex-wrap break-words font-medium text-purple-600 no-underline">
{url.replace(/^https?:\/\//, "")}
</Text>
- <Hr />
- <Section className="mt-8 text-gray-400">
- <Text className="text-xs">
- © {new Date().getFullYear()}{" "}
- <a
- href="https://www.papermark.com"
- className="text-gray-400 no-underline"
- target="_blank"
- >
- papermark.com
- </a>
- </Text>
- <Text className="text-xs">
- If you have any feedback or questions about this email, simply
- reply to it.
- </Text>
- </Section>
+ <Footer />
</Container>
</Body>
</Tailwind>