diff --git a/Client/src/Templates/PasswordReset.jsx b/Server/templates/passwordReset.mjml similarity index 83% rename from Client/src/Templates/PasswordReset.jsx rename to Server/templates/passwordReset.mjml index 5c2e0802f..7043401f3 100644 --- a/Client/src/Templates/PasswordReset.jsx +++ b/Server/templates/passwordReset.mjml @@ -1,8 +1,4 @@ -import React from "react"; - -const PasswordReset = () => { - const { html, errors } = render( - + { - - ); - - if (errors.length > 0) { - console.error("MJML Errors:", errors); - return null; // Handle errors gracefully - } - - return
; -}; - -export default PasswordReset; + \ No newline at end of file diff --git a/Client/src/Templates/ServerIsDown.jsx b/Server/templates/serverIsDown.mjml similarity index 87% rename from Client/src/Templates/ServerIsDown.jsx rename to Server/templates/serverIsDown.mjml index 43068e890..50d95803c 100644 --- a/Client/src/Templates/ServerIsDown.jsx +++ b/Server/templates/serverIsDown.mjml @@ -1,8 +1,4 @@ -import React from "react"; - -const ServerIsDown = () => { - const { html, errors } = render( - + { - - ); - - if (errors.length > 0) { - console.error("MJML Errors:", errors); - return null; // Handle errors gracefully - } - - return
; -}; - -export default ServerIsDown; + \ No newline at end of file diff --git a/Client/src/Templates/ServerIsUp.jsx b/Server/templates/serverIsUp.mjml similarity index 87% rename from Client/src/Templates/ServerIsUp.jsx rename to Server/templates/serverIsUp.mjml index 3dd6c6050..9a774216a 100644 --- a/Client/src/Templates/ServerIsUp.jsx +++ b/Server/templates/serverIsUp.mjml @@ -1,9 +1,5 @@ -import React from "react"; - -const ServerIsUp = () => { - const { html, errors } = render( - - + + { - - ); - - if (errors.length > 0) { - console.error("MJML Errors:", errors); - return null; // Handle errors gracefully - } - - return
; -}; - -export default ServerIsUp; + \ No newline at end of file diff --git a/Client/src/Templates/WelcomeEmail.jsx b/Server/templates/welcomeEmail.mjml similarity index 83% rename from Client/src/Templates/WelcomeEmail.jsx rename to Server/templates/welcomeEmail.mjml index fb24f2639..62e5333d8 100644 --- a/Client/src/Templates/WelcomeEmail.jsx +++ b/Server/templates/welcomeEmail.mjml @@ -1,8 +1,4 @@ -import React from "react"; - -const WelcomeEmail = () => { - const { html, errors } = render( - + { - - ); - - if (errors.length > 0) { - console.error("MJML Errors:", errors); - return null; // Handle errors gracefully - } - - return
; -}; - -export default WelcomeEmail; + \ No newline at end of file