Email footer rework

This commit is contained in:
PxlLoewe
2025-06-01 10:26:10 -07:00
parent 9c4c51f274
commit 55e44d9cde
6 changed files with 49 additions and 121 deletions

View File

@@ -2,6 +2,7 @@ import * as React from "react";
import { Event, User } from "@repo/db";
import { Html, Button, render } from "@react-email/components";
import { Badge } from "./Badge";
import { EmailFooter } from "./EmailFooter";
const styles = `
* {
@@ -132,43 +133,7 @@ const Template = ({ event, user }: { user: User; event: Event }) => (
</td>
</tr>
<tr>
<td style={{ textAlign: "center", paddingTop: "20px" }}>
<a
href="https://your-platform.com"
style={{
padding: "10px",
textDecoration: "none",
borderRadius: "20px",
color: "#011936",
}}
>
Impressum
</a>
<span style={{ margin: "0 10px" }}>|</span>
<a
href="https://your-platform.com"
style={{
padding: "10px",
textDecoration: "none",
borderRadius: "20px",
color: "#011936",
}}
>
Datenschutzerklärung
</a>
<span style={{ margin: "0 10px" }}>|</span>
<a
href="https://your-platform.com"
style={{
padding: "10px",
textDecoration: "none",
borderRadius: "20px",
color: "#011936",
}}
>
Knowledgebase
</a>
</td>
<EmailFooter />
</tr>
</tbody>
</table>