import { Body, Container, Head, Heading, Html, Link, Preview, Section, Text } from "@react-email/components";
type ContactMessageEmailProps = {
name: string;
email: string;
message: string;
siteUrl: string;
};
export default function ContactMessageEmail({ name, email, message, siteUrl }: ContactMessageEmailProps) {
return (
New contact messageSomeone sent a new message through your website.Name: {name}Email: {email}Message: {message}Open website
);
}
export function ContactConfirmationEmail({ name, siteUrl }: Pick) {
return (
Thanks for contacting DiyaaThanks for getting in touchHi {name}, your message was received. I will get back to you as soon as possible.Visit the website
);
}