diff --git a/.gitignore b/.gitignore index ac033e4..ab34fd4 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ server/dist server/data /.idea server/test*.[tj]s +server/playground.ts diff --git a/server/src/constants/common.ts b/server/src/constants/common.ts index 15703ef..753c22c 100644 --- a/server/src/constants/common.ts +++ b/server/src/constants/common.ts @@ -1,3 +1,4 @@ export const EMAIL_ADDRESSES = { - SUPPORT: "support@animechan.io", + PERSONAL: "rocktim@animechan.io", + SUPPORT: '"Animechan" ', }; diff --git a/server/src/constants/email.ts b/server/src/constants/email.ts index 3a99f4f..efbf9ae 100644 --- a/server/src/constants/email.ts +++ b/server/src/constants/email.ts @@ -5,72 +5,89 @@ export const WELCOME_ACTIVATE_EMAIL = (apiKey: string) => ` - - + + Thank You for Supporting Animechan! +
- -

Thank You for Supporting Animechan!

-

We're incredibly grateful for your sponsorship of the Animechan API project.
Your contribution is invaluable and helps us continue to improve our service.

-

Your API Key

+ + +

Welcome to Animechan Premium 🎉

+

+ Thank you for joining as a premium member of the Animechan API + project.
Your support helps keep Animechan alive and + delivering a great experience for all. +

+ +

Your Exclusive API Key:

${apiKey}

-

You now also have access to our private Discord server for premium members.

- Join Our Discord -

Getting Started

-

Ready to dive in? Check out our API documentation to make authenticated requests.
If you have any questions or need assistance, don't hesitate to reach out to us at support@animechan.io or our private discord server.

-

Thank you again for your support!

+ +

+ Check out our documentation + on how to make authenticated requests.
+ For any questions or assistance, please reach out to us at + support@animechan.io or our + discord server.

+ Thank you once again for your support.
+ Animechan Team. + www.animechan.io +

diff --git a/server/src/routes/bmac.ts b/server/src/routes/bmac.ts index a369950..751942f 100644 --- a/server/src/routes/bmac.ts +++ b/server/src/routes/bmac.ts @@ -84,7 +84,7 @@ router.post("/bmac", async (req, res) => { if (isProduction) { await sendEmail({ to: supporterEmail, - subject: "Thank you for your support | Animechan.io", + subject: "Welcome to Animechan Premium | Animechan.io", content: WELCOME_ACTIVATE_EMAIL(apiKey.key), }); console.log("Created user and API key:", user, apiKey);