Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Refactor email template #50

Merged
merged 1 commit into from
Apr 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 14 additions & 12 deletions src/helper/UserRegistrationEmail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,23 +59,27 @@ export const UserRegistrationEmail = async ({
{events.map((event) => (
<li key={event}>{event}</li>
))}
<br />
<br />
We look forward to seeing you there!
</Text>
<Img
className="mx-auto flex items-center justify-center py-4"
src={`https://api.qrserver.com/v1/create-qr-code/?size=200x200&data=${registrationLink}`}
alt={name}
/>
<Section className="text-center mt-[32px] mb-[32px]">
<Button
className="bg-[#000000] rounded text-white text-[12px] font-semibold no-underline text-center px-5 py-3"
className="bg-[#EB1C2C] rounded text-white text-[12px] font-semibold no-underline text-center px-5 py-3"
href={`${tiaraAssetsPrefix}/rulebook.pdf`}
>
Download Rulebook
</Button>
</Section>
<Text className="text-center">
Please find below the QR code for your registration and make sure
to keep the it handy for the event day.
</Text>
<Img
className="mx-auto flex items-center justify-center py-4"
src={`https://api.qrserver.com/v1/create-qr-code/?size=200x200&data=${registrationLink}`}
alt={name}
/>
<Text className="text-black text-[14px] leading-[24px]">
We look forward to seeing you at the event. <br />
</Text>
<Hr className="border border-solid border-[#eaeaea] my-[26px] mx-0 w-full" />
<Text className="text-[#666666] text-[12px] leading-[24px]">
Thanks & Regards, <br /> Team Tiara <br />
Expand All @@ -87,9 +91,7 @@ export const UserRegistrationEmail = async ({
Privacy Policy
</Button>
&nbsp;|&nbsp;
<Button href="https://tiarasjec.in/refund">
Refund Policy
</Button>
<Button href="https://tiarasjec.in/refund">Refund Policy</Button>
&nbsp;|&nbsp;
<Button href="https://tiarasjec.in/terms">
Terms and Conditions
Expand Down
Loading