diff --git a/emails/user-registration-email-template.tsx b/emails/user-registration-email-template.tsx index 7ce8e3f..fbe6b0b 100644 --- a/emails/user-registration-email-template.tsx +++ b/emails/user-registration-email-template.tsx @@ -1,95 +1,91 @@ import { tedxsjecAssetsPrefix } from "@/lib/utils"; import { - Body, - Button, - Container, - Head, - Heading, - Hr, - Html, - Img, - Preview, - Section, - Text, + Body, + Button, + Container, + Head, + Heading, + Hr, + Html, + Img, + Preview, + Section, + Text, } from "@react-email/components"; import { Tailwind } from "@react-email/tailwind"; interface TedxRegistrationEmailProps { - name?: string; - registrationLink: string; + name?: string; + registrationLink: string; } -export const TedxRegistrationEmail = ({ - name, - registrationLink, -}: TedxRegistrationEmailProps) => { - const previewText = `TEDxSJEC 2024 Registration Successful!`; +export const TedxRegistrationEmail = ({ name, registrationLink }: TedxRegistrationEmailProps) => { + const previewText = `TEDxSJEC 2024 Registration Successful!`; - return ( - - - {previewText} - - - - {/* Logo Section */} -
- TEDxSJEC Logo -
- {/* Heading Section */} -
- - TEDxSJEC 2024 Registration Confirmed! - -
- - Dear {name ?? "Participant"}, - - - We are excited to confirm your registration for TEDxSJEC Talk.{" "} -
- You are all set to join us for an inspiring day filled with ideas - worth sharing. Please bring this email on the event day for a - smooth entry process. -
- {/* QR Code Section */} -
- - Below is your unique QR code for registration. Kindly keep it - accessible on event day for quick check-in: - - QR Code -
- - We look forward to seeing you at TEDxSJEC!
-
-
- - Thanks & Regards,
TEDxSJEC Team
- For any queries, feel free to contact us at: tedxsjec@sjec.ac.in -
-
- -  |  - -  |  - -
-
- -
- - ); + return ( + + + {previewText} + + + + {/* Logo Section */} +
+ TEDxSJEC Logo +
+ {/* Heading Section */} +
+ + TEDxSJEC 2024 Registration Confirmed! + +
+ + Dear {name ?? "Participant"}, + + + We are excited to confirm your registration for TEDxSJEC 2024.
+ You are all set to join us for an inspiring day filled with ideas worth sharing. + Please bring this email on the event day for a smooth entry process. +
+ {/* QR Code Section */} +
+ + Below is your unique QR code for registration. Kindly keep it accessible on + event day for quick check-in: + + QR Code +
+ + We look forward to seeing you at TEDxSJEC!
+
+
+ + Thanks & Regards,
TEDxSJEC Team
+ For any queries, feel free to contact us at:{" "} + + support.tedx@sjec.ac.in + +
+
+ +  |  + +  |  + +
+
+ +
+ + ); }; export default TedxRegistrationEmail;