156 lines
4.5 KiB
HTML
156 lines
4.5 KiB
HTML
<!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>
|