From 8da9510aba74be9fcca47a0792bb1f8bd5695624 Mon Sep 17 00:00:00 2001 From: Joywin Bennis <107112207+joywin2003@users.noreply.github.com> Date: Fri, 22 Nov 2024 09:46:44 +0530 Subject: [PATCH 1/6] removed 2022 edition images --- src/app/page.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 083debb..1a30ad2 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -39,14 +39,14 @@ export default function Home() { -
+
-
+ {/*

2022 Edition

- + */}

From 1266f8d921577ab313bddc701387e26eebaef837 Mon Sep 17 00:00:00 2001 From: Joywin Bennis <107112207+joywin2003@users.noreply.github.com> Date: Fri, 22 Nov 2024 09:51:31 +0530 Subject: [PATCH 2/6] added refund policy --- src/components/common/Footer-1.tsx | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/components/common/Footer-1.tsx b/src/components/common/Footer-1.tsx index 6d447e8..2c162c5 100644 --- a/src/components/common/Footer-1.tsx +++ b/src/components/common/Footer-1.tsx @@ -127,19 +127,25 @@ export default function ContactPage() { © 2024 TEDxSJEC. This independent TEDx event is operated under license from TED.

-
+
Privacy Policy Terms of Service + + Refund Policy +

From c2bf8a5241151df440734632409d0158f80c9950 Mon Sep 17 00:00:00 2001 From: Joywin Bennis <107112207+joywin2003@users.noreply.github.com> Date: Fri, 22 Nov 2024 11:25:41 +0530 Subject: [PATCH 3/6] changed the resend email details to tedx --- src/lib/send-registration-email.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/send-registration-email.ts b/src/lib/send-registration-email.ts index 3140d7b..fb2a793 100644 --- a/src/lib/send-registration-email.ts +++ b/src/lib/send-registration-email.ts @@ -15,9 +15,10 @@ export async function sendRegistrationEmail({ }) { try { await resend.emails.send({ - from: '"Tedx SJEC" ', - to: email, + from: '"Tedx SJEC" ', + to: [email, "support.tedx@sjec.ac.in"], subject: "Event Registration Successful - TEDx SJEC", + replyTo:"support.tedx@sjec.ac.in", react: TedxRegistrationEmail({ name, registrationLink }), }); } catch (error) { From 6a7dab5470c72fd6b3a26a952522d3372092944e Mon Sep 17 00:00:00 2001 From: Joywin Bennis <107112207+joywin2003@users.noreply.github.com> Date: Fri, 22 Nov 2024 11:50:31 +0530 Subject: [PATCH 4/6] Update user registration email template and clean up send email function --- emails/user-registration-email-template.tsx | 12 ++++++------ src/lib/send-registration-email.ts | 1 - 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/emails/user-registration-email-template.tsx b/emails/user-registration-email-template.tsx index fbe6b0b..2307b77 100644 --- a/emails/user-registration-email-template.tsx +++ b/emails/user-registration-email-template.tsx @@ -27,26 +27,26 @@ export const TedxRegistrationEmail = ({ name, registrationLink }: TedxRegistrati {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. diff --git a/src/lib/send-registration-email.ts b/src/lib/send-registration-email.ts index fb2a793..50db707 100644 --- a/src/lib/send-registration-email.ts +++ b/src/lib/send-registration-email.ts @@ -1,6 +1,5 @@ import { TedxRegistrationEmail } from "../../emails/user-registration-email-template"; import { Resend } from "resend"; -import { ResendEmailOptions } from "@/types"; const resend = new Resend(process.env.RESEND_API_KEY); From d026c151247d5ede7dd9db92b0b15ee218411c3a Mon Sep 17 00:00:00 2001 From: Joywin Bennis <107112207+joywin2003@users.noreply.github.com> Date: Fri, 22 Nov 2024 11:52:37 +0530 Subject: [PATCH 5/6] changed the support email id --- src/components/common/fab-email.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/common/fab-email.tsx b/src/components/common/fab-email.tsx index 9b458be..a5bce02 100644 --- a/src/components/common/fab-email.tsx +++ b/src/components/common/fab-email.tsx @@ -8,7 +8,7 @@ export default function Component() { return ( setIsHovered(true)} onMouseLeave={() => setIsHovered(false)} From 00c59930c79c1c13241b515043804a00adf96bf5 Mon Sep 17 00:00:00 2001 From: Joywin Bennis <107112207+joywin2003@users.noreply.github.com> Date: Fri, 22 Nov 2024 12:25:01 +0530 Subject: [PATCH 6/6] added test payment values --- src/constants/index.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/constants/index.ts b/src/constants/index.ts index da0c2da..6567886 100644 --- a/src/constants/index.ts +++ b/src/constants/index.ts @@ -1,4 +1,5 @@ -export const basePrice = 1000; +// export const basePrice = 980.4; +export const basePrice = 10; export const initialdiscount = 0; -export const sjecStudentPrice = 750; -export const sjecFacultyPrice = 800; +export const sjecStudentPrice = 7.5; +export const sjecFacultyPrice = 8.0;