-
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.
- Loading branch information
1 parent
249272f
commit e4b67a1
Showing
2 changed files
with
119 additions
and
116 deletions.
There are no files selected for viewing
141 changes: 73 additions & 68 deletions
141
backend/src/services/email/email-templates/forgotPassword.html
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,78 +1,83 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Forgot Password (Are We There Yet?)</title> | ||
<style> | ||
body { | ||
font-family: Arial, sans-serif; | ||
background-color: #f4f4f4; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
} | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Forgot Password (Are We There Yet?)</title> | ||
<style> | ||
body { | ||
font-family: Arial, sans-serif; | ||
background-color: #f4f4f4; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
} | ||
.container { | ||
background-color: #fff; | ||
padding: 20px; | ||
border-radius: 8px; | ||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | ||
max-width: 600px; | ||
width: 100%; | ||
} | ||
|
||
.container { | ||
background-color: #fff; | ||
padding: 20px; | ||
border-radius: 8px; | ||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | ||
max-width: 600px; | ||
width: 100%; | ||
} | ||
.container h2 { | ||
margin-bottom: 20px; | ||
color: #333; | ||
} | ||
|
||
.container h2 { | ||
margin-bottom: 20px; | ||
color: #333; | ||
} | ||
.container p { | ||
font-size: 16px; | ||
line-height: 1.5; | ||
color: #555; | ||
} | ||
|
||
.container p { | ||
font-size: 16px; | ||
line-height: 1.5; | ||
color: #555; | ||
} | ||
.container .otp { | ||
font-size: 24px; | ||
font-weight: bold; | ||
color: #007bff; | ||
margin: 20px 0; | ||
} | ||
|
||
.container .otp { | ||
font-size: 24px; | ||
font-weight: bold; | ||
color: #007bff; | ||
margin: 20px 0; | ||
} | ||
.container .footer { | ||
margin-top: 20px; | ||
font-size: 14px; | ||
color: #999; | ||
} | ||
|
||
.container .footer { | ||
margin-top: 20px; | ||
font-size: 14px; | ||
color: #999; | ||
} | ||
.container .link { | ||
display: block; | ||
margin-top: 20px; | ||
font-size: 16px; | ||
color: #007bff; | ||
text-decoration: none; | ||
} | ||
|
||
.container .link { | ||
display: block; | ||
margin-top: 20px; | ||
font-size: 16px; | ||
color: #007bff; | ||
text-decoration: none; | ||
} | ||
.container .link:hover { | ||
text-decoration: underline; | ||
} | ||
</style> | ||
</head> | ||
|
||
.container .link:hover { | ||
text-decoration: underline; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<div class="container"> | ||
<h2><a href="https://are-we-there-yet-mirror-1.onrender.com/" target="_blank" | ||
style="color: #007bff; text-decoration: none;">Are We There Yet</a> Forgot Password</h2> | ||
<p>We received a request to reset your password. Use the OTP below to reset your password:</p> | ||
<div class="otp">{{otp}}</div> | ||
<p>If you did not request a password reset, please ignore this email.</p> | ||
<div class="footer"> | ||
<p>Thank you for using our service.</p> | ||
<body> | ||
<div class="container"> | ||
<h2> | ||
<a | ||
href="https://are-we-there-yet-mirror-1.onrender.com/" | ||
target="_blank" | ||
style="color: #007bff; text-decoration: none" | ||
>Are We There Yet</a | ||
> | ||
Forgot Password | ||
</h2> | ||
<p>We received a request to reset your password. Use the OTP below to reset your password:</p> | ||
<div class="otp">{{otp}}</div> | ||
<p>If you did not request a password reset, please ignore this email.</p> | ||
<div class="footer"> | ||
<p>Thank you for using our service.</p> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
|
||
</html> | ||
</body> | ||
</html> |
94 changes: 46 additions & 48 deletions
94
backend/src/services/email/email-templates/notification.html
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,56 +1,54 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>[Are We There Yet] Notification</title> | ||
<style> | ||
body { | ||
font-family: Arial, sans-serif; | ||
background-color: #f4f4f4; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
} | ||
|
||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>[Are We There Yet] Notification</title> | ||
<style> | ||
body { | ||
font-family: Arial, sans-serif; | ||
background-color: #f4f4f4; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
} | ||
.container { | ||
background-color: #fff; | ||
padding: 20px; | ||
border-radius: 8px; | ||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | ||
max-width: 600px; | ||
width: 100%; | ||
} | ||
|
||
.container { | ||
background-color: #fff; | ||
padding: 20px; | ||
border-radius: 8px; | ||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | ||
max-width: 600px; | ||
width: 100%; | ||
} | ||
.container h2 { | ||
margin-bottom: 20px; | ||
color: #333; | ||
} | ||
|
||
.container h2 { | ||
margin-bottom: 20px; | ||
color: #333; | ||
} | ||
.container p { | ||
font-size: 16px; | ||
line-height: 1.5; | ||
color: #555; | ||
} | ||
|
||
.container p { | ||
font-size: 16px; | ||
line-height: 1.5; | ||
color: #555; | ||
} | ||
.container .footer { | ||
margin-top: 20px; | ||
font-size: 14px; | ||
color: #999; | ||
} | ||
</style> | ||
</head> | ||
|
||
.container .footer { | ||
margin-top: 20px; | ||
font-size: 14px; | ||
color: #999; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<div class="container"> | ||
<h2>{{title}}</h2> | ||
<p>{{message}}</p> | ||
<div class="footer"> | ||
<p>Thank you for using our service.</p> | ||
<body> | ||
<div class="container"> | ||
<h2>{{title}}</h2> | ||
<p>{{message}}</p> | ||
<div class="footer"> | ||
<p>Thank you for using our service.</p> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
|
||
</html> | ||
</body> | ||
</html> |