-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from TEDx-SJEC/deploy/test
Deploy/test
- Loading branch information
Showing
6 changed files
with
27 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ export default function Component() { | |
|
||
return ( | ||
<Link | ||
href="mailto:[email protected]" | ||
href="mailto:[email protected]" | ||
className="fixed bottom-6 right-6 flex items-center justify-center bg-[#e62b1e] text-white rounded-full shadow-lg transition-all duration-500 ease-in-out hover:shadow-xl overflow-hidden" | ||
onMouseEnter={() => setIsHovered(true)} | ||
onMouseLeave={() => setIsHovered(false)} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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); | ||
|
||
|
@@ -15,9 +14,10 @@ export async function sendRegistrationEmail({ | |
}) { | ||
try { | ||
await resend.emails.send({ | ||
from: '"Tedx SJEC" <[email protected]>', | ||
to: email, | ||
from: '"Tedx SJEC" <[email protected]>', | ||
to: [email, "[email protected]"], | ||
subject: "Event Registration Successful - TEDx SJEC", | ||
replyTo:"[email protected]", | ||
react: TedxRegistrationEmail({ name, registrationLink }), | ||
}); | ||
} catch (error) { | ||
|