Fix
This commit is contained in:
parent
bd8231912c
commit
21001e2f86
2 changed files with 8 additions and 13 deletions
|
@ -8,7 +8,6 @@ import {
|
|||
Img,
|
||||
Preview,
|
||||
Section,
|
||||
// Tailwind,
|
||||
Text,
|
||||
} from "@react-email/components";
|
||||
import * as React from "react";
|
||||
|
@ -25,33 +24,28 @@ export const Welcome = ({ name }: WelcomeTemplateProps) => (
|
|||
<Html>
|
||||
<Head />
|
||||
<Preview>🎉 Welcome to Sprint Padawan! 🎉</Preview>
|
||||
{/* <Tailwind> */}
|
||||
<Body className="bg-white my-auto mx-auto font-sans">
|
||||
<Container className="border border-solid border-[#eaeaea] rounded my-[40px] mx-auto p-[20px] w-[465px]">
|
||||
<Section className="mt-[32px]">
|
||||
<Body>
|
||||
<Container>
|
||||
<Section>
|
||||
<Img
|
||||
src={`${baseUrl}/logo.webp`}
|
||||
width="40"
|
||||
height="37"
|
||||
alt={`Sprint Padawan Logo`}
|
||||
className="my-0 mx-auto"
|
||||
/>
|
||||
</Section>
|
||||
<Heading className="text-black text-[24px] font-normal text-center p-0 my-[30px] mx-0">
|
||||
<Heading>
|
||||
🎉 Welcome to Sprint Padawan, <strong>{name}</strong>! 🎉
|
||||
</Heading>
|
||||
<Text className="text-black text-[14px] leading-[24px]">
|
||||
Hello {name},
|
||||
</Text>
|
||||
<Text>Hello {name},</Text>
|
||||
<Text>Thank you for signing up for Sprint Padawan!</Text>
|
||||
<Text>
|
||||
If at any point you encounter issues, please let me know at
|
||||
support@sprintpadawan.dev.
|
||||
</Text>
|
||||
<Hr className="border border-solid border-[#eaeaea] my-[26px] mx-0 w-full" />
|
||||
<Text>— The Sprint Padawan team</Text>
|
||||
<Hr />
|
||||
<Text>— Atridad Lahiji</Text>
|
||||
</Container>
|
||||
</Body>
|
||||
{/* </Tailwind> */}
|
||||
</Html>
|
||||
);
|
||||
|
|
|
@ -17,6 +17,7 @@ export const config = {
|
|||
export default async function handler(req: NextRequest) {
|
||||
try {
|
||||
const eventBody = (await req.json()) as WebhookEventBody;
|
||||
console.log(eventBody);
|
||||
const { data, type } = WebhookEventBodySchema.parse(eventBody);
|
||||
let success = false;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue