Okay Wish I could say I know exactly. Will do better next time promise lol
This commit is contained in:
100
api/src/templates/email/profile-link.html
Normal file
100
api/src/templates/email/profile-link.html
Normal file
@@ -0,0 +1,100 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Your Profile — {{ORGANIZATION_NAME}}</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||
line-height: 1.6;
|
||||
color: #333;
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
}
|
||||
.container {
|
||||
background-color: #f9f9f9;
|
||||
border-radius: 8px;
|
||||
padding: 30px;
|
||||
border: 1px solid #e0e0e0;
|
||||
}
|
||||
.header {
|
||||
text-align: center;
|
||||
margin-bottom: 30px;
|
||||
border-bottom: 2px solid #9d4edd;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
.logo {
|
||||
color: #9d4edd;
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.content {
|
||||
background-color: white;
|
||||
padding: 25px;
|
||||
border-radius: 6px;
|
||||
margin-bottom: 20px;
|
||||
border-left: 4px solid #9d4edd;
|
||||
}
|
||||
.btn {
|
||||
display: inline-block;
|
||||
padding: 14px 32px;
|
||||
border-radius: 6px;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
background: linear-gradient(135deg, #9d4edd, #7b2cbf);
|
||||
color: white;
|
||||
}
|
||||
.btn-container {
|
||||
text-align: center;
|
||||
margin: 24px 0;
|
||||
}
|
||||
.note {
|
||||
background-color: #f8f4fc;
|
||||
padding: 12px 16px;
|
||||
border-radius: 6px;
|
||||
font-size: 13px;
|
||||
color: #6c757d;
|
||||
margin-top: 16px;
|
||||
}
|
||||
.footer {
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
color: #6c757d;
|
||||
margin-top: 30px;
|
||||
padding-top: 20px;
|
||||
border-top: 1px solid #e9ecef;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<div class="logo">{{ORGANIZATION_NAME}}</div>
|
||||
<p style="margin: 10px 0 0 0; color: #6c757d;">Your Personal Profile</p>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>Hi {{RECIPIENT_NAME}},</p>
|
||||
<p>You can view and update your contact information, manage your notification preferences, and see your engagement history using the link below.</p>
|
||||
|
||||
<div class="btn-container">
|
||||
<a href="{{PROFILE_URL}}" class="btn">View My Profile</a>
|
||||
</div>
|
||||
|
||||
{{#if EXTRA_NOTES}}<div class="note" style="margin-bottom: 12px;">
|
||||
{{EXTRA_NOTES}}
|
||||
</div>{{/if}}
|
||||
|
||||
<div class="note">
|
||||
This link is personal to you. Please do not share it with others. If you need a new link, contact the organization directly.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p>This email was sent by <strong>{{ORGANIZATION_NAME}}</strong></p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
13
api/src/templates/email/profile-link.txt
Normal file
13
api/src/templates/email/profile-link.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
Hi {{RECIPIENT_NAME}},
|
||||
|
||||
You can view and update your contact information using the link below:
|
||||
|
||||
{{PROFILE_URL}}
|
||||
|
||||
{{#if EXTRA_NOTES}}{{EXTRA_NOTES}}
|
||||
|
||||
{{/if}}This link is personal to you. Please do not share it with others.
|
||||
If you need a new link, contact the organization directly.
|
||||
|
||||
—
|
||||
{{ORGANIZATION_NAME}}
|
||||
155
api/src/templates/email/social-digest.html
Normal file
155
api/src/templates/email/social-digest.html
Normal file
@@ -0,0 +1,155 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Social Digest — {{ORGANIZATION_NAME}}</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||
line-height: 1.6;
|
||||
color: #333;
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
}
|
||||
.container {
|
||||
background-color: #f9f9f9;
|
||||
border-radius: 8px;
|
||||
padding: 30px;
|
||||
border: 1px solid #e0e0e0;
|
||||
}
|
||||
.header {
|
||||
text-align: center;
|
||||
margin-bottom: 30px;
|
||||
border-bottom: 2px solid #2563eb;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
.logo {
|
||||
color: #2563eb;
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.content {
|
||||
background-color: white;
|
||||
padding: 25px;
|
||||
border-radius: 6px;
|
||||
margin-bottom: 20px;
|
||||
border-left: 4px solid #2563eb;
|
||||
}
|
||||
.stat-row {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
margin: 20px 0;
|
||||
text-align: center;
|
||||
}
|
||||
.stat-box {
|
||||
display: inline-block;
|
||||
padding: 10px 20px;
|
||||
background: #eff6ff;
|
||||
border-radius: 8px;
|
||||
margin: 4px;
|
||||
min-width: 100px;
|
||||
}
|
||||
.stat-number {
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
color: #2563eb;
|
||||
}
|
||||
.stat-label {
|
||||
font-size: 12px;
|
||||
color: #6c757d;
|
||||
}
|
||||
.activity-item {
|
||||
padding: 10px 0;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
.activity-item:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
.activity-icon {
|
||||
display: inline-block;
|
||||
width: 24px;
|
||||
text-align: center;
|
||||
}
|
||||
.activity-name {
|
||||
font-weight: 600;
|
||||
color: #1e40af;
|
||||
}
|
||||
.activity-desc {
|
||||
color: #555;
|
||||
font-size: 14px;
|
||||
}
|
||||
.activity-time {
|
||||
color: #999;
|
||||
font-size: 12px;
|
||||
}
|
||||
.section-title {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
color: #1e40af;
|
||||
margin: 20px 0 10px 0;
|
||||
padding-bottom: 6px;
|
||||
border-bottom: 1px solid #e0e0e0;
|
||||
}
|
||||
.cta-button {
|
||||
display: inline-block;
|
||||
background-color: #2563eb;
|
||||
color: #ffffff;
|
||||
padding: 12px 28px;
|
||||
text-decoration: none;
|
||||
border-radius: 6px;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
margin-top: 16px;
|
||||
}
|
||||
.footer {
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
color: #6c757d;
|
||||
margin-top: 30px;
|
||||
padding-top: 20px;
|
||||
border-top: 1px solid #e9ecef;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<div class="logo">{{ORGANIZATION_NAME}}</div>
|
||||
<p style="margin: 10px 0 0 0; color: #6c757d;">Your {{DIGEST_PERIOD}} Social Digest</p>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>Hi {{USER_NAME}},</p>
|
||||
<p>Here's what's been happening with your connections:</p>
|
||||
|
||||
<div style="text-align: center;">
|
||||
<div class="stat-box">
|
||||
<div class="stat-number">{{UNREAD_NOTIFICATIONS}}</div>
|
||||
<div class="stat-label">Unread Notifications</div>
|
||||
</div>
|
||||
<div class="stat-box">
|
||||
<div class="stat-number">{{PENDING_REQUESTS}}</div>
|
||||
<div class="stat-label">Pending Requests</div>
|
||||
</div>
|
||||
<div class="stat-box">
|
||||
<div class="stat-number">{{FRIEND_ACTIVITY_COUNT}}</div>
|
||||
<div class="stat-label">Friend Activities</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{FRIEND_ACTIVITY_SECTION}}
|
||||
|
||||
{{PENDING_REQUESTS_SECTION}}
|
||||
|
||||
<div style="text-align: center; margin-top: 20px;">
|
||||
<a href="{{FEED_URL}}" class="cta-button">View Your Feed</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p>You're receiving this {{DIGEST_PERIOD}} digest because you opted in. To change frequency or unsubscribe, visit your <a href="{{SETTINGS_URL}}">notification settings</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
19
api/src/templates/email/social-digest.txt
Normal file
19
api/src/templates/email/social-digest.txt
Normal file
@@ -0,0 +1,19 @@
|
||||
{{ORGANIZATION_NAME}} — Your {{DIGEST_PERIOD}} Social Digest
|
||||
|
||||
Hi {{USER_NAME}},
|
||||
|
||||
Here's what's been happening with your connections:
|
||||
|
||||
- Unread notifications: {{UNREAD_NOTIFICATIONS}}
|
||||
- Pending friend requests: {{PENDING_REQUESTS}}
|
||||
- Friend activities: {{FRIEND_ACTIVITY_COUNT}}
|
||||
|
||||
{{FRIEND_ACTIVITY_TEXT}}
|
||||
|
||||
{{PENDING_REQUESTS_TEXT}}
|
||||
|
||||
View your feed: {{FEED_URL}}
|
||||
|
||||
---
|
||||
You're receiving this {{DIGEST_PERIOD}} digest because you opted in.
|
||||
To change frequency or unsubscribe, visit: {{SETTINGS_URL}}
|
||||
107
api/src/templates/email/volunteer-reengagement.html
Normal file
107
api/src/templates/email/volunteer-reengagement.html
Normal file
@@ -0,0 +1,107 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>We Miss You — {{ORGANIZATION_NAME}}</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||
line-height: 1.6;
|
||||
color: #333;
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
}
|
||||
.container {
|
||||
background-color: #f9f9f9;
|
||||
border-radius: 8px;
|
||||
padding: 30px;
|
||||
border: 1px solid #e0e0e0;
|
||||
}
|
||||
.header {
|
||||
text-align: center;
|
||||
margin-bottom: 30px;
|
||||
border-bottom: 2px solid #2563eb;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
.logo {
|
||||
color: #2563eb;
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.content {
|
||||
background-color: white;
|
||||
padding: 25px;
|
||||
border-radius: 6px;
|
||||
margin-bottom: 20px;
|
||||
border-left: 4px solid #2563eb;
|
||||
}
|
||||
.info-section {
|
||||
background-color: #eff6ff;
|
||||
padding: 15px;
|
||||
border-radius: 4px;
|
||||
margin: 16px 0;
|
||||
border: 1px solid #bfdbfe;
|
||||
}
|
||||
.info-item {
|
||||
margin: 6px 0;
|
||||
}
|
||||
.info-label {
|
||||
font-weight: bold;
|
||||
color: #1e40af;
|
||||
}
|
||||
.cta-button {
|
||||
display: inline-block;
|
||||
background-color: #2563eb;
|
||||
color: #ffffff;
|
||||
padding: 12px 28px;
|
||||
text-decoration: none;
|
||||
border-radius: 6px;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
margin-top: 16px;
|
||||
}
|
||||
.footer {
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
color: #6c757d;
|
||||
margin-top: 30px;
|
||||
padding-top: 20px;
|
||||
border-top: 1px solid #e9ecef;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<div class="logo">{{ORGANIZATION_NAME}}</div>
|
||||
<p style="margin: 10px 0 0 0; color: #6c757d;">We'd Love to See You Again</p>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>Hi {{VOLUNTEER_NAME}},</p>
|
||||
|
||||
<p>It's been a while since we've seen you, and we wanted to reach out. Your contributions have been valuable, and we'd love to have you back.</p>
|
||||
|
||||
<div class="info-section">
|
||||
<div class="info-item">
|
||||
<span class="info-label">Your last activity:</span> {{LAST_ACTIVITY_TYPE}}
|
||||
</div>
|
||||
<div class="info-item">
|
||||
<span class="info-label">Date:</span> {{LAST_ACTIVITY_DATE}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>There are new opportunities to get involved. Check out the upcoming shifts and see if anything works for your schedule:</p>
|
||||
|
||||
<div style="text-align: center;">
|
||||
<a href="{{SIGNUP_URL}}" class="cta-button">View Upcoming Shifts</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p>You're receiving this because you previously volunteered with <strong>{{ORGANIZATION_NAME}}</strong>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
13
api/src/templates/email/volunteer-reengagement.txt
Normal file
13
api/src/templates/email/volunteer-reengagement.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
{{ORGANIZATION_NAME}} — We Miss You
|
||||
|
||||
Hi {{VOLUNTEER_NAME}},
|
||||
|
||||
It's been a while since we've seen you, and we wanted to reach out. Your contributions have been valuable, and we'd love to have you back.
|
||||
|
||||
Your last activity: {{LAST_ACTIVITY_TYPE}}
|
||||
Date: {{LAST_ACTIVITY_DATE}}
|
||||
|
||||
There are new opportunities to get involved. Check out the upcoming shifts:
|
||||
{{SIGNUP_URL}}
|
||||
|
||||
You're receiving this because you previously volunteered with {{ORGANIZATION_NAME}}.
|
||||
113
api/src/templates/email/volunteer-shift-thank-you.html
Normal file
113
api/src/templates/email/volunteer-shift-thank-you.html
Normal file
@@ -0,0 +1,113 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Thank You for Volunteering — {{ORGANIZATION_NAME}}</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||
line-height: 1.6;
|
||||
color: #333;
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
}
|
||||
.container {
|
||||
background-color: #f9f9f9;
|
||||
border-radius: 8px;
|
||||
padding: 30px;
|
||||
border: 1px solid #e0e0e0;
|
||||
}
|
||||
.header {
|
||||
text-align: center;
|
||||
margin-bottom: 30px;
|
||||
border-bottom: 2px solid #2563eb;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
.logo {
|
||||
color: #2563eb;
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.content {
|
||||
background-color: white;
|
||||
padding: 25px;
|
||||
border-radius: 6px;
|
||||
margin-bottom: 20px;
|
||||
border-left: 4px solid #2563eb;
|
||||
}
|
||||
.info-section {
|
||||
background-color: #eff6ff;
|
||||
padding: 15px;
|
||||
border-radius: 4px;
|
||||
margin: 16px 0;
|
||||
border: 1px solid #bfdbfe;
|
||||
}
|
||||
.info-item {
|
||||
margin: 6px 0;
|
||||
}
|
||||
.info-label {
|
||||
font-weight: bold;
|
||||
color: #1e40af;
|
||||
}
|
||||
.cta-button {
|
||||
display: inline-block;
|
||||
background-color: #2563eb;
|
||||
color: #ffffff;
|
||||
padding: 12px 28px;
|
||||
text-decoration: none;
|
||||
border-radius: 6px;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
margin-top: 16px;
|
||||
}
|
||||
.footer {
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
color: #6c757d;
|
||||
margin-top: 30px;
|
||||
padding-top: 20px;
|
||||
border-top: 1px solid #e9ecef;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<div class="logo">{{ORGANIZATION_NAME}}</div>
|
||||
<p style="margin: 10px 0 0 0; color: #6c757d;">Thank You for Volunteering</p>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>Hi {{VOLUNTEER_NAME}},</p>
|
||||
|
||||
<p>Thank you for volunteering at <strong>{{SHIFT_TITLE}}</strong>! Your time and effort make a real difference in our community.</p>
|
||||
|
||||
<div class="info-section">
|
||||
<div class="info-item">
|
||||
<span class="info-label">Shift:</span> {{SHIFT_TITLE}}
|
||||
</div>
|
||||
<div class="info-item">
|
||||
<span class="info-label">Date:</span> {{SHIFT_DATE}}
|
||||
</div>
|
||||
<div class="info-item">
|
||||
<span class="info-label">Time:</span> {{SHIFT_TIME}}
|
||||
</div>
|
||||
{{#if SHIFT_LOCATION}}<div class="info-item">
|
||||
<span class="info-label">Location:</span> {{SHIFT_LOCATION}}
|
||||
</div>{{/if}}
|
||||
</div>
|
||||
|
||||
<p>We hope you had a great experience. If you'd like to sign up for more shifts, check out what's coming up:</p>
|
||||
|
||||
<div style="text-align: center;">
|
||||
<a href="{{SIGNUP_URL}}" class="cta-button">Browse Upcoming Shifts</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p>Thank you for volunteering with <strong>{{ORGANIZATION_NAME}}</strong></p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
15
api/src/templates/email/volunteer-shift-thank-you.txt
Normal file
15
api/src/templates/email/volunteer-shift-thank-you.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
{{ORGANIZATION_NAME}} — Thank You for Volunteering
|
||||
|
||||
Hi {{VOLUNTEER_NAME}},
|
||||
|
||||
Thank you for volunteering at {{SHIFT_TITLE}}! Your time and effort make a real difference in our community.
|
||||
|
||||
Shift: {{SHIFT_TITLE}}
|
||||
Date: {{SHIFT_DATE}}
|
||||
Time: {{SHIFT_TIME}}
|
||||
{{#if SHIFT_LOCATION}}Location: {{SHIFT_LOCATION}}{{/if}}
|
||||
|
||||
We hope you had a great experience. Sign up for more shifts here:
|
||||
{{SIGNUP_URL}}
|
||||
|
||||
Thank you for volunteering with {{ORGANIZATION_NAME}}!
|
||||
Reference in New Issue
Block a user