Files
openclaw-backups/automations/openclaw-digest/templates/email-spark-safe.html

175 lines
9.5 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OpenClaw Daily Digest</title>
</head>
<body style="margin: 0; padding: 20px 10px; background-color: #1a1a2e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.6; color: #e4e4e4;">
<table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%" style="max-width: 680px; margin: 0 auto; background-color: #0f0f1a; border-radius: 16px; overflow: hidden;">
<!-- Header -->
<tr>
<td style="background: #ee5a24; padding: 48px 32px; text-align: center;">
<table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td style="text-align: center;">
<span style="font-size: 56px; display: block; margin-bottom: 12px;">🦀</span>
<h1 style="margin: 0 0 8px 0; color: #ffffff; font-size: 32px; font-weight: 800; letter-spacing: -0.5px;">OpenClaw Daily</h1>
<p style="color: rgba(255,255,255,0.9); font-size: 15px; margin: 0;">The best OpenClaw discussions, curated daily</p>
<table role="presentation" cellspacing="0" cellpadding="0" border="0" style="margin: 20px auto 0 auto;">
<tr>
<td style="background-color: rgba(255,255,255,0.2); padding: 10px 24px; border-radius: 30px; border: 1px solid rgba(255,255,255,0.3);">
<span style="font-size: 14px; font-weight: 600; color: #ffffff;">{{DATE}}</span>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<!-- Stats Bar -->
<tr>
<td style="background-color: #1a1a2e; padding: 28px 32px; border-bottom: 1px solid #2a2a3e;">
<table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td width="33%" style="text-align: center;">
<span style="font-size: 32px; font-weight: 800; color: #ff6b6b; line-height: 1;">{{REDDIT_COUNT}}</span>
<p style="font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 1px; margin: 6px 0 0 0;">Reddit</p>
</td>
<td width="33%" style="text-align: center;">
<span style="font-size: 32px; font-weight: 800; color: #ff6b6b; line-height: 1;">{{NEWS_COUNT}}</span>
<p style="font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 1px; margin: 6px 0 0 0;">News</p>
</td>
<td width="33%" style="text-align: center;">
<span style="font-size: 32px; font-weight: 800; color: #ff6b6b; line-height: 1;">{{TWITTER_COUNT}}</span>
<p style="font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 1px; margin: 6px 0 0 0;">X/Twitter</p>
</td>
</tr>
</table>
</td>
</tr>
<!-- Top Topics Banner -->
<tr>
<td style="padding: 20px 32px 0 32px;">
{{TOP_TOPICS}}
</td>
</tr>
<!-- Reddit Section -->
<tr>
<td style="padding: 40px 32px;">
<!-- Section Header -->
<table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%" style="margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid #2a2a3e;">
<tr>
<td width="40" style="padding-right: 12px;">
<table role="presentation" cellspacing="0" cellpadding="0" border="0">
<tr>
<td style="width: 40px; height: 40px; background-color: #ff4500; border-radius: 12px; text-align: center; vertical-align: middle;">
<span style="font-size: 20px;">🔥</span>
</td>
</tr>
</table>
</td>
<td>
<h2 style="font-size: 20px; font-weight: 700; color: #fff; margin: 0;">Reddit Highlights</h2>
</td>
</tr>
</table>
{{REDDIT_STORIES}}
</td>
</tr>
<!-- Divider -->
<tr>
<td style="padding: 0 32px;">
<table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%" style="height: 1px; background-color: #2a2a3e;">
<tr><td></td></tr>
</table>
</td>
</tr>
<!-- News Section -->
<tr>
<td style="padding: 40px 32px;">
<!-- Section Header -->
<table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%" style="margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid #2a2a3e;">
<tr>
<td width="40" style="padding-right: 12px;">
<table role="presentation" cellspacing="0" cellpadding="0" border="0">
<tr>
<td style="width: 40px; height: 40px; background-color: #ff6600; border-radius: 12px; text-align: center; vertical-align: middle;">
<span style="font-size: 20px;">🟧</span>
</td>
</tr>
</table>
</td>
<td>
<h2 style="font-size: 20px; font-weight: 700; color: #fff; margin: 0;">News & Hacker News</h2>
</td>
</tr>
</table>
{{NEWS_STORIES}}
</td>
</tr>
<!-- Divider -->
<tr>
<td style="padding: 0 32px;">
<table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%" style="height: 1px; background-color: #2a2a3e;">
<tr><td></td></tr>
</table>
</td>
</tr>
<!-- X Section -->
<tr>
<td style="padding: 40px 32px;">
<!-- Section Header -->
<table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%" style="margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid #2a2a3e;">
<tr>
<td width="40" style="padding-right: 12px;">
<table role="presentation" cellspacing="0" cellpadding="0" border="0">
<tr>
<td style="width: 40px; height: 40px; background-color: #1da1f2; border-radius: 12px; text-align: center; vertical-align: middle;">
<span style="font-size: 20px; color: #fff;">𝕏</span>
</td>
</tr>
</table>
</td>
<td>
<h2 style="font-size: 20px; font-weight: 700; color: #fff; margin: 0;">From X</h2>
</td>
</tr>
</table>
{{TWITTER_STORIES}}
</td>
</tr>
<!-- Footer -->
<tr>
<td style="background-color: #0a0a12; padding: 40px 32px; text-align: center; border-top: 1px solid #2a2a3e;">
<table role="presentation" cellspacing="0" cellpadding="0" border="0" style="margin: 0 auto 16px auto;">
<tr>
<td style="width: 64px; height: 64px; background-color: #ee5a24; border-radius: 50%; text-align: center; vertical-align: middle;">
<span style="font-size: 32px;">🦀</span>
</td>
</tr>
</table>
<p style="font-size: 18px; font-weight: 700; color: #fff; margin: 0 0 6px 0;">Curated daily for Anthony Martin</p>
<p style="font-size: 14px; color: #888; margin: 0 0 20px 0;">by Krilly the Crab</p>
<table role="presentation" cellspacing="0" cellpadding="0" border="0" style="margin: 20px auto 0 auto;">
<tr>
<td style="padding: 0 12px;"><a href="https://github.com/openclaw/openclaw" style="color: #74b9ff; text-decoration: none; font-size: 14px;">GitHub</a></td>
<td style="padding: 0 12px;"><a href="https://reddit.com/r/openclaw" style="color: #74b9ff; text-decoration: none; font-size: 14px;">Reddit</a></td>
<td style="padding: 0 12px;"><a href="https://docs.openclaw.ai" style="color: #74b9ff; text-decoration: none; font-size: 14px;">Docs</a></td>
</tr>
</table>
<p style="font-size: 12px; color: #555; margin-top: 20px;">{{GENERATED_AT}} UTC</p>
</td>
</tr>
</table>
</body>
</html>